All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
create_entity_llm_endpoints | POST /api/v1/entities/llmEndpoints | Post LLM endpoint entities |
delete_entity_llm_endpoints | DELETE /api/v1/entities/llmEndpoints/{id} | |
get_all_entities_llm_endpoints | GET /api/v1/entities/llmEndpoints | Get all LLM endpoint entities |
get_entity_llm_endpoints | GET /api/v1/entities/llmEndpoints/{id} | Get LLM endpoint entity |
patch_entity_llm_endpoints | PATCH /api/v1/entities/llmEndpoints/{id} | Patch LLM endpoint entity |
update_entity_llm_endpoints | PUT /api/v1/entities/llmEndpoints/{id} | PUT LLM endpoint entity |
JsonApiLlmEndpointOutDocument create_entity_llm_endpoints(json_api_llm_endpoint_in_document)
Post LLM endpoint entities
import time
import gooddata_api_client
from gooddata_api_client.api import llm_endpoints_api
from gooddata_api_client.model.json_api_llm_endpoint_in_document import JsonApiLlmEndpointInDocument
from gooddata_api_client.model.json_api_llm_endpoint_out_document import JsonApiLlmEndpointOutDocument
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = gooddata_api_client.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with gooddata_api_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = llm_endpoints_api.LLMEndpointsApi(api_client)
json_api_llm_endpoint_in_document = JsonApiLlmEndpointInDocument(
data=JsonApiLlmEndpointIn(
attributes=JsonApiLlmEndpointInAttributes(
base_url="base_url_example",
description="description_example",
llm_model="llm_model_example",
llm_organization="llm_organization_example",
provider="OPENAI",
title="title_example",
token="token_example",
workspace_ids=["demo","trial"],
),
id="id1",
type="llmEndpoint",
),
) # JsonApiLlmEndpointInDocument |
# example passing only required values which don't have defaults set
try:
# Post LLM endpoint entities
api_response = api_instance.create_entity_llm_endpoints(json_api_llm_endpoint_in_document)
pprint(api_response)
except gooddata_api_client.ApiException as e:
print("Exception when calling LLMEndpointsApi->create_entity_llm_endpoints: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
json_api_llm_endpoint_in_document | JsonApiLlmEndpointInDocument |
No authorization required
- Content-Type: application/vnd.gooddata.api+json
- Accept: application/vnd.gooddata.api+json
Status code | Description | Response headers |
---|---|---|
201 | Request successfully processed | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_entity_llm_endpoints(id)
import time
import gooddata_api_client
from gooddata_api_client.api import llm_endpoints_api
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = gooddata_api_client.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with gooddata_api_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = llm_endpoints_api.LLMEndpointsApi(api_client)
id = "/6bUUGjjNSwg0_bs" # str |
filter = "filter=title==someString;description==someString" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional)
# example passing only required values which don't have defaults set
try:
api_instance.delete_entity_llm_endpoints(id)
except gooddata_api_client.ApiException as e:
print("Exception when calling LLMEndpointsApi->delete_entity_llm_endpoints: %s\n" % e)
# example passing only required values which don't have defaults set
# and optional values
try:
api_instance.delete_entity_llm_endpoints(id, filter=filter)
except gooddata_api_client.ApiException as e:
print("Exception when calling LLMEndpointsApi->delete_entity_llm_endpoints: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str | ||
filter | str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | Successfully deleted | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
JsonApiLlmEndpointOutList get_all_entities_llm_endpoints()
Get all LLM endpoint entities
import time
import gooddata_api_client
from gooddata_api_client.api import llm_endpoints_api
from gooddata_api_client.model.json_api_llm_endpoint_out_list import JsonApiLlmEndpointOutList
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = gooddata_api_client.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with gooddata_api_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = llm_endpoints_api.LLMEndpointsApi(api_client)
filter = "filter=title==someString;description==someString" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional)
page = 0 # int | Zero-based page index (0..N) (optional) if omitted the server will use the default value of 0
size = 20 # int | The size of the page to be returned (optional) if omitted the server will use the default value of 20
sort = [
"sort_example",
] # [str] | Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional)
meta_include = [
"metaInclude=page,all",
] # [str] | Include Meta objects. (optional)
# example passing only required values which don't have defaults set
# and optional values
try:
# Get all LLM endpoint entities
api_response = api_instance.get_all_entities_llm_endpoints(filter=filter, page=page, size=size, sort=sort, meta_include=meta_include)
pprint(api_response)
except gooddata_api_client.ApiException as e:
print("Exception when calling LLMEndpointsApi->get_all_entities_llm_endpoints: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
filter | str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] |
page | int | Zero-based page index (0..N) | [optional] if omitted the server will use the default value of 0 |
size | int | The size of the page to be returned | [optional] if omitted the server will use the default value of 20 |
sort | [str] | Sorting criteria in the format: property,(asc | desc). Default sort order is ascending. Multiple sort criteria are supported. |
meta_include | [str] | Include Meta objects. | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/vnd.gooddata.api+json
Status code | Description | Response headers |
---|---|---|
200 | Request successfully processed | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
JsonApiLlmEndpointOutDocument get_entity_llm_endpoints(id)
Get LLM endpoint entity
import time
import gooddata_api_client
from gooddata_api_client.api import llm_endpoints_api
from gooddata_api_client.model.json_api_llm_endpoint_out_document import JsonApiLlmEndpointOutDocument
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = gooddata_api_client.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with gooddata_api_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = llm_endpoints_api.LLMEndpointsApi(api_client)
id = "/6bUUGjjNSwg0_bs" # str |
filter = "filter=title==someString;description==someString" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional)
# example passing only required values which don't have defaults set
try:
# Get LLM endpoint entity
api_response = api_instance.get_entity_llm_endpoints(id)
pprint(api_response)
except gooddata_api_client.ApiException as e:
print("Exception when calling LLMEndpointsApi->get_entity_llm_endpoints: %s\n" % e)
# example passing only required values which don't have defaults set
# and optional values
try:
# Get LLM endpoint entity
api_response = api_instance.get_entity_llm_endpoints(id, filter=filter)
pprint(api_response)
except gooddata_api_client.ApiException as e:
print("Exception when calling LLMEndpointsApi->get_entity_llm_endpoints: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str | ||
filter | str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/vnd.gooddata.api+json
Status code | Description | Response headers |
---|---|---|
200 | Request successfully processed | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
JsonApiLlmEndpointOutDocument patch_entity_llm_endpoints(id, json_api_llm_endpoint_patch_document)
Patch LLM endpoint entity
import time
import gooddata_api_client
from gooddata_api_client.api import llm_endpoints_api
from gooddata_api_client.model.json_api_llm_endpoint_out_document import JsonApiLlmEndpointOutDocument
from gooddata_api_client.model.json_api_llm_endpoint_patch_document import JsonApiLlmEndpointPatchDocument
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = gooddata_api_client.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with gooddata_api_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = llm_endpoints_api.LLMEndpointsApi(api_client)
id = "/6bUUGjjNSwg0_bs" # str |
json_api_llm_endpoint_patch_document = JsonApiLlmEndpointPatchDocument(
data=JsonApiLlmEndpointPatch(
attributes=JsonApiLlmEndpointPatchAttributes(
base_url="base_url_example",
description="description_example",
llm_model="llm_model_example",
llm_organization="llm_organization_example",
provider="OPENAI",
title="title_example",
token="token_example",
workspace_ids=["demo","trial"],
),
id="id1",
type="llmEndpoint",
),
) # JsonApiLlmEndpointPatchDocument |
filter = "filter=title==someString;description==someString" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional)
# example passing only required values which don't have defaults set
try:
# Patch LLM endpoint entity
api_response = api_instance.patch_entity_llm_endpoints(id, json_api_llm_endpoint_patch_document)
pprint(api_response)
except gooddata_api_client.ApiException as e:
print("Exception when calling LLMEndpointsApi->patch_entity_llm_endpoints: %s\n" % e)
# example passing only required values which don't have defaults set
# and optional values
try:
# Patch LLM endpoint entity
api_response = api_instance.patch_entity_llm_endpoints(id, json_api_llm_endpoint_patch_document, filter=filter)
pprint(api_response)
except gooddata_api_client.ApiException as e:
print("Exception when calling LLMEndpointsApi->patch_entity_llm_endpoints: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str | ||
json_api_llm_endpoint_patch_document | JsonApiLlmEndpointPatchDocument | ||
filter | str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] |
No authorization required
- Content-Type: application/vnd.gooddata.api+json
- Accept: application/vnd.gooddata.api+json
Status code | Description | Response headers |
---|---|---|
200 | Request successfully processed | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
JsonApiLlmEndpointOutDocument update_entity_llm_endpoints(id, json_api_llm_endpoint_in_document)
PUT LLM endpoint entity
import time
import gooddata_api_client
from gooddata_api_client.api import llm_endpoints_api
from gooddata_api_client.model.json_api_llm_endpoint_in_document import JsonApiLlmEndpointInDocument
from gooddata_api_client.model.json_api_llm_endpoint_out_document import JsonApiLlmEndpointOutDocument
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = gooddata_api_client.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with gooddata_api_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = llm_endpoints_api.LLMEndpointsApi(api_client)
id = "/6bUUGjjNSwg0_bs" # str |
json_api_llm_endpoint_in_document = JsonApiLlmEndpointInDocument(
data=JsonApiLlmEndpointIn(
attributes=JsonApiLlmEndpointInAttributes(
base_url="base_url_example",
description="description_example",
llm_model="llm_model_example",
llm_organization="llm_organization_example",
provider="OPENAI",
title="title_example",
token="token_example",
workspace_ids=["demo","trial"],
),
id="id1",
type="llmEndpoint",
),
) # JsonApiLlmEndpointInDocument |
filter = "filter=title==someString;description==someString" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional)
# example passing only required values which don't have defaults set
try:
# PUT LLM endpoint entity
api_response = api_instance.update_entity_llm_endpoints(id, json_api_llm_endpoint_in_document)
pprint(api_response)
except gooddata_api_client.ApiException as e:
print("Exception when calling LLMEndpointsApi->update_entity_llm_endpoints: %s\n" % e)
# example passing only required values which don't have defaults set
# and optional values
try:
# PUT LLM endpoint entity
api_response = api_instance.update_entity_llm_endpoints(id, json_api_llm_endpoint_in_document, filter=filter)
pprint(api_response)
except gooddata_api_client.ApiException as e:
print("Exception when calling LLMEndpointsApi->update_entity_llm_endpoints: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | str | ||
json_api_llm_endpoint_in_document | JsonApiLlmEndpointInDocument | ||
filter | str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] |
No authorization required
- Content-Type: application/vnd.gooddata.api+json
- Accept: application/vnd.gooddata.api+json
Status code | Description | Response headers |
---|---|---|
200 | Request successfully processed | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]