Agents
Agents
Create an Agent
Delete an Agent
List Agents
Retrieve an Existing Agent
Get Agent Usage
Update an Agent
Update Agent Status
ModelsExpand Collapse
APIAgent { anthropic_api_key, api_key_infos, api_keys, 37 more }
An Agent
Anthropic API Key Info
created_at?: string
Key creation date
created_by?: string
Created by user id from DO
deleted_at?: string
Key deleted date
name?: string
Name
updated_at?: string
Key last updated date
uuid?: string
Uuid
Api key infos
created_at?: string
Creation date
created_by?: string
Created by
deleted_at?: string
Deleted date
name?: string
Name
uuid?: string
Uuid
api_keys?: Array<APIKey>
Api keys
api_key?: string
Api key
chatbot?: Chatbot { button_background_color, logo, name, 3 more }
A Chatbot
name?: string
Name of chatbot
chatbot_identifiers?: Array<ChatbotIdentifier>
Chatbot identifiers
agent_chatbot_identifier?: string
Agent chatbot identifier
Child agents
APIAgent { anthropic_api_key, api_key_infos, api_keys, 37 more }
An Agent
Anthropic API Key Info
created_at?: string
Key creation date
created_by?: string
Created by user id from DO
deleted_at?: string
Key deleted date
name?: string
Name
updated_at?: string
Key last updated date
uuid?: string
Uuid
Api key infos
created_at?: string
Creation date
created_by?: string
Created by
deleted_at?: string
Deleted date
name?: string
Name
uuid?: string
Uuid
api_keys?: Array<APIKey>
Api keys
api_key?: string
Api key
chatbot?: Chatbot { button_background_color, logo, name, 3 more }
A Chatbot
name?: string
Name of chatbot
chatbot_identifiers?: Array<ChatbotIdentifier>
Chatbot identifiers
agent_chatbot_identifier?: string
Agent chatbot identifier
conversation_logs_enabled?: boolean
Whether conversation logs are enabled for the agent
created_at?: string
Creation date / time
deployment?: Deployment { created_at, name, status, 4 more }
Description of deployment
created_at?: string
Creation date / time
name?: string
Name
status?: "STATUS_UNKNOWN" | "STATUS_WAITING_FOR_DEPLOYMENT" | "STATUS_DEPLOYING" | 6 more
updated_at?: string
Last modified
url?: string
Access your deployed agent here
uuid?: string
Unique id
- VISIBILITY_UNKNOWN: The status of the deployment is unknown
- VISIBILITY_DISABLED: The deployment is disabled and will no longer service requests
- VISIBILITY_PLAYGROUND: Deprecated: No longer a valid state
- VISIBILITY_PUBLIC: The deployment is public and will service requests from the public internet
- VISIBILITY_PRIVATE: The deployment is private and will only service requests from other agents, or through API keys
description?: string
Description of agent
functions?: Array<Function>
api_key?: string
Api key
created_at?: string
Creation date / time
created_by?: string
Created by user id from DO
description?: string
Agent description
name?: string
Name
updated_at?: string
Last modified
url?: string
Download your agent here
uuid?: string
Unique id
guardrails?: Array<Guardrail>
The guardrails the agent is attached to
type?: "GUARDRAIL_TYPE_UNKNOWN" | "GUARDRAIL_TYPE_JAILBREAK" | "GUARDRAIL_TYPE_SENSITIVE_DATA" | "GUARDRAIL_TYPE_CONTENT_MODERATION"
instruction?: string
Agent instruction. Instructions help your agent to perform its job effectively. See Write Effective Agent Instructions for best practices.
Knowledge bases
added_to_agent_at?: string
Time when the knowledge base was added to the agent
created_at?: string
Creation date / time
is_public?: boolean
Whether the knowledge base is public or not
last_indexing_job?: APIIndexingJob { completed_datasources, created_at, data_source_uuids, 12 more }
IndexingJob description
completed_datasources?: number
Number of datasources indexed completed
created_at?: string
Creation date / time
knowledge_base_uuid?: string
Knowledge base id
phase?: "BATCH_JOB_PHASE_UNKNOWN" | "BATCH_JOB_PHASE_PENDING" | "BATCH_JOB_PHASE_RUNNING" | 4 more
status?: "INDEX_JOB_STATUS_UNKNOWN" | "INDEX_JOB_STATUS_PARTIAL" | "INDEX_JOB_STATUS_IN_PROGRESS" | 4 more
tokens?: number
Number of tokens
total_datasources?: number
Number of datasources being indexed
total_items_failed?: string
Total Items Failed
total_items_indexed?: string
Total Items Indexed
total_items_skipped?: string
Total Items Skipped
updated_at?: string
Last modified
uuid?: string
Unique id
name?: string
Name of knowledge base
region?: string
Region code
tags?: Array<string>
Tags to organize related resources
updated_at?: string
Last modified
user_id?: string
Id of user that created the knowledge base
uuid?: string
Unique id for knowledge base
logging_config?: LoggingConfig { galileo_project_id, galileo_project_name, insights_enabled, 3 more }
galileo_project_id?: string
Galileo project identifier
galileo_project_name?: string
Name of the Galileo project
insights_enabled?: boolean
Whether insights are enabled
insights_enabled_at?: string
Timestamp when insights were enabled
log_stream_id?: string
Identifier for the log stream
log_stream_name?: string
Name of the log stream
Description of a Model
Agreement Description
created_at?: string
Creation date / time
inference_name?: string
Internally used name
inference_version?: string
Internally used version
is_foundational?: boolean
True if it is a foundational model provided by do
metadata?: unknown
Additional meta data
name?: string
Name of the model
parent_uuid?: string
Unique id of the model, this model is based on
provider?: "MODEL_PROVIDER_DIGITALOCEAN" | "MODEL_PROVIDER_ANTHROPIC" | "MODEL_PROVIDER_OPENAI"
updated_at?: string
Last modified
upload_complete?: boolean
Model has been fully uploaded
url?: string
Download url
usecases?: Array<"MODEL_USECASE_UNKNOWN" | "MODEL_USECASE_AGENT" | "MODEL_USECASE_FINETUNED" | 4 more>
Usecases of the model
uuid?: string
Unique id
Version Information about a Model
major?: number
Major version number
minor?: number
Minor version number
patch?: number
Patch version number
name?: string
Agent name
OpenAI API Key Info
created_at?: string
Key creation date
created_by?: string
Created by user id from DO
deleted_at?: string
Key deleted date
Models supported by the openAI api key
Agreement Description
created_at?: string
Creation date / time
inference_name?: string
Internally used name
inference_version?: string
Internally used version
is_foundational?: boolean
True if it is a foundational model provided by do
metadata?: unknown
Additional meta data
name?: string
Name of the model
parent_uuid?: string
Unique id of the model, this model is based on
provider?: "MODEL_PROVIDER_DIGITALOCEAN" | "MODEL_PROVIDER_ANTHROPIC" | "MODEL_PROVIDER_OPENAI"
updated_at?: string
Last modified
upload_complete?: boolean
Model has been fully uploaded
url?: string
Download url
usecases?: Array<"MODEL_USECASE_UNKNOWN" | "MODEL_USECASE_AGENT" | "MODEL_USECASE_FINETUNED" | 4 more>
Usecases of the model
uuid?: string
Unique id
Version Information about a Model
major?: number
Major version number
minor?: number
Minor version number
patch?: number
Patch version number
name?: string
Name
updated_at?: string
Key last updated date
uuid?: string
Uuid
provide_citations?: boolean
Whether the agent should provide in-response citations
region?: string
Region code
- RETRIEVAL_METHOD_UNKNOWN: The retrieval method is unknown
- RETRIEVAL_METHOD_REWRITE: The retrieval method is rewrite
- RETRIEVAL_METHOD_STEP_BACK: The retrieval method is step back
- RETRIEVAL_METHOD_SUB_QUERIES: The retrieval method is sub queries
- RETRIEVAL_METHOD_NONE: The retrieval method is none
route_created_at?: string
Creation of route date / time
route_name?: string
Route name
tags?: Array<string>
Agent tag to organize related resources
template?: Template { created_at, description, guardrails, 15 more }
Represents an AgentTemplate entity
created_at?: string
The agent template's creation date
description?: string
Deprecated - Use summary instead
guardrails?: Array<Guardrail>
List of guardrails associated with the agent template
priority?: number
Priority of the guardrail
uuid?: string
Uuid of the guardrail
instruction?: string
Instructions for the agent template
k?: number
The 'k' value for the agent template
List of knowledge bases associated with the agent template
added_to_agent_at?: string
Time when the knowledge base was added to the agent
created_at?: string
Creation date / time
is_public?: boolean
Whether the knowledge base is public or not
last_indexing_job?: APIIndexingJob { completed_datasources, created_at, data_source_uuids, 12 more }
IndexingJob description
completed_datasources?: number
Number of datasources indexed completed
created_at?: string
Creation date / time
knowledge_base_uuid?: string
Knowledge base id
phase?: "BATCH_JOB_PHASE_UNKNOWN" | "BATCH_JOB_PHASE_PENDING" | "BATCH_JOB_PHASE_RUNNING" | 4 more
status?: "INDEX_JOB_STATUS_UNKNOWN" | "INDEX_JOB_STATUS_PARTIAL" | "INDEX_JOB_STATUS_IN_PROGRESS" | 4 more
tokens?: number
Number of tokens
total_datasources?: number
Number of datasources being indexed
total_items_failed?: string
Total Items Failed
total_items_indexed?: string
Total Items Indexed
total_items_skipped?: string
Total Items Skipped
updated_at?: string
Last modified
uuid?: string
Unique id
name?: string
Name of knowledge base
region?: string
Region code
tags?: Array<string>
Tags to organize related resources
updated_at?: string
Last modified
user_id?: string
Id of user that created the knowledge base
uuid?: string
Unique id for knowledge base
long_description?: string
The long description of the agent template
max_tokens?: number
The max_tokens setting for the agent template
Description of a Model
Agreement Description
created_at?: string
Creation date / time
inference_name?: string
Internally used name
inference_version?: string
Internally used version
is_foundational?: boolean
True if it is a foundational model provided by do
metadata?: unknown
Additional meta data
name?: string
Name of the model
parent_uuid?: string
Unique id of the model, this model is based on
provider?: "MODEL_PROVIDER_DIGITALOCEAN" | "MODEL_PROVIDER_ANTHROPIC" | "MODEL_PROVIDER_OPENAI"
updated_at?: string
Last modified
upload_complete?: boolean
Model has been fully uploaded
url?: string
Download url
usecases?: Array<"MODEL_USECASE_UNKNOWN" | "MODEL_USECASE_AGENT" | "MODEL_USECASE_FINETUNED" | 4 more>
Usecases of the model
uuid?: string
Unique id
Version Information about a Model
major?: number
Major version number
minor?: number
Minor version number
patch?: number
Patch version number
name?: string
Name of the agent template
short_description?: string
The short description of the agent template
summary?: string
The summary of the agent template
tags?: Array<string>
List of tags associated with the agent template
temperature?: number
The temperature setting for the agent template
template_type?: "AGENT_TEMPLATE_TYPE_STANDARD" | "AGENT_TEMPLATE_TYPE_ONE_CLICK"
- AGENT_TEMPLATE_TYPE_STANDARD: The standard agent template
- AGENT_TEMPLATE_TYPE_ONE_CLICK: The one click agent template
top_p?: number
The top_p setting for the agent template
updated_at?: string
The agent template's last updated date
uuid?: string
Unique id
updated_at?: string
Last modified
url?: string
Access your agent under this url
user_id?: string
Id of user that created the agent
uuid?: string
Unique agent id
version_hash?: string
The latest version of the agent
conversation_logs_enabled?: boolean
Whether conversation logs are enabled for the agent
created_at?: string
Creation date / time
deployment?: Deployment { created_at, name, status, 4 more }
Description of deployment
created_at?: string
Creation date / time
name?: string
Name
status?: "STATUS_UNKNOWN" | "STATUS_WAITING_FOR_DEPLOYMENT" | "STATUS_DEPLOYING" | 6 more
updated_at?: string
Last modified
url?: string
Access your deployed agent here
uuid?: string
Unique id
- VISIBILITY_UNKNOWN: The status of the deployment is unknown
- VISIBILITY_DISABLED: The deployment is disabled and will no longer service requests
- VISIBILITY_PLAYGROUND: Deprecated: No longer a valid state
- VISIBILITY_PUBLIC: The deployment is public and will service requests from the public internet
- VISIBILITY_PRIVATE: The deployment is private and will only service requests from other agents, or through API keys
description?: string
Description of agent
functions?: Array<Function>
api_key?: string
Api key
created_at?: string
Creation date / time
created_by?: string
Created by user id from DO
description?: string
Agent description
name?: string
Name
updated_at?: string
Last modified
url?: string
Download your agent here
uuid?: string
Unique id
guardrails?: Array<Guardrail>
The guardrails the agent is attached to
type?: "GUARDRAIL_TYPE_UNKNOWN" | "GUARDRAIL_TYPE_JAILBREAK" | "GUARDRAIL_TYPE_SENSITIVE_DATA" | "GUARDRAIL_TYPE_CONTENT_MODERATION"
instruction?: string
Agent instruction. Instructions help your agent to perform its job effectively. See Write Effective Agent Instructions for best practices.
Knowledge bases
added_to_agent_at?: string
Time when the knowledge base was added to the agent
created_at?: string
Creation date / time
is_public?: boolean
Whether the knowledge base is public or not
last_indexing_job?: APIIndexingJob { completed_datasources, created_at, data_source_uuids, 12 more }
IndexingJob description
completed_datasources?: number
Number of datasources indexed completed
created_at?: string
Creation date / time
knowledge_base_uuid?: string
Knowledge base id
phase?: "BATCH_JOB_PHASE_UNKNOWN" | "BATCH_JOB_PHASE_PENDING" | "BATCH_JOB_PHASE_RUNNING" | 4 more
status?: "INDEX_JOB_STATUS_UNKNOWN" | "INDEX_JOB_STATUS_PARTIAL" | "INDEX_JOB_STATUS_IN_PROGRESS" | 4 more
tokens?: number
Number of tokens
total_datasources?: number
Number of datasources being indexed
total_items_failed?: string
Total Items Failed
total_items_indexed?: string
Total Items Indexed
total_items_skipped?: string
Total Items Skipped
updated_at?: string
Last modified
uuid?: string
Unique id
name?: string
Name of knowledge base
region?: string
Region code
tags?: Array<string>
Tags to organize related resources
updated_at?: string
Last modified
user_id?: string
Id of user that created the knowledge base
uuid?: string
Unique id for knowledge base
logging_config?: LoggingConfig { galileo_project_id, galileo_project_name, insights_enabled, 3 more }
galileo_project_id?: string
Galileo project identifier
galileo_project_name?: string
Name of the Galileo project
insights_enabled?: boolean
Whether insights are enabled
insights_enabled_at?: string
Timestamp when insights were enabled
log_stream_id?: string
Identifier for the log stream
log_stream_name?: string
Name of the log stream
Description of a Model
Agreement Description
created_at?: string
Creation date / time
inference_name?: string
Internally used name
inference_version?: string
Internally used version
is_foundational?: boolean
True if it is a foundational model provided by do
metadata?: unknown
Additional meta data
name?: string
Name of the model
parent_uuid?: string
Unique id of the model, this model is based on
provider?: "MODEL_PROVIDER_DIGITALOCEAN" | "MODEL_PROVIDER_ANTHROPIC" | "MODEL_PROVIDER_OPENAI"
updated_at?: string
Last modified
upload_complete?: boolean
Model has been fully uploaded
url?: string
Download url
usecases?: Array<"MODEL_USECASE_UNKNOWN" | "MODEL_USECASE_AGENT" | "MODEL_USECASE_FINETUNED" | 4 more>
Usecases of the model
uuid?: string
Unique id
Version Information about a Model
major?: number
Major version number
minor?: number
Minor version number
patch?: number
Patch version number
name?: string
Agent name
OpenAI API Key Info
created_at?: string
Key creation date
created_by?: string
Created by user id from DO
deleted_at?: string
Key deleted date
Models supported by the openAI api key
Agreement Description
created_at?: string
Creation date / time
inference_name?: string
Internally used name
inference_version?: string
Internally used version
is_foundational?: boolean
True if it is a foundational model provided by do
metadata?: unknown
Additional meta data
name?: string
Name of the model
parent_uuid?: string
Unique id of the model, this model is based on
provider?: "MODEL_PROVIDER_DIGITALOCEAN" | "MODEL_PROVIDER_ANTHROPIC" | "MODEL_PROVIDER_OPENAI"
updated_at?: string
Last modified
upload_complete?: boolean
Model has been fully uploaded
url?: string
Download url
usecases?: Array<"MODEL_USECASE_UNKNOWN" | "MODEL_USECASE_AGENT" | "MODEL_USECASE_FINETUNED" | 4 more>
Usecases of the model
uuid?: string
Unique id
Version Information about a Model
major?: number
Major version number
minor?: number
Minor version number
patch?: number
Patch version number
name?: string
Name
updated_at?: string
Key last updated date
uuid?: string
Uuid
Parent agents
APIAgent { anthropic_api_key, api_key_infos, api_keys, 37 more }
An Agent
Anthropic API Key Info
created_at?: string
Key creation date
created_by?: string
Created by user id from DO
deleted_at?: string
Key deleted date
name?: string
Name
updated_at?: string
Key last updated date
uuid?: string
Uuid
Api key infos
created_at?: string
Creation date
created_by?: string
Created by
deleted_at?: string
Deleted date
name?: string
Name
uuid?: string
Uuid
api_keys?: Array<APIKey>
Api keys
api_key?: string
Api key
chatbot?: Chatbot { button_background_color, logo, name, 3 more }
A Chatbot
name?: string
Name of chatbot
chatbot_identifiers?: Array<ChatbotIdentifier>
Chatbot identifiers
agent_chatbot_identifier?: string
Agent chatbot identifier
conversation_logs_enabled?: boolean
Whether conversation logs are enabled for the agent
created_at?: string
Creation date / time
deployment?: Deployment { created_at, name, status, 4 more }
Description of deployment
created_at?: string
Creation date / time
name?: string
Name
status?: "STATUS_UNKNOWN" | "STATUS_WAITING_FOR_DEPLOYMENT" | "STATUS_DEPLOYING" | 6 more
updated_at?: string
Last modified
url?: string
Access your deployed agent here
uuid?: string
Unique id
- VISIBILITY_UNKNOWN: The status of the deployment is unknown
- VISIBILITY_DISABLED: The deployment is disabled and will no longer service requests
- VISIBILITY_PLAYGROUND: Deprecated: No longer a valid state
- VISIBILITY_PUBLIC: The deployment is public and will service requests from the public internet
- VISIBILITY_PRIVATE: The deployment is private and will only service requests from other agents, or through API keys
description?: string
Description of agent
functions?: Array<Function>
api_key?: string
Api key
created_at?: string
Creation date / time
created_by?: string
Created by user id from DO
description?: string
Agent description
name?: string
Name
updated_at?: string
Last modified
url?: string
Download your agent here
uuid?: string
Unique id
guardrails?: Array<Guardrail>
The guardrails the agent is attached to
type?: "GUARDRAIL_TYPE_UNKNOWN" | "GUARDRAIL_TYPE_JAILBREAK" | "GUARDRAIL_TYPE_SENSITIVE_DATA" | "GUARDRAIL_TYPE_CONTENT_MODERATION"
instruction?: string
Agent instruction. Instructions help your agent to perform its job effectively. See Write Effective Agent Instructions for best practices.
Knowledge bases
added_to_agent_at?: string
Time when the knowledge base was added to the agent
created_at?: string
Creation date / time
is_public?: boolean
Whether the knowledge base is public or not
last_indexing_job?: APIIndexingJob { completed_datasources, created_at, data_source_uuids, 12 more }
IndexingJob description
completed_datasources?: number
Number of datasources indexed completed
created_at?: string
Creation date / time
knowledge_base_uuid?: string
Knowledge base id
phase?: "BATCH_JOB_PHASE_UNKNOWN" | "BATCH_JOB_PHASE_PENDING" | "BATCH_JOB_PHASE_RUNNING" | 4 more
status?: "INDEX_JOB_STATUS_UNKNOWN" | "INDEX_JOB_STATUS_PARTIAL" | "INDEX_JOB_STATUS_IN_PROGRESS" | 4 more
tokens?: number
Number of tokens
total_datasources?: number
Number of datasources being indexed
total_items_failed?: string
Total Items Failed
total_items_indexed?: string
Total Items Indexed
total_items_skipped?: string
Total Items Skipped
updated_at?: string
Last modified
uuid?: string
Unique id
name?: string
Name of knowledge base
region?: string
Region code
tags?: Array<string>
Tags to organize related resources
updated_at?: string
Last modified
user_id?: string
Id of user that created the knowledge base
uuid?: string
Unique id for knowledge base
logging_config?: LoggingConfig { galileo_project_id, galileo_project_name, insights_enabled, 3 more }
galileo_project_id?: string
Galileo project identifier
galileo_project_name?: string
Name of the Galileo project
insights_enabled?: boolean
Whether insights are enabled
insights_enabled_at?: string
Timestamp when insights were enabled
log_stream_id?: string
Identifier for the log stream
log_stream_name?: string
Name of the log stream
Description of a Model
Agreement Description
created_at?: string
Creation date / time
inference_name?: string
Internally used name
inference_version?: string
Internally used version
is_foundational?: boolean
True if it is a foundational model provided by do
metadata?: unknown
Additional meta data
name?: string
Name of the model
parent_uuid?: string
Unique id of the model, this model is based on
provider?: "MODEL_PROVIDER_DIGITALOCEAN" | "MODEL_PROVIDER_ANTHROPIC" | "MODEL_PROVIDER_OPENAI"
updated_at?: string
Last modified
upload_complete?: boolean
Model has been fully uploaded
url?: string
Download url
usecases?: Array<"MODEL_USECASE_UNKNOWN" | "MODEL_USECASE_AGENT" | "MODEL_USECASE_FINETUNED" | 4 more>
Usecases of the model
uuid?: string
Unique id
Version Information about a Model
major?: number
Major version number
minor?: number
Minor version number
patch?: number
Patch version number
name?: string
Agent name
OpenAI API Key Info
created_at?: string
Key creation date
created_by?: string
Created by user id from DO
deleted_at?: string
Key deleted date
Models supported by the openAI api key
Agreement Description
created_at?: string
Creation date / time
inference_name?: string
Internally used name
inference_version?: string
Internally used version
is_foundational?: boolean
True if it is a foundational model provided by do
metadata?: unknown
Additional meta data
name?: string
Name of the model
parent_uuid?: string
Unique id of the model, this model is based on
provider?: "MODEL_PROVIDER_DIGITALOCEAN" | "MODEL_PROVIDER_ANTHROPIC" | "MODEL_PROVIDER_OPENAI"
updated_at?: string
Last modified
upload_complete?: boolean
Model has been fully uploaded
url?: string
Download url
usecases?: Array<"MODEL_USECASE_UNKNOWN" | "MODEL_USECASE_AGENT" | "MODEL_USECASE_FINETUNED" | 4 more>
Usecases of the model
uuid?: string
Unique id
Version Information about a Model
major?: number
Major version number
minor?: number
Minor version number
patch?: number
Patch version number
name?: string
Name
updated_at?: string
Key last updated date
uuid?: string
Uuid
provide_citations?: boolean
Whether the agent should provide in-response citations
region?: string
Region code
- RETRIEVAL_METHOD_UNKNOWN: The retrieval method is unknown
- RETRIEVAL_METHOD_REWRITE: The retrieval method is rewrite
- RETRIEVAL_METHOD_STEP_BACK: The retrieval method is step back
- RETRIEVAL_METHOD_SUB_QUERIES: The retrieval method is sub queries
- RETRIEVAL_METHOD_NONE: The retrieval method is none
route_created_at?: string
Creation of route date / time
route_name?: string
Route name
tags?: Array<string>
Agent tag to organize related resources
template?: Template { created_at, description, guardrails, 15 more }
Represents an AgentTemplate entity
created_at?: string
The agent template's creation date
description?: string
Deprecated - Use summary instead
guardrails?: Array<Guardrail>
List of guardrails associated with the agent template
priority?: number
Priority of the guardrail
uuid?: string
Uuid of the guardrail
instruction?: string
Instructions for the agent template
k?: number
The 'k' value for the agent template
List of knowledge bases associated with the agent template
added_to_agent_at?: string
Time when the knowledge base was added to the agent
created_at?: string
Creation date / time
is_public?: boolean
Whether the knowledge base is public or not
last_indexing_job?: APIIndexingJob { completed_datasources, created_at, data_source_uuids, 12 more }
IndexingJob description
completed_datasources?: number
Number of datasources indexed completed
created_at?: string
Creation date / time
knowledge_base_uuid?: string
Knowledge base id
phase?: "BATCH_JOB_PHASE_UNKNOWN" | "BATCH_JOB_PHASE_PENDING" | "BATCH_JOB_PHASE_RUNNING" | 4 more
status?: "INDEX_JOB_STATUS_UNKNOWN" | "INDEX_JOB_STATUS_PARTIAL" | "INDEX_JOB_STATUS_IN_PROGRESS" | 4 more
tokens?: number
Number of tokens
total_datasources?: number
Number of datasources being indexed
total_items_failed?: string
Total Items Failed
total_items_indexed?: string
Total Items Indexed
total_items_skipped?: string
Total Items Skipped
updated_at?: string
Last modified
uuid?: string
Unique id
name?: string
Name of knowledge base
region?: string
Region code
tags?: Array<string>
Tags to organize related resources
updated_at?: string
Last modified
user_id?: string
Id of user that created the knowledge base
uuid?: string
Unique id for knowledge base
long_description?: string
The long description of the agent template
max_tokens?: number
The max_tokens setting for the agent template
Description of a Model
Agreement Description
created_at?: string
Creation date / time
inference_name?: string
Internally used name
inference_version?: string
Internally used version
is_foundational?: boolean
True if it is a foundational model provided by do
metadata?: unknown
Additional meta data
name?: string
Name of the model
parent_uuid?: string
Unique id of the model, this model is based on
provider?: "MODEL_PROVIDER_DIGITALOCEAN" | "MODEL_PROVIDER_ANTHROPIC" | "MODEL_PROVIDER_OPENAI"
updated_at?: string
Last modified
upload_complete?: boolean
Model has been fully uploaded
url?: string
Download url
usecases?: Array<"MODEL_USECASE_UNKNOWN" | "MODEL_USECASE_AGENT" | "MODEL_USECASE_FINETUNED" | 4 more>
Usecases of the model
uuid?: string
Unique id
Version Information about a Model
major?: number
Major version number
minor?: number
Minor version number
patch?: number
Patch version number
name?: string
Name of the agent template
short_description?: string
The short description of the agent template
summary?: string
The summary of the agent template
tags?: Array<string>
List of tags associated with the agent template
temperature?: number
The temperature setting for the agent template
template_type?: "AGENT_TEMPLATE_TYPE_STANDARD" | "AGENT_TEMPLATE_TYPE_ONE_CLICK"
- AGENT_TEMPLATE_TYPE_STANDARD: The standard agent template
- AGENT_TEMPLATE_TYPE_ONE_CLICK: The one click agent template
top_p?: number
The top_p setting for the agent template
updated_at?: string
The agent template's last updated date
uuid?: string
Unique id
updated_at?: string
Last modified
url?: string
Access your agent under this url
user_id?: string
Id of user that created the agent
uuid?: string
Unique agent id
version_hash?: string
The latest version of the agent
provide_citations?: boolean
Whether the agent should provide in-response citations
region?: string
Region code
- RETRIEVAL_METHOD_UNKNOWN: The retrieval method is unknown
- RETRIEVAL_METHOD_REWRITE: The retrieval method is rewrite
- RETRIEVAL_METHOD_STEP_BACK: The retrieval method is step back
- RETRIEVAL_METHOD_SUB_QUERIES: The retrieval method is sub queries
- RETRIEVAL_METHOD_NONE: The retrieval method is none
route_created_at?: string
Creation of route date / time
route_name?: string
Route name
tags?: Array<string>
Agent tag to organize related resources
template?: Template { created_at, description, guardrails, 15 more }
Represents an AgentTemplate entity
created_at?: string
The agent template's creation date
description?: string
Deprecated - Use summary instead
guardrails?: Array<Guardrail>
List of guardrails associated with the agent template
priority?: number
Priority of the guardrail
uuid?: string
Uuid of the guardrail
instruction?: string
Instructions for the agent template
k?: number
The 'k' value for the agent template
List of knowledge bases associated with the agent template
added_to_agent_at?: string
Time when the knowledge base was added to the agent
created_at?: string
Creation date / time
is_public?: boolean
Whether the knowledge base is public or not
last_indexing_job?: APIIndexingJob { completed_datasources, created_at, data_source_uuids, 12 more }
IndexingJob description
completed_datasources?: number
Number of datasources indexed completed
created_at?: string
Creation date / time
knowledge_base_uuid?: string
Knowledge base id
phase?: "BATCH_JOB_PHASE_UNKNOWN" | "BATCH_JOB_PHASE_PENDING" | "BATCH_JOB_PHASE_RUNNING" | 4 more
status?: "INDEX_JOB_STATUS_UNKNOWN" | "INDEX_JOB_STATUS_PARTIAL" | "INDEX_JOB_STATUS_IN_PROGRESS" | 4 more
tokens?: number
Number of tokens
total_datasources?: number
Number of datasources being indexed
total_items_failed?: string
Total Items Failed
total_items_indexed?: string
Total Items Indexed
total_items_skipped?: string
Total Items Skipped
updated_at?: string
Last modified
uuid?: string
Unique id
name?: string
Name of knowledge base
region?: string
Region code
tags?: Array<string>
Tags to organize related resources
updated_at?: string
Last modified
user_id?: string
Id of user that created the knowledge base
uuid?: string
Unique id for knowledge base
long_description?: string
The long description of the agent template
max_tokens?: number
The max_tokens setting for the agent template
Description of a Model
Agreement Description
created_at?: string
Creation date / time
inference_name?: string
Internally used name
inference_version?: string
Internally used version
is_foundational?: boolean
True if it is a foundational model provided by do
metadata?: unknown
Additional meta data
name?: string
Name of the model
parent_uuid?: string
Unique id of the model, this model is based on
provider?: "MODEL_PROVIDER_DIGITALOCEAN" | "MODEL_PROVIDER_ANTHROPIC" | "MODEL_PROVIDER_OPENAI"
updated_at?: string
Last modified
upload_complete?: boolean
Model has been fully uploaded
url?: string
Download url
usecases?: Array<"MODEL_USECASE_UNKNOWN" | "MODEL_USECASE_AGENT" | "MODEL_USECASE_FINETUNED" | 4 more>
Usecases of the model
uuid?: string
Unique id
Version Information about a Model
major?: number
Major version number
minor?: number
Minor version number
patch?: number
Patch version number
name?: string
Name of the agent template
short_description?: string
The short description of the agent template
summary?: string
The summary of the agent template
tags?: Array<string>
List of tags associated with the agent template
temperature?: number
The temperature setting for the agent template
template_type?: "AGENT_TEMPLATE_TYPE_STANDARD" | "AGENT_TEMPLATE_TYPE_ONE_CLICK"
- AGENT_TEMPLATE_TYPE_STANDARD: The standard agent template
- AGENT_TEMPLATE_TYPE_ONE_CLICK: The one click agent template
top_p?: number
The top_p setting for the agent template
updated_at?: string
The agent template's last updated date
uuid?: string
Unique id
updated_at?: string
Last modified
url?: string
Access your agent under this url
user_id?: string
Id of user that created the agent
uuid?: string
Unique agent id
version_hash?: string
The latest version of the agent
APIAgentAPIKeyInfo { created_at, created_by, deleted_at, 3 more }
Agent API Key Info
created_at?: string
Creation date
created_by?: string
Created by
deleted_at?: string
Deleted date
name?: string
Name
uuid?: string
Uuid
APIAgentModel { agreement, created_at, inference_name, 12 more }
Description of a Model
Agreement Description
created_at?: string
Creation date / time
inference_name?: string
Internally used name
inference_version?: string
Internally used version
is_foundational?: boolean
True if it is a foundational model provided by do
metadata?: unknown
Additional meta data
name?: string
Name of the model
parent_uuid?: string
Unique id of the model, this model is based on
provider?: "MODEL_PROVIDER_DIGITALOCEAN" | "MODEL_PROVIDER_ANTHROPIC" | "MODEL_PROVIDER_OPENAI"
updated_at?: string
Last modified
upload_complete?: boolean
Model has been fully uploaded
url?: string
Download url
usecases?: Array<"MODEL_USECASE_UNKNOWN" | "MODEL_USECASE_AGENT" | "MODEL_USECASE_FINETUNED" | 4 more>
Usecases of the model
uuid?: string
Unique id
Version Information about a Model
major?: number
Major version number
minor?: number
Minor version number
patch?: number
Patch version number
APIAnthropicAPIKeyInfo { created_at, created_by, deleted_at, 3 more }
Anthropic API Key Info
created_at?: string
Key creation date
created_by?: string
Created by user id from DO
deleted_at?: string
Key deleted date
name?: string
Name
updated_at?: string
Key last updated date
uuid?: string
Uuid
APIDeploymentVisibility = "VISIBILITY_UNKNOWN" | "VISIBILITY_DISABLED" | "VISIBILITY_PLAYGROUND" | 2 more
- VISIBILITY_UNKNOWN: The status of the deployment is unknown
- VISIBILITY_DISABLED: The deployment is disabled and will no longer service requests
- VISIBILITY_PLAYGROUND: Deprecated: No longer a valid state
- VISIBILITY_PUBLIC: The deployment is public and will service requests from the public internet
- VISIBILITY_PRIVATE: The deployment is private and will only service requests from other agents, or through API keys
APIOpenAIAPIKeyInfo { created_at, created_by, deleted_at, 4 more }
OpenAI API Key Info
created_at?: string
Key creation date
created_by?: string
Created by user id from DO
deleted_at?: string
Key deleted date
Models supported by the openAI api key
Agreement Description
created_at?: string
Creation date / time
inference_name?: string
Internally used name
inference_version?: string
Internally used version
is_foundational?: boolean
True if it is a foundational model provided by do
metadata?: unknown
Additional meta data
name?: string
Name of the model
parent_uuid?: string
Unique id of the model, this model is based on
provider?: "MODEL_PROVIDER_DIGITALOCEAN" | "MODEL_PROVIDER_ANTHROPIC" | "MODEL_PROVIDER_OPENAI"
updated_at?: string
Last modified
upload_complete?: boolean
Model has been fully uploaded
url?: string
Download url
usecases?: Array<"MODEL_USECASE_UNKNOWN" | "MODEL_USECASE_AGENT" | "MODEL_USECASE_FINETUNED" | 4 more>
Usecases of the model
uuid?: string
Unique id
Version Information about a Model
major?: number
Major version number
minor?: number
Minor version number
patch?: number
Patch version number
name?: string
Name
updated_at?: string
Key last updated date
uuid?: string
Uuid
APIRetrievalMethod = "RETRIEVAL_METHOD_UNKNOWN" | "RETRIEVAL_METHOD_REWRITE" | "RETRIEVAL_METHOD_STEP_BACK" | 2 more
- RETRIEVAL_METHOD_UNKNOWN: The retrieval method is unknown
- RETRIEVAL_METHOD_REWRITE: The retrieval method is rewrite
- RETRIEVAL_METHOD_STEP_BACK: The retrieval method is step back
- RETRIEVAL_METHOD_SUB_QUERIES: The retrieval method is sub queries
- RETRIEVAL_METHOD_NONE: The retrieval method is none
APIWorkspace { agents, created_at, created_by, 7 more }
Agents
APIAgent { anthropic_api_key, api_key_infos, api_keys, 37 more }
An Agent
Anthropic API Key Info
created_at?: string
Key creation date
created_by?: string
Created by user id from DO
deleted_at?: string
Key deleted date
name?: string
Name
updated_at?: string
Key last updated date
uuid?: string
Uuid
Api key infos
created_at?: string
Creation date
created_by?: string
Created by
deleted_at?: string
Deleted date
name?: string
Name
uuid?: string
Uuid
api_keys?: Array<APIKey>
Api keys
api_key?: string
Api key
chatbot?: Chatbot { button_background_color, logo, name, 3 more }
A Chatbot
name?: string
Name of chatbot
chatbot_identifiers?: Array<ChatbotIdentifier>
Chatbot identifiers
agent_chatbot_identifier?: string
Agent chatbot identifier
conversation_logs_enabled?: boolean
Whether conversation logs are enabled for the agent
created_at?: string
Creation date / time
deployment?: Deployment { created_at, name, status, 4 more }
Description of deployment
created_at?: string
Creation date / time
name?: string
Name
status?: "STATUS_UNKNOWN" | "STATUS_WAITING_FOR_DEPLOYMENT" | "STATUS_DEPLOYING" | 6 more
updated_at?: string
Last modified
url?: string
Access your deployed agent here
uuid?: string
Unique id
- VISIBILITY_UNKNOWN: The status of the deployment is unknown
- VISIBILITY_DISABLED: The deployment is disabled and will no longer service requests
- VISIBILITY_PLAYGROUND: Deprecated: No longer a valid state
- VISIBILITY_PUBLIC: The deployment is public and will service requests from the public internet
- VISIBILITY_PRIVATE: The deployment is private and will only service requests from other agents, or through API keys
description?: string
Description of agent
functions?: Array<Function>
api_key?: string
Api key
created_at?: string
Creation date / time
created_by?: string
Created by user id from DO
description?: string
Agent description
name?: string
Name
updated_at?: string
Last modified
url?: string
Download your agent here
uuid?: string
Unique id
guardrails?: Array<Guardrail>
The guardrails the agent is attached to
type?: "GUARDRAIL_TYPE_UNKNOWN" | "GUARDRAIL_TYPE_JAILBREAK" | "GUARDRAIL_TYPE_SENSITIVE_DATA" | "GUARDRAIL_TYPE_CONTENT_MODERATION"
instruction?: string
Agent instruction. Instructions help your agent to perform its job effectively. See Write Effective Agent Instructions for best practices.
Knowledge bases
added_to_agent_at?: string
Time when the knowledge base was added to the agent
created_at?: string
Creation date / time
is_public?: boolean
Whether the knowledge base is public or not
last_indexing_job?: APIIndexingJob { completed_datasources, created_at, data_source_uuids, 12 more }
IndexingJob description
completed_datasources?: number
Number of datasources indexed completed
created_at?: string
Creation date / time
knowledge_base_uuid?: string
Knowledge base id
phase?: "BATCH_JOB_PHASE_UNKNOWN" | "BATCH_JOB_PHASE_PENDING" | "BATCH_JOB_PHASE_RUNNING" | 4 more
status?: "INDEX_JOB_STATUS_UNKNOWN" | "INDEX_JOB_STATUS_PARTIAL" | "INDEX_JOB_STATUS_IN_PROGRESS" | 4 more
tokens?: number
Number of tokens
total_datasources?: number
Number of datasources being indexed
total_items_failed?: string
Total Items Failed
total_items_indexed?: string
Total Items Indexed
total_items_skipped?: string
Total Items Skipped
updated_at?: string
Last modified
uuid?: string
Unique id
name?: string
Name of knowledge base
region?: string
Region code
tags?: Array<string>
Tags to organize related resources
updated_at?: string
Last modified
user_id?: string
Id of user that created the knowledge base
uuid?: string
Unique id for knowledge base
logging_config?: LoggingConfig { galileo_project_id, galileo_project_name, insights_enabled, 3 more }
galileo_project_id?: string
Galileo project identifier
galileo_project_name?: string
Name of the Galileo project
insights_enabled?: boolean
Whether insights are enabled
insights_enabled_at?: string
Timestamp when insights were enabled
log_stream_id?: string
Identifier for the log stream
log_stream_name?: string
Name of the log stream
Description of a Model
Agreement Description
created_at?: string
Creation date / time
inference_name?: string
Internally used name
inference_version?: string
Internally used version
is_foundational?: boolean
True if it is a foundational model provided by do
metadata?: unknown
Additional meta data
name?: string
Name of the model
parent_uuid?: string
Unique id of the model, this model is based on
provider?: "MODEL_PROVIDER_DIGITALOCEAN" | "MODEL_PROVIDER_ANTHROPIC" | "MODEL_PROVIDER_OPENAI"
updated_at?: string
Last modified
upload_complete?: boolean
Model has been fully uploaded
url?: string
Download url
usecases?: Array<"MODEL_USECASE_UNKNOWN" | "MODEL_USECASE_AGENT" | "MODEL_USECASE_FINETUNED" | 4 more>
Usecases of the model
uuid?: string
Unique id
Version Information about a Model
major?: number
Major version number
minor?: number
Minor version number
patch?: number
Patch version number
name?: string
Agent name
OpenAI API Key Info
created_at?: string
Key creation date
created_by?: string
Created by user id from DO
deleted_at?: string
Key deleted date
Models supported by the openAI api key
Agreement Description
created_at?: string
Creation date / time
inference_name?: string
Internally used name
inference_version?: string
Internally used version
is_foundational?: boolean
True if it is a foundational model provided by do
metadata?: unknown
Additional meta data
name?: string
Name of the model
parent_uuid?: string
Unique id of the model, this model is based on
provider?: "MODEL_PROVIDER_DIGITALOCEAN" | "MODEL_PROVIDER_ANTHROPIC" | "MODEL_PROVIDER_OPENAI"
updated_at?: string
Last modified
upload_complete?: boolean
Model has been fully uploaded
url?: string
Download url
usecases?: Array<"MODEL_USECASE_UNKNOWN" | "MODEL_USECASE_AGENT" | "MODEL_USECASE_FINETUNED" | 4 more>
Usecases of the model
uuid?: string
Unique id
Version Information about a Model
major?: number
Major version number
minor?: number
Minor version number
patch?: number
Patch version number
name?: string
Name
updated_at?: string
Key last updated date
uuid?: string
Uuid
provide_citations?: boolean
Whether the agent should provide in-response citations
region?: string
Region code
- RETRIEVAL_METHOD_UNKNOWN: The retrieval method is unknown
- RETRIEVAL_METHOD_REWRITE: The retrieval method is rewrite
- RETRIEVAL_METHOD_STEP_BACK: The retrieval method is step back
- RETRIEVAL_METHOD_SUB_QUERIES: The retrieval method is sub queries
- RETRIEVAL_METHOD_NONE: The retrieval method is none
route_created_at?: string
Creation of route date / time
route_name?: string
Route name
tags?: Array<string>
Agent tag to organize related resources
template?: Template { created_at, description, guardrails, 15 more }
Represents an AgentTemplate entity
created_at?: string
The agent template's creation date
description?: string
Deprecated - Use summary instead
guardrails?: Array<Guardrail>
List of guardrails associated with the agent template
priority?: number
Priority of the guardrail
uuid?: string
Uuid of the guardrail
instruction?: string
Instructions for the agent template
k?: number
The 'k' value for the agent template
List of knowledge bases associated with the agent template
added_to_agent_at?: string
Time when the knowledge base was added to the agent
created_at?: string
Creation date / time
is_public?: boolean
Whether the knowledge base is public or not
last_indexing_job?: APIIndexingJob { completed_datasources, created_at, data_source_uuids, 12 more }
IndexingJob description
completed_datasources?: number
Number of datasources indexed completed
created_at?: string
Creation date / time
knowledge_base_uuid?: string
Knowledge base id
phase?: "BATCH_JOB_PHASE_UNKNOWN" | "BATCH_JOB_PHASE_PENDING" | "BATCH_JOB_PHASE_RUNNING" | 4 more
status?: "INDEX_JOB_STATUS_UNKNOWN" | "INDEX_JOB_STATUS_PARTIAL" | "INDEX_JOB_STATUS_IN_PROGRESS" | 4 more
tokens?: number
Number of tokens
total_datasources?: number
Number of datasources being indexed
total_items_failed?: string
Total Items Failed
total_items_indexed?: string
Total Items Indexed
total_items_skipped?: string
Total Items Skipped
updated_at?: string
Last modified
uuid?: string
Unique id
name?: string
Name of knowledge base
region?: string
Region code
tags?: Array<string>
Tags to organize related resources
updated_at?: string
Last modified
user_id?: string
Id of user that created the knowledge base
uuid?: string
Unique id for knowledge base
long_description?: string
The long description of the agent template
max_tokens?: number
The max_tokens setting for the agent template
Description of a Model
Agreement Description
created_at?: string
Creation date / time
inference_name?: string
Internally used name
inference_version?: string
Internally used version
is_foundational?: boolean
True if it is a foundational model provided by do
metadata?: unknown
Additional meta data
name?: string
Name of the model
parent_uuid?: string
Unique id of the model, this model is based on
provider?: "MODEL_PROVIDER_DIGITALOCEAN" | "MODEL_PROVIDER_ANTHROPIC" | "MODEL_PROVIDER_OPENAI"
updated_at?: string
Last modified
upload_complete?: boolean
Model has been fully uploaded
url?: string
Download url
usecases?: Array<"MODEL_USECASE_UNKNOWN" | "MODEL_USECASE_AGENT" | "MODEL_USECASE_FINETUNED" | 4 more>
Usecases of the model
uuid?: string
Unique id
Version Information about a Model
major?: number
Major version number
minor?: number
Minor version number
patch?: number
Patch version number
name?: string
Name of the agent template
short_description?: string
The short description of the agent template
summary?: string
The summary of the agent template
tags?: Array<string>
List of tags associated with the agent template
temperature?: number
The temperature setting for the agent template
template_type?: "AGENT_TEMPLATE_TYPE_STANDARD" | "AGENT_TEMPLATE_TYPE_ONE_CLICK"
- AGENT_TEMPLATE_TYPE_STANDARD: The standard agent template
- AGENT_TEMPLATE_TYPE_ONE_CLICK: The one click agent template
top_p?: number
The top_p setting for the agent template
updated_at?: string
The agent template's last updated date
uuid?: string
Unique id
updated_at?: string
Last modified
url?: string
Access your agent under this url
user_id?: string
Id of user that created the agent
uuid?: string
Unique agent id
version_hash?: string
The latest version of the agent
created_at?: string
Creation date
created_by?: string
The id of user who created this workspace
created_by_email?: string
The email of the user who created this workspace
deleted_at?: string
Deleted date
description?: string
Description of the workspace
evaluation_test_cases?: Array<APIEvaluationTestCase { archived_at, created_at, created_by_user_email, 15 more } >
Evaluations
dataset?: Dataset { created_at, dataset_name, dataset_uuid, 3 more }
created_at?: string
Time created at.
dataset_name?: string
Name of the dataset.
dataset_uuid?: string
UUID of the dataset.
file_size?: string
The size of the dataset uploaded file in bytes.
has_ground_truth?: boolean
Does the dataset have a ground truth column?
row_count?: number
Number of rows in the dataset.
inverted?: boolean
If true, the metric is inverted, meaning that a lower value is better.
metric_type?: "METRIC_TYPE_UNSPECIFIED" | "METRIC_TYPE_GENERAL_QUALITY" | "METRIC_TYPE_RAG_AND_TOOL"
metric_value_type?: "METRIC_VALUE_TYPE_UNSPECIFIED" | "METRIC_VALUE_TYPE_NUMBER" | "METRIC_VALUE_TYPE_STRING" | "METRIC_VALUE_TYPE_PERCENTAGE"
range_max?: number
The maximum value for the metric.
range_min?: number
The minimum value for the metric.
success_threshold?: number
The success threshold for the star metric. This is a value that the metric must reach to be considered successful.
success_threshold_pct?: number
The success threshold for the star metric. This is a percentage value between 0 and 100.
name?: string
Name of the workspace
updated_at?: string
Update date
uuid?: string
Unique id
AgentsAPI Keys
Create an Agent API Key
Delete API Key for an Agent
List Agent API Keys
Regenerate API Key for an Agent
Update API Key for an Agent
AgentsChat
AgentsChatCompletions
Creates a model response for the given chat conversation.
AgentsEvaluation Datasets
Create Evaluation Dataset
Create Presigned URLs for Evaluation Dataset File Upload
AgentsEvaluation Metrics
List Evaluation Metrics
List Datacenter Regions
AgentsEvaluation MetricsAnthropic
AgentsEvaluation MetricsAnthropicKeys
Create Anthropic API Key
Delete Anthropic API Key
List Anthropic API Keys
List agents by Anthropic key
Get Anthropic API Key
Update Anthropic API Key
AgentsEvaluation MetricsModels
List Available Models
AgentsEvaluation MetricsOauth2
Get Oauth2 URL
AgentsEvaluation MetricsOauth2Dropbox
Get Oauth2 Dropbox Tokens
AgentsEvaluation MetricsOpenAI
AgentsEvaluation MetricsOpenAIKeys
Create OpenAI API Key
Delete OpenAI API Key
List OpenAI API Keys
List agents by OpenAI key
Get OpenAI API Key
Update OpenAI API Key
AgentsEvaluation MetricsWorkspaces
Create a Workspace
Delete a Workspace
List Workspaces
List Evaluation Test Cases by Workspace
Retrieve an Existing Workspace
Update a Workspace
AgentsEvaluation MetricsWorkspacesAgents
List agents by Workspace
Move Agents to a Workspace
AgentsEvaluation Runs
Run an Evaluation Test Case
Retrieve Results of an Evaluation Run
Retrieve Information About an Existing Evaluation Run
Retrieve Results of an Evaluation Run Prompt
ModelsExpand Collapse
APIEvaluationMetric { description, inverted, metric_name, 5 more }
inverted?: boolean
If true, the metric is inverted, meaning that a lower value is better.
metric_type?: "METRIC_TYPE_UNSPECIFIED" | "METRIC_TYPE_GENERAL_QUALITY" | "METRIC_TYPE_RAG_AND_TOOL"
metric_value_type?: "METRIC_VALUE_TYPE_UNSPECIFIED" | "METRIC_VALUE_TYPE_NUMBER" | "METRIC_VALUE_TYPE_STRING" | "METRIC_VALUE_TYPE_PERCENTAGE"
range_max?: number
The maximum value for the metric.
range_min?: number
The minimum value for the metric.
APIEvaluationMetricResult { error_description, metric_name, metric_value_type, 3 more }
error_description?: string
Error description if the metric could not be calculated.
metric_name?: string
Metric name
metric_value_type?: "METRIC_VALUE_TYPE_UNSPECIFIED" | "METRIC_VALUE_TYPE_NUMBER" | "METRIC_VALUE_TYPE_STRING" | "METRIC_VALUE_TYPE_PERCENTAGE"
number_value?: number
The value of the metric as a number.
reasoning?: string
Reasoning of the metric result.
string_value?: string
The value of the metric as a string.
APIEvaluationPrompt { ground_truth, input, input_tokens, 5 more }
ground_truth?: string
The ground truth for the prompt.
input_tokens?: string
The number of input tokens used in the prompt.
output_tokens?: string
The number of output tokens used in the prompt.
prompt_chunks?: Array<PromptChunk>
The list of prompt chunks.
chunk_usage_pct?: number
The usage percentage of the chunk.
chunk_used?: boolean
Indicates if the chunk was used in the prompt.
index_uuid?: string
The index uuid (Knowledge Base) of the chunk.
source_name?: string
The source name for the chunk, e.g., the file name or document title.
text?: string
Text content of the chunk.
prompt_id?: number
Prompt ID
prompt_level_metric_results?: Array<APIEvaluationMetricResult { error_description, metric_name, metric_value_type, 3 more } >
The metric results for the prompt.
error_description?: string
Error description if the metric could not be calculated.
metric_name?: string
Metric name
metric_value_type?: "METRIC_VALUE_TYPE_UNSPECIFIED" | "METRIC_VALUE_TYPE_NUMBER" | "METRIC_VALUE_TYPE_STRING" | "METRIC_VALUE_TYPE_PERCENTAGE"
number_value?: number
The value of the metric as a number.
reasoning?: string
Reasoning of the metric result.
string_value?: string
The value of the metric as a string.
APIEvaluationRun { agent_deleted, agent_name, agent_uuid, 19 more }
agent_deleted?: boolean
Whether agent is deleted
agent_name?: string
Agent name
agent_uuid?: string
Agent UUID.
agent_version_hash?: string
Version hash
agent_workspace_uuid?: string
Agent workspace uuid
error_description?: string
The error description
evaluation_run_uuid?: string
Evaluation run UUID.
evaluation_test_case_workspace_uuid?: string
Evaluation test case workspace uuid
finished_at?: string
Run end time.
pass_status?: boolean
The pass status of the evaluation run based on the star metric.
queued_at?: string
Run queued time.
run_level_metric_results?: Array<APIEvaluationMetricResult { error_description, metric_name, metric_value_type, 3 more } >
error_description?: string
Error description if the metric could not be calculated.
metric_name?: string
Metric name
metric_value_type?: "METRIC_VALUE_TYPE_UNSPECIFIED" | "METRIC_VALUE_TYPE_NUMBER" | "METRIC_VALUE_TYPE_STRING" | "METRIC_VALUE_TYPE_PERCENTAGE"
number_value?: number
The value of the metric as a number.
reasoning?: string
Reasoning of the metric result.
string_value?: string
The value of the metric as a string.
run_name?: string
Run name.
star_metric_result?: APIEvaluationMetricResult { error_description, metric_name, metric_value_type, 3 more }
error_description?: string
Error description if the metric could not be calculated.
metric_name?: string
Metric name
metric_value_type?: "METRIC_VALUE_TYPE_UNSPECIFIED" | "METRIC_VALUE_TYPE_NUMBER" | "METRIC_VALUE_TYPE_STRING" | "METRIC_VALUE_TYPE_PERCENTAGE"
number_value?: number
The value of the metric as a number.
reasoning?: string
Reasoning of the metric result.
string_value?: string
The value of the metric as a string.
started_at?: string
Run start time.
status?: "EVALUATION_RUN_STATUS_UNSPECIFIED" | "EVALUATION_RUN_QUEUED" | "EVALUATION_RUN_RUNNING_DATASET" | 6 more
Evaluation Run Statuses
test_case_description?: string
Test case description.
test_case_name?: string
Test case name.
test_case_uuid?: string
Test-case UUID.
test_case_version?: number
Test-case-version.
AgentsEvaluation Test Cases
Create Evaluation Test Case.
List Evaluation Test Cases
List Evaluation Runs by Test Case
Retrieve Information About an Existing Evaluation Test Case
Update an Evaluation Test Case.
ModelsExpand Collapse
APIEvaluationTestCase { archived_at, created_at, created_by_user_email, 15 more }
dataset?: Dataset { created_at, dataset_name, dataset_uuid, 3 more }
created_at?: string
Time created at.
dataset_name?: string
Name of the dataset.
dataset_uuid?: string
UUID of the dataset.
file_size?: string
The size of the dataset uploaded file in bytes.
has_ground_truth?: boolean
Does the dataset have a ground truth column?
row_count?: number
Number of rows in the dataset.
inverted?: boolean
If true, the metric is inverted, meaning that a lower value is better.
metric_type?: "METRIC_TYPE_UNSPECIFIED" | "METRIC_TYPE_GENERAL_QUALITY" | "METRIC_TYPE_RAG_AND_TOOL"
metric_value_type?: "METRIC_VALUE_TYPE_UNSPECIFIED" | "METRIC_VALUE_TYPE_NUMBER" | "METRIC_VALUE_TYPE_STRING" | "METRIC_VALUE_TYPE_PERCENTAGE"
range_max?: number
The maximum value for the metric.
range_min?: number
The minimum value for the metric.
success_threshold?: number
The success threshold for the star metric. This is a value that the metric must reach to be considered successful.
success_threshold_pct?: number
The success threshold for the star metric. This is a percentage value between 0 and 100.
APIStarMetric { metric_uuid, name, success_threshold, success_threshold_pct }
success_threshold?: number
The success threshold for the star metric. This is a value that the metric must reach to be considered successful.
success_threshold_pct?: number
The success threshold for the star metric. This is a percentage value between 0 and 100.
AgentsFunctions
Add Function Route to an Agent
Delete Function Route for an Agent
Update Function Route for an Agent
AgentsKnowledge Bases
Attach Knowledge Bases to an Agent
Attach Knowledge Base to an Agent
Detach Knowledge Base from an Agent
ModelsExpand Collapse
APILinkKnowledgeBaseOutput { agent }
Information about a linked knowledge base
An Agent
Anthropic API Key Info
created_at?: string
Key creation date
created_by?: string
Created by user id from DO
deleted_at?: string
Key deleted date
name?: string
Name
updated_at?: string
Key last updated date
uuid?: string
Uuid
Api key infos
created_at?: string
Creation date
created_by?: string
Created by
deleted_at?: string
Deleted date
name?: string
Name
uuid?: string
Uuid
api_keys?: Array<APIKey>
Api keys
api_key?: string
Api key
chatbot?: Chatbot { button_background_color, logo, name, 3 more }
A Chatbot
name?: string
Name of chatbot
chatbot_identifiers?: Array<ChatbotIdentifier>
Chatbot identifiers
agent_chatbot_identifier?: string
Agent chatbot identifier
Child agents
APIAgent { anthropic_api_key, api_key_infos, api_keys, 37 more }
An Agent
Anthropic API Key Info
created_at?: string
Key creation date
created_by?: string
Created by user id from DO
deleted_at?: string
Key deleted date
name?: string
Name
updated_at?: string
Key last updated date
uuid?: string
Uuid
Api key infos
created_at?: string
Creation date
created_by?: string
Created by
deleted_at?: string
Deleted date
name?: string
Name
uuid?: string
Uuid
api_keys?: Array<APIKey>
Api keys
api_key?: string
Api key
chatbot?: Chatbot { button_background_color, logo, name, 3 more }
A Chatbot
name?: string
Name of chatbot
chatbot_identifiers?: Array<ChatbotIdentifier>
Chatbot identifiers
agent_chatbot_identifier?: string
Agent chatbot identifier
conversation_logs_enabled?: boolean
Whether conversation logs are enabled for the agent
created_at?: string
Creation date / time
deployment?: Deployment { created_at, name, status, 4 more }
Description of deployment
created_at?: string
Creation date / time
name?: string
Name
status?: "STATUS_UNKNOWN" | "STATUS_WAITING_FOR_DEPLOYMENT" | "STATUS_DEPLOYING" | 6 more
updated_at?: string
Last modified
url?: string
Access your deployed agent here
uuid?: string
Unique id
- VISIBILITY_UNKNOWN: The status of the deployment is unknown
- VISIBILITY_DISABLED: The deployment is disabled and will no longer service requests
- VISIBILITY_PLAYGROUND: Deprecated: No longer a valid state
- VISIBILITY_PUBLIC: The deployment is public and will service requests from the public internet
- VISIBILITY_PRIVATE: The deployment is private and will only service requests from other agents, or through API keys
description?: string
Description of agent
functions?: Array<Function>
api_key?: string
Api key
created_at?: string
Creation date / time
created_by?: string
Created by user id from DO
description?: string
Agent description
name?: string
Name
updated_at?: string
Last modified
url?: string
Download your agent here
uuid?: string
Unique id
guardrails?: Array<Guardrail>
The guardrails the agent is attached to
type?: "GUARDRAIL_TYPE_UNKNOWN" | "GUARDRAIL_TYPE_JAILBREAK" | "GUARDRAIL_TYPE_SENSITIVE_DATA" | "GUARDRAIL_TYPE_CONTENT_MODERATION"
instruction?: string
Agent instruction. Instructions help your agent to perform its job effectively. See Write Effective Agent Instructions for best practices.
Knowledge bases
added_to_agent_at?: string
Time when the knowledge base was added to the agent
created_at?: string
Creation date / time
is_public?: boolean
Whether the knowledge base is public or not
last_indexing_job?: APIIndexingJob { completed_datasources, created_at, data_source_uuids, 12 more }
IndexingJob description
completed_datasources?: number
Number of datasources indexed completed
created_at?: string
Creation date / time
knowledge_base_uuid?: string
Knowledge base id
phase?: "BATCH_JOB_PHASE_UNKNOWN" | "BATCH_JOB_PHASE_PENDING" | "BATCH_JOB_PHASE_RUNNING" | 4 more
status?: "INDEX_JOB_STATUS_UNKNOWN" | "INDEX_JOB_STATUS_PARTIAL" | "INDEX_JOB_STATUS_IN_PROGRESS" | 4 more
tokens?: number
Number of tokens
total_datasources?: number
Number of datasources being indexed
total_items_failed?: string
Total Items Failed
total_items_indexed?: string
Total Items Indexed
total_items_skipped?: string
Total Items Skipped
updated_at?: string
Last modified
uuid?: string
Unique id
name?: string
Name of knowledge base
region?: string
Region code
tags?: Array<string>
Tags to organize related resources
updated_at?: string
Last modified
user_id?: string
Id of user that created the knowledge base
uuid?: string
Unique id for knowledge base
logging_config?: LoggingConfig { galileo_project_id, galileo_project_name, insights_enabled, 3 more }
galileo_project_id?: string
Galileo project identifier
galileo_project_name?: string
Name of the Galileo project
insights_enabled?: boolean
Whether insights are enabled
insights_enabled_at?: string
Timestamp when insights were enabled
log_stream_id?: string
Identifier for the log stream
log_stream_name?: string
Name of the log stream
Description of a Model
Agreement Description
created_at?: string
Creation date / time
inference_name?: string
Internally used name
inference_version?: string
Internally used version
is_foundational?: boolean
True if it is a foundational model provided by do
metadata?: unknown
Additional meta data
name?: string
Name of the model
parent_uuid?: string
Unique id of the model, this model is based on
provider?: "MODEL_PROVIDER_DIGITALOCEAN" | "MODEL_PROVIDER_ANTHROPIC" | "MODEL_PROVIDER_OPENAI"
updated_at?: string
Last modified
upload_complete?: boolean
Model has been fully uploaded
url?: string
Download url
usecases?: Array<"MODEL_USECASE_UNKNOWN" | "MODEL_USECASE_AGENT" | "MODEL_USECASE_FINETUNED" | 4 more>
Usecases of the model
uuid?: string
Unique id
Version Information about a Model
major?: number
Major version number
minor?: number
Minor version number
patch?: number
Patch version number
name?: string
Agent name
OpenAI API Key Info
created_at?: string
Key creation date
created_by?: string
Created by user id from DO
deleted_at?: string
Key deleted date
Models supported by the openAI api key
Agreement Description
created_at?: string
Creation date / time
inference_name?: string
Internally used name
inference_version?: string
Internally used version
is_foundational?: boolean
True if it is a foundational model provided by do
metadata?: unknown
Additional meta data
name?: string
Name of the model
parent_uuid?: string
Unique id of the model, this model is based on
provider?: "MODEL_PROVIDER_DIGITALOCEAN" | "MODEL_PROVIDER_ANTHROPIC" | "MODEL_PROVIDER_OPENAI"
updated_at?: string
Last modified
upload_complete?: boolean
Model has been fully uploaded
url?: string
Download url
usecases?: Array<"MODEL_USECASE_UNKNOWN" | "MODEL_USECASE_AGENT" | "MODEL_USECASE_FINETUNED" | 4 more>
Usecases of the model
uuid?: string
Unique id
Version Information about a Model
major?: number
Major version number
minor?: number
Minor version number
patch?: number
Patch version number
name?: string
Name
updated_at?: string
Key last updated date
uuid?: string
Uuid
provide_citations?: boolean
Whether the agent should provide in-response citations
region?: string
Region code
- RETRIEVAL_METHOD_UNKNOWN: The retrieval method is unknown
- RETRIEVAL_METHOD_REWRITE: The retrieval method is rewrite
- RETRIEVAL_METHOD_STEP_BACK: The retrieval method is step back
- RETRIEVAL_METHOD_SUB_QUERIES: The retrieval method is sub queries
- RETRIEVAL_METHOD_NONE: The retrieval method is none
route_created_at?: string
Creation of route date / time
route_name?: string
Route name
tags?: Array<string>
Agent tag to organize related resources
template?: Template { created_at, description, guardrails, 15 more }
Represents an AgentTemplate entity
created_at?: string
The agent template's creation date
description?: string
Deprecated - Use summary instead
guardrails?: Array<Guardrail>
List of guardrails associated with the agent template
priority?: number
Priority of the guardrail
uuid?: string
Uuid of the guardrail
instruction?: string
Instructions for the agent template
k?: number
The 'k' value for the agent template
List of knowledge bases associated with the agent template
added_to_agent_at?: string
Time when the knowledge base was added to the agent
created_at?: string
Creation date / time
is_public?: boolean
Whether the knowledge base is public or not
last_indexing_job?: APIIndexingJob { completed_datasources, created_at, data_source_uuids, 12 more }
IndexingJob description
completed_datasources?: number
Number of datasources indexed completed
created_at?: string
Creation date / time
knowledge_base_uuid?: string
Knowledge base id
phase?: "BATCH_JOB_PHASE_UNKNOWN" | "BATCH_JOB_PHASE_PENDING" | "BATCH_JOB_PHASE_RUNNING" | 4 more
status?: "INDEX_JOB_STATUS_UNKNOWN" | "INDEX_JOB_STATUS_PARTIAL" | "INDEX_JOB_STATUS_IN_PROGRESS" | 4 more
tokens?: number
Number of tokens
total_datasources?: number
Number of datasources being indexed
total_items_failed?: string
Total Items Failed
total_items_indexed?: string
Total Items Indexed
total_items_skipped?: string
Total Items Skipped
updated_at?: string
Last modified
uuid?: string
Unique id
name?: string
Name of knowledge base
region?: string
Region code
tags?: Array<string>
Tags to organize related resources
updated_at?: string
Last modified
user_id?: string
Id of user that created the knowledge base
uuid?: string
Unique id for knowledge base
long_description?: string
The long description of the agent template
max_tokens?: number
The max_tokens setting for the agent template
Description of a Model
Agreement Description
created_at?: string
Creation date / time
inference_name?: string
Internally used name
inference_version?: string
Internally used version
is_foundational?: boolean
True if it is a foundational model provided by do
metadata?: unknown
Additional meta data
name?: string
Name of the model
parent_uuid?: string
Unique id of the model, this model is based on
provider?: "MODEL_PROVIDER_DIGITALOCEAN" | "MODEL_PROVIDER_ANTHROPIC" | "MODEL_PROVIDER_OPENAI"
updated_at?: string
Last modified
upload_complete?: boolean
Model has been fully uploaded
url?: string
Download url
usecases?: Array<"MODEL_USECASE_UNKNOWN" | "MODEL_USECASE_AGENT" | "MODEL_USECASE_FINETUNED" | 4 more>
Usecases of the model
uuid?: string
Unique id
Version Information about a Model
major?: number
Major version number
minor?: number
Minor version number
patch?: number
Patch version number
name?: string
Name of the agent template
short_description?: string
The short description of the agent template
summary?: string
The summary of the agent template
tags?: Array<string>
List of tags associated with the agent template
temperature?: number
The temperature setting for the agent template
template_type?: "AGENT_TEMPLATE_TYPE_STANDARD" | "AGENT_TEMPLATE_TYPE_ONE_CLICK"
- AGENT_TEMPLATE_TYPE_STANDARD: The standard agent template
- AGENT_TEMPLATE_TYPE_ONE_CLICK: The one click agent template
top_p?: number
The top_p setting for the agent template
updated_at?: string
The agent template's last updated date
uuid?: string
Unique id
updated_at?: string
Last modified
url?: string
Access your agent under this url
user_id?: string
Id of user that created the agent
uuid?: string
Unique agent id
version_hash?: string
The latest version of the agent
conversation_logs_enabled?: boolean
Whether conversation logs are enabled for the agent
created_at?: string
Creation date / time
deployment?: Deployment { created_at, name, status, 4 more }
Description of deployment
created_at?: string
Creation date / time
name?: string
Name
status?: "STATUS_UNKNOWN" | "STATUS_WAITING_FOR_DEPLOYMENT" | "STATUS_DEPLOYING" | 6 more
updated_at?: string
Last modified
url?: string
Access your deployed agent here
uuid?: string
Unique id
- VISIBILITY_UNKNOWN: The status of the deployment is unknown
- VISIBILITY_DISABLED: The deployment is disabled and will no longer service requests
- VISIBILITY_PLAYGROUND: Deprecated: No longer a valid state
- VISIBILITY_PUBLIC: The deployment is public and will service requests from the public internet
- VISIBILITY_PRIVATE: The deployment is private and will only service requests from other agents, or through API keys
description?: string
Description of agent
functions?: Array<Function>
api_key?: string
Api key
created_at?: string
Creation date / time
created_by?: string
Created by user id from DO
description?: string
Agent description
name?: string
Name
updated_at?: string
Last modified
url?: string
Download your agent here
uuid?: string
Unique id
guardrails?: Array<Guardrail>
The guardrails the agent is attached to
type?: "GUARDRAIL_TYPE_UNKNOWN" | "GUARDRAIL_TYPE_JAILBREAK" | "GUARDRAIL_TYPE_SENSITIVE_DATA" | "GUARDRAIL_TYPE_CONTENT_MODERATION"
instruction?: string
Agent instruction. Instructions help your agent to perform its job effectively. See Write Effective Agent Instructions for best practices.
Knowledge bases
added_to_agent_at?: string
Time when the knowledge base was added to the agent
created_at?: string
Creation date / time
is_public?: boolean
Whether the knowledge base is public or not
last_indexing_job?: APIIndexingJob { completed_datasources, created_at, data_source_uuids, 12 more }
IndexingJob description
completed_datasources?: number
Number of datasources indexed completed
created_at?: string
Creation date / time
knowledge_base_uuid?: string
Knowledge base id
phase?: "BATCH_JOB_PHASE_UNKNOWN" | "BATCH_JOB_PHASE_PENDING" | "BATCH_JOB_PHASE_RUNNING" | 4 more
status?: "INDEX_JOB_STATUS_UNKNOWN" | "INDEX_JOB_STATUS_PARTIAL" | "INDEX_JOB_STATUS_IN_PROGRESS" | 4 more
tokens?: number
Number of tokens
total_datasources?: number
Number of datasources being indexed
total_items_failed?: string
Total Items Failed
total_items_indexed?: string
Total Items Indexed
total_items_skipped?: string
Total Items Skipped
updated_at?: string
Last modified
uuid?: string
Unique id
name?: string
Name of knowledge base
region?: string
Region code
tags?: Array<string>
Tags to organize related resources
updated_at?: string
Last modified
user_id?: string
Id of user that created the knowledge base
uuid?: string
Unique id for knowledge base
logging_config?: LoggingConfig { galileo_project_id, galileo_project_name, insights_enabled, 3 more }
galileo_project_id?: string
Galileo project identifier
galileo_project_name?: string
Name of the Galileo project
insights_enabled?: boolean
Whether insights are enabled
insights_enabled_at?: string
Timestamp when insights were enabled
log_stream_id?: string
Identifier for the log stream
log_stream_name?: string
Name of the log stream
Description of a Model
Agreement Description
created_at?: string
Creation date / time
inference_name?: string
Internally used name
inference_version?: string
Internally used version
is_foundational?: boolean
True if it is a foundational model provided by do
metadata?: unknown
Additional meta data
name?: string
Name of the model
parent_uuid?: string
Unique id of the model, this model is based on
provider?: "MODEL_PROVIDER_DIGITALOCEAN" | "MODEL_PROVIDER_ANTHROPIC" | "MODEL_PROVIDER_OPENAI"
updated_at?: string
Last modified
upload_complete?: boolean
Model has been fully uploaded
url?: string
Download url
usecases?: Array<"MODEL_USECASE_UNKNOWN" | "MODEL_USECASE_AGENT" | "MODEL_USECASE_FINETUNED" | 4 more>
Usecases of the model
uuid?: string
Unique id
Version Information about a Model
major?: number
Major version number
minor?: number
Minor version number
patch?: number
Patch version number
name?: string
Agent name
OpenAI API Key Info
created_at?: string
Key creation date
created_by?: string
Created by user id from DO
deleted_at?: string
Key deleted date
Models supported by the openAI api key
Agreement Description
created_at?: string
Creation date / time
inference_name?: string
Internally used name
inference_version?: string
Internally used version
is_foundational?: boolean
True if it is a foundational model provided by do
metadata?: unknown
Additional meta data
name?: string
Name of the model
parent_uuid?: string
Unique id of the model, this model is based on
provider?: "MODEL_PROVIDER_DIGITALOCEAN" | "MODEL_PROVIDER_ANTHROPIC" | "MODEL_PROVIDER_OPENAI"
updated_at?: string
Last modified
upload_complete?: boolean
Model has been fully uploaded
url?: string
Download url
usecases?: Array<"MODEL_USECASE_UNKNOWN" | "MODEL_USECASE_AGENT" | "MODEL_USECASE_FINETUNED" | 4 more>
Usecases of the model
uuid?: string
Unique id
Version Information about a Model
major?: number
Major version number
minor?: number
Minor version number
patch?: number
Patch version number
name?: string
Name
updated_at?: string
Key last updated date
uuid?: string
Uuid
Parent agents
APIAgent { anthropic_api_key, api_key_infos, api_keys, 37 more }
An Agent
Anthropic API Key Info
created_at?: string
Key creation date
created_by?: string
Created by user id from DO
deleted_at?: string
Key deleted date
name?: string
Name
updated_at?: string
Key last updated date
uuid?: string
Uuid
Api key infos
created_at?: string
Creation date
created_by?: string
Created by
deleted_at?: string
Deleted date
name?: string
Name
uuid?: string
Uuid
api_keys?: Array<APIKey>
Api keys
api_key?: string
Api key
chatbot?: Chatbot { button_background_color, logo, name, 3 more }
A Chatbot
name?: string
Name of chatbot
chatbot_identifiers?: Array<ChatbotIdentifier>
Chatbot identifiers
agent_chatbot_identifier?: string
Agent chatbot identifier
conversation_logs_enabled?: boolean
Whether conversation logs are enabled for the agent
created_at?: string
Creation date / time
deployment?: Deployment { created_at, name, status, 4 more }
Description of deployment
created_at?: string
Creation date / time
name?: string
Name
status?: "STATUS_UNKNOWN" | "STATUS_WAITING_FOR_DEPLOYMENT" | "STATUS_DEPLOYING" | 6 more
updated_at?: string
Last modified
url?: string
Access your deployed agent here
uuid?: string
Unique id
- VISIBILITY_UNKNOWN: The status of the deployment is unknown
- VISIBILITY_DISABLED: The deployment is disabled and will no longer service requests
- VISIBILITY_PLAYGROUND: Deprecated: No longer a valid state
- VISIBILITY_PUBLIC: The deployment is public and will service requests from the public internet
- VISIBILITY_PRIVATE: The deployment is private and will only service requests from other agents, or through API keys
description?: string
Description of agent
functions?: Array<Function>
api_key?: string
Api key
created_at?: string
Creation date / time
created_by?: string
Created by user id from DO
description?: string
Agent description
name?: string
Name
updated_at?: string
Last modified
url?: string
Download your agent here
uuid?: string
Unique id
guardrails?: Array<Guardrail>
The guardrails the agent is attached to
type?: "GUARDRAIL_TYPE_UNKNOWN" | "GUARDRAIL_TYPE_JAILBREAK" | "GUARDRAIL_TYPE_SENSITIVE_DATA" | "GUARDRAIL_TYPE_CONTENT_MODERATION"
instruction?: string
Agent instruction. Instructions help your agent to perform its job effectively. See Write Effective Agent Instructions for best practices.
Knowledge bases
added_to_agent_at?: string
Time when the knowledge base was added to the agent
created_at?: string
Creation date / time
is_public?: boolean
Whether the knowledge base is public or not
last_indexing_job?: APIIndexingJob { completed_datasources, created_at, data_source_uuids, 12 more }
IndexingJob description
completed_datasources?: number
Number of datasources indexed completed
created_at?: string
Creation date / time
knowledge_base_uuid?: string
Knowledge base id
phase?: "BATCH_JOB_PHASE_UNKNOWN" | "BATCH_JOB_PHASE_PENDING" | "BATCH_JOB_PHASE_RUNNING" | 4 more
status?: "INDEX_JOB_STATUS_UNKNOWN" | "INDEX_JOB_STATUS_PARTIAL" | "INDEX_JOB_STATUS_IN_PROGRESS" | 4 more
tokens?: number
Number of tokens
total_datasources?: number
Number of datasources being indexed
total_items_failed?: string
Total Items Failed
total_items_indexed?: string
Total Items Indexed
total_items_skipped?: string
Total Items Skipped
updated_at?: string
Last modified
uuid?: string
Unique id
name?: string
Name of knowledge base
region?: string
Region code
tags?: Array<string>
Tags to organize related resources
updated_at?: string
Last modified
user_id?: string
Id of user that created the knowledge base
uuid?: string
Unique id for knowledge base
logging_config?: LoggingConfig { galileo_project_id, galileo_project_name, insights_enabled, 3 more }
galileo_project_id?: string
Galileo project identifier
galileo_project_name?: string
Name of the Galileo project
insights_enabled?: boolean
Whether insights are enabled
insights_enabled_at?: string
Timestamp when insights were enabled
log_stream_id?: string
Identifier for the log stream
log_stream_name?: string
Name of the log stream
Description of a Model
Agreement Description
created_at?: string
Creation date / time
inference_name?: string
Internally used name
inference_version?: string
Internally used version
is_foundational?: boolean
True if it is a foundational model provided by do
metadata?: unknown
Additional meta data
name?: string
Name of the model
parent_uuid?: string
Unique id of the model, this model is based on
provider?: "MODEL_PROVIDER_DIGITALOCEAN" | "MODEL_PROVIDER_ANTHROPIC" | "MODEL_PROVIDER_OPENAI"
updated_at?: string
Last modified
upload_complete?: boolean
Model has been fully uploaded
url?: string
Download url
usecases?: Array<"MODEL_USECASE_UNKNOWN" | "MODEL_USECASE_AGENT" | "MODEL_USECASE_FINETUNED" | 4 more>
Usecases of the model
uuid?: string
Unique id
Version Information about a Model
major?: number
Major version number
minor?: number
Minor version number
patch?: number
Patch version number
name?: string
Agent name
OpenAI API Key Info
created_at?: string
Key creation date
created_by?: string
Created by user id from DO
deleted_at?: string
Key deleted date
Models supported by the openAI api key
Agreement Description
created_at?: string
Creation date / time
inference_name?: string
Internally used name
inference_version?: string
Internally used version
is_foundational?: boolean
True if it is a foundational model provided by do
metadata?: unknown
Additional meta data
name?: string
Name of the model
parent_uuid?: string
Unique id of the model, this model is based on
provider?: "MODEL_PROVIDER_DIGITALOCEAN" | "MODEL_PROVIDER_ANTHROPIC" | "MODEL_PROVIDER_OPENAI"
updated_at?: string
Last modified
upload_complete?: boolean
Model has been fully uploaded
url?: string
Download url
usecases?: Array<"MODEL_USECASE_UNKNOWN" | "MODEL_USECASE_AGENT" | "MODEL_USECASE_FINETUNED" | 4 more>
Usecases of the model
uuid?: string
Unique id
Version Information about a Model
major?: number
Major version number
minor?: number
Minor version number
patch?: number
Patch version number
name?: string
Name
updated_at?: string
Key last updated date
uuid?: string
Uuid
provide_citations?: boolean
Whether the agent should provide in-response citations
region?: string
Region code
- RETRIEVAL_METHOD_UNKNOWN: The retrieval method is unknown
- RETRIEVAL_METHOD_REWRITE: The retrieval method is rewrite
- RETRIEVAL_METHOD_STEP_BACK: The retrieval method is step back
- RETRIEVAL_METHOD_SUB_QUERIES: The retrieval method is sub queries
- RETRIEVAL_METHOD_NONE: The retrieval method is none
route_created_at?: string
Creation of route date / time
route_name?: string
Route name
tags?: Array<string>
Agent tag to organize related resources
template?: Template { created_at, description, guardrails, 15 more }
Represents an AgentTemplate entity
created_at?: string
The agent template's creation date
description?: string
Deprecated - Use summary instead
guardrails?: Array<Guardrail>
List of guardrails associated with the agent template
priority?: number
Priority of the guardrail
uuid?: string
Uuid of the guardrail
instruction?: string
Instructions for the agent template
k?: number
The 'k' value for the agent template
List of knowledge bases associated with the agent template
added_to_agent_at?: string
Time when the knowledge base was added to the agent
created_at?: string
Creation date / time
is_public?: boolean
Whether the knowledge base is public or not
last_indexing_job?: APIIndexingJob { completed_datasources, created_at, data_source_uuids, 12 more }
IndexingJob description
completed_datasources?: number
Number of datasources indexed completed
created_at?: string
Creation date / time
knowledge_base_uuid?: string
Knowledge base id
phase?: "BATCH_JOB_PHASE_UNKNOWN" | "BATCH_JOB_PHASE_PENDING" | "BATCH_JOB_PHASE_RUNNING" | 4 more
status?: "INDEX_JOB_STATUS_UNKNOWN" | "INDEX_JOB_STATUS_PARTIAL" | "INDEX_JOB_STATUS_IN_PROGRESS" | 4 more
tokens?: number
Number of tokens
total_datasources?: number
Number of datasources being indexed
total_items_failed?: string
Total Items Failed
total_items_indexed?: string
Total Items Indexed
total_items_skipped?: string
Total Items Skipped
updated_at?: string
Last modified
uuid?: string
Unique id
name?: string
Name of knowledge base
region?: string
Region code
tags?: Array<string>
Tags to organize related resources
updated_at?: string
Last modified
user_id?: string
Id of user that created the knowledge base
uuid?: string
Unique id for knowledge base
long_description?: string
The long description of the agent template
max_tokens?: number
The max_tokens setting for the agent template
Description of a Model
Agreement Description
created_at?: string
Creation date / time
inference_name?: string
Internally used name
inference_version?: string
Internally used version
is_foundational?: boolean
True if it is a foundational model provided by do
metadata?: unknown
Additional meta data
name?: string
Name of the model
parent_uuid?: string
Unique id of the model, this model is based on
provider?: "MODEL_PROVIDER_DIGITALOCEAN" | "MODEL_PROVIDER_ANTHROPIC" | "MODEL_PROVIDER_OPENAI"
updated_at?: string
Last modified
upload_complete?: boolean
Model has been fully uploaded
url?: string
Download url
usecases?: Array<"MODEL_USECASE_UNKNOWN" | "MODEL_USECASE_AGENT" | "MODEL_USECASE_FINETUNED" | 4 more>
Usecases of the model
uuid?: string
Unique id
Version Information about a Model
major?: number
Major version number
minor?: number
Minor version number
patch?: number
Patch version number
name?: string
Name of the agent template
short_description?: string
The short description of the agent template
summary?: string
The summary of the agent template
tags?: Array<string>
List of tags associated with the agent template
temperature?: number
The temperature setting for the agent template
template_type?: "AGENT_TEMPLATE_TYPE_STANDARD" | "AGENT_TEMPLATE_TYPE_ONE_CLICK"
- AGENT_TEMPLATE_TYPE_STANDARD: The standard agent template
- AGENT_TEMPLATE_TYPE_ONE_CLICK: The one click agent template
top_p?: number
The top_p setting for the agent template
updated_at?: string
The agent template's last updated date
uuid?: string
Unique id
updated_at?: string
Last modified
url?: string
Access your agent under this url
user_id?: string
Id of user that created the agent
uuid?: string
Unique agent id
version_hash?: string
The latest version of the agent
provide_citations?: boolean
Whether the agent should provide in-response citations
region?: string
Region code
- RETRIEVAL_METHOD_UNKNOWN: The retrieval method is unknown
- RETRIEVAL_METHOD_REWRITE: The retrieval method is rewrite
- RETRIEVAL_METHOD_STEP_BACK: The retrieval method is step back
- RETRIEVAL_METHOD_SUB_QUERIES: The retrieval method is sub queries
- RETRIEVAL_METHOD_NONE: The retrieval method is none
route_created_at?: string
Creation of route date / time
route_name?: string
Route name
tags?: Array<string>
Agent tag to organize related resources
template?: Template { created_at, description, guardrails, 15 more }
Represents an AgentTemplate entity
created_at?: string
The agent template's creation date
description?: string
Deprecated - Use summary instead
guardrails?: Array<Guardrail>
List of guardrails associated with the agent template
priority?: number
Priority of the guardrail
uuid?: string
Uuid of the guardrail
instruction?: string
Instructions for the agent template
k?: number
The 'k' value for the agent template
List of knowledge bases associated with the agent template
added_to_agent_at?: string
Time when the knowledge base was added to the agent
created_at?: string
Creation date / time
is_public?: boolean
Whether the knowledge base is public or not
last_indexing_job?: APIIndexingJob { completed_datasources, created_at, data_source_uuids, 12 more }
IndexingJob description
completed_datasources?: number
Number of datasources indexed completed
created_at?: string
Creation date / time
knowledge_base_uuid?: string
Knowledge base id
phase?: "BATCH_JOB_PHASE_UNKNOWN" | "BATCH_JOB_PHASE_PENDING" | "BATCH_JOB_PHASE_RUNNING" | 4 more
status?: "INDEX_JOB_STATUS_UNKNOWN" | "INDEX_JOB_STATUS_PARTIAL" | "INDEX_JOB_STATUS_IN_PROGRESS" | 4 more
tokens?: number
Number of tokens
total_datasources?: number
Number of datasources being indexed
total_items_failed?: string
Total Items Failed
total_items_indexed?: string
Total Items Indexed
total_items_skipped?: string
Total Items Skipped
updated_at?: string
Last modified
uuid?: string
Unique id
name?: string
Name of knowledge base
region?: string
Region code
tags?: Array<string>
Tags to organize related resources
updated_at?: string
Last modified
user_id?: string
Id of user that created the knowledge base
uuid?: string
Unique id for knowledge base
long_description?: string
The long description of the agent template
max_tokens?: number
The max_tokens setting for the agent template
Description of a Model
Agreement Description
created_at?: string
Creation date / time
inference_name?: string
Internally used name
inference_version?: string
Internally used version
is_foundational?: boolean
True if it is a foundational model provided by do
metadata?: unknown
Additional meta data
name?: string
Name of the model
parent_uuid?: string
Unique id of the model, this model is based on
provider?: "MODEL_PROVIDER_DIGITALOCEAN" | "MODEL_PROVIDER_ANTHROPIC" | "MODEL_PROVIDER_OPENAI"
updated_at?: string
Last modified
upload_complete?: boolean
Model has been fully uploaded
url?: string
Download url
usecases?: Array<"MODEL_USECASE_UNKNOWN" | "MODEL_USECASE_AGENT" | "MODEL_USECASE_FINETUNED" | 4 more>
Usecases of the model
uuid?: string
Unique id
Version Information about a Model
major?: number
Major version number
minor?: number
Minor version number
patch?: number
Patch version number
name?: string
Name of the agent template
short_description?: string
The short description of the agent template
summary?: string
The summary of the agent template
tags?: Array<string>
List of tags associated with the agent template
temperature?: number
The temperature setting for the agent template
template_type?: "AGENT_TEMPLATE_TYPE_STANDARD" | "AGENT_TEMPLATE_TYPE_ONE_CLICK"
- AGENT_TEMPLATE_TYPE_STANDARD: The standard agent template
- AGENT_TEMPLATE_TYPE_ONE_CLICK: The one click agent template
top_p?: number
The top_p setting for the agent template
updated_at?: string
The agent template's last updated date
uuid?: string
Unique id
updated_at?: string
Last modified
url?: string
Access your agent under this url
user_id?: string
Id of user that created the agent
uuid?: string
Unique agent id
version_hash?: string
The latest version of the agent