Skip to content
  • Auto
  • Light
  • Dark

Models

Models

Models

API Agreement
APIAgreementclass

Agreement Description

ShowShow
descriptionstr
optional
namestr
optional
urlstr
optional
uuidstr
optional
API Model
APIModelclass

A machine learning model stored on the GenAI platform

ShowShow
agreementAPIAgreement
optional

Agreement Description

created_atdatetime
optional

Creation date / time

formatdate-time
is_foundationalbool
optional

True if it is a foundational model provided by do

namestr
optional

Name of the model

parent_uuidstr
optional

Unique id of the model, this model is based on

updated_atdatetime
optional

Last modified

formatdate-time
upload_completebool
optional

Model has been fully uploaded

urlstr
optional

Download url

uuidstr
optional

Unique id

versionAPIModelVersion
optional

Version Information about a Model

API Model Version
APIModelVersionclass

Version Information about a Model

ShowShow
majorint
optional

Major version number

formatint64
minorint
optional

Minor version number

formatint64
patchint
optional

Patch version number

formatint64

ModelsProviders

ModelsProvidersAnthropic

Create Anthropic API Key
models.providers.anthropic.create(AnthropicCreateParams**kwargs) -> api_key_infoAPIAnthropicAPIKeyInfoAnthropicCreateResponse
post/v2/gen-ai/anthropic/keys
Delete Anthropic API Key
models.providers.anthropic.delete(strapi_key_uuid) -> api_key_infoAPIAnthropicAPIKeyInfoAnthropicDeleteResponse
delete/v2/gen-ai/anthropic/keys/{api_key_uuid}
List Anthropic API Keys
models.providers.anthropic.list(AnthropicListParams**kwargs) -> api_key_infoslistlinksAPILinksmetaAPIMetaAnthropicListResponse
get/v2/gen-ai/anthropic/keys
List agents by Anthropic key
models.providers.anthropic.list_agents(struuid, AnthropicListAgentsParams**kwargs) -> agentslistlinksAPILinksmetaAPIMetaAnthropicListAgentsResponse
get/v2/gen-ai/anthropic/keys/{uuid}/agents
Get Anthropic API Key
models.providers.anthropic.retrieve(strapi_key_uuid) -> api_key_infoAPIAnthropicAPIKeyInfoAnthropicRetrieveResponse
get/v2/gen-ai/anthropic/keys/{api_key_uuid}
Update Anthropic API Key
models.providers.anthropic.update(strpath_api_key_uuid, AnthropicUpdateParams**kwargs) -> api_key_infoAPIAnthropicAPIKeyInfoAnthropicUpdateResponse
put/v2/gen-ai/anthropic/keys/{api_key_uuid}

ModelsProvidersOpenAI

Create OpenAI API Key
models.providers.openai.create(OpenAICreateParams**kwargs) -> api_key_infoAPIOpenAIAPIKeyInfoOpenAICreateResponse
post/v2/gen-ai/openai/keys
Delete OpenAI API Key
models.providers.openai.delete(strapi_key_uuid) -> api_key_infoAPIOpenAIAPIKeyInfoOpenAIDeleteResponse
delete/v2/gen-ai/openai/keys/{api_key_uuid}
List OpenAI API Keys
models.providers.openai.list(OpenAIListParams**kwargs) -> api_key_infoslistlinksAPILinksmetaAPIMetaOpenAIListResponse
get/v2/gen-ai/openai/keys
Get OpenAI API Key
models.providers.openai.retrieve(strapi_key_uuid) -> api_key_infoAPIOpenAIAPIKeyInfoOpenAIRetrieveResponse
get/v2/gen-ai/openai/keys/{api_key_uuid}
List agents by OpenAI key
models.providers.openai.retrieve_agents(struuid, OpenAIRetrieveAgentsParams**kwargs) -> agentslistlinksAPILinksmetaAPIMetaOpenAIRetrieveAgentsResponse
get/v2/gen-ai/openai/keys/{uuid}/agents
Update OpenAI API Key
models.providers.openai.update(strpath_api_key_uuid, OpenAIUpdateParams**kwargs) -> api_key_infoAPIOpenAIAPIKeyInfoOpenAIUpdateResponse
put/v2/gen-ai/openai/keys/{api_key_uuid}