API Reference
Libraries
API Overview
Agents
Create an Agent
/v2/gen-ai/agents
Delete an Agent
/v2/gen-ai/agents/{uuid}
List Agents
/v2/gen-ai/agents
Retrieve an Existing Agent
/v2/gen-ai/agents/{uuid}
Get Agent Usage
/v2/gen-ai/agents/{uuid}/usage
Update an Agent
/v2/gen-ai/agents/{uuid}
Update Agent Status
/v2/gen-ai/agents/{uuid}/deployment_visibility
AgentsAPI Keys
Create an Agent API Key
/v2/gen-ai/agents/{agent_uuid}/api_keys
Delete API Key for an Agent
/v2/gen-ai/agents/{agent_uuid}/api_keys/{api_key_uuid}
List Agent API Keys
/v2/gen-ai/agents/{agent_uuid}/api_keys
Regenerate API Key for an Agent
/v2/gen-ai/agents/{agent_uuid}/api_keys/{api_key_uuid}/regenerate
Update API Key for an Agent
/v2/gen-ai/agents/{agent_uuid}/api_keys/{api_key_uuid}
AgentsChat
AgentsChatCompletions
Creates a model response for the given chat conversation.
/chat/completions?agent=true
AgentsEvaluation Datasets
Create Evaluation Dataset
/v2/gen-ai/evaluation_datasets
Create Presigned URLs for Evaluation Dataset File Upload
/v2/gen-ai/evaluation_datasets/file_upload_presigned_urls
AgentsEvaluation Metrics
List Evaluation Metrics
/v2/gen-ai/evaluation_metrics
List Datacenter Regions
/v2/gen-ai/regions
AgentsEvaluation MetricsAnthropic
AgentsEvaluation MetricsAnthropicKeys
Create Anthropic API Key
/v2/gen-ai/anthropic/keys
Delete Anthropic API Key
/v2/gen-ai/anthropic/keys/{api_key_uuid}
List Anthropic API Keys
/v2/gen-ai/anthropic/keys
List agents by Anthropic key
/v2/gen-ai/anthropic/keys/{uuid}/agents
Get Anthropic API Key
/v2/gen-ai/anthropic/keys/{api_key_uuid}
Update Anthropic API Key
/v2/gen-ai/anthropic/keys/{api_key_uuid}
AgentsEvaluation MetricsModels
List Available Models
/v2/gen-ai/models
AgentsEvaluation MetricsOauth2
Get Oauth2 URL
/v2/gen-ai/oauth2/url
AgentsEvaluation MetricsOauth2Dropbox
Get Oauth2 Dropbox Tokens
/v2/gen-ai/oauth2/dropbox/tokens
AgentsEvaluation MetricsOpenAI
AgentsEvaluation MetricsOpenAIKeys
Create OpenAI API Key
/v2/gen-ai/openai/keys
Delete OpenAI API Key
/v2/gen-ai/openai/keys/{api_key_uuid}
List OpenAI API Keys
/v2/gen-ai/openai/keys
List agents by OpenAI key
/v2/gen-ai/openai/keys/{uuid}/agents
Get OpenAI API Key
/v2/gen-ai/openai/keys/{api_key_uuid}
Update OpenAI API Key
/v2/gen-ai/openai/keys/{api_key_uuid}
AgentsEvaluation MetricsWorkspaces
Create a Workspace
/v2/gen-ai/workspaces
Delete a Workspace
/v2/gen-ai/workspaces/{workspace_uuid}
List Workspaces
/v2/gen-ai/workspaces
List Evaluation Test Cases by Workspace
/v2/gen-ai/workspaces/{workspace_uuid}/evaluation_test_cases
Retrieve an Existing Workspace
/v2/gen-ai/workspaces/{workspace_uuid}
Update a Workspace
/v2/gen-ai/workspaces/{workspace_uuid}
AgentsEvaluation MetricsWorkspacesAgents
List agents by Workspace
/v2/gen-ai/workspaces/{workspace_uuid}/agents
Move Agents to a Workspace
/v2/gen-ai/workspaces/{workspace_uuid}/agents
AgentsEvaluation Runs
Run an Evaluation Test Case
/v2/gen-ai/evaluation_runs
Retrieve Results of an Evaluation Run
/v2/gen-ai/evaluation_runs/{evaluation_run_uuid}/results
Retrieve Information About an Existing Evaluation Run
/v2/gen-ai/evaluation_runs/{evaluation_run_uuid}
Retrieve Results of an Evaluation Run Prompt
/v2/gen-ai/evaluation_runs/{evaluation_run_uuid}/results/{prompt_id}
AgentsEvaluation Test Cases
Create Evaluation Test Case.
/v2/gen-ai/evaluation_test_cases
List Evaluation Test Cases
/v2/gen-ai/evaluation_test_cases
List Evaluation Runs by Test Case
/v2/gen-ai/evaluation_test_cases/{evaluation_test_case_uuid}/evaluation_runs
Retrieve Information About an Existing Evaluation Test Case
/v2/gen-ai/evaluation_test_cases/{test_case_uuid}
Update an Evaluation Test Case.
/v2/gen-ai/evaluation_test_cases/{test_case_uuid}
AgentsFunctions
Add Function Route to an Agent
/v2/gen-ai/agents/{agent_uuid}/functions
Delete Function Route for an Agent
/v2/gen-ai/agents/{agent_uuid}/functions/{function_uuid}
Update Function Route for an Agent
/v2/gen-ai/agents/{agent_uuid}/functions/{function_uuid}
AgentsKnowledge Bases
Attach Knowledge Bases to an Agent
/v2/gen-ai/agents/{agent_uuid}/knowledge_bases
Attach Knowledge Base to an Agent
/v2/gen-ai/agents/{agent_uuid}/knowledge_bases/{knowledge_base_uuid}
Detach Knowledge Base from an Agent
/v2/gen-ai/agents/{agent_uuid}/knowledge_bases/{knowledge_base_uuid}
AgentsRoutes
Add Agent Route to an Agent
/v2/gen-ai/agents/{parent_agent_uuid}/child_agents/{child_agent_uuid}
Delete Agent Route for an Agent
/v2/gen-ai/agents/{parent_agent_uuid}/child_agents/{child_agent_uuid}
Update Agent Route for an Agent
/v2/gen-ai/agents/{parent_agent_uuid}/child_agents/{child_agent_uuid}
View Agent Routes
/v2/gen-ai/agents/{uuid}/child_agents
AgentsVersions
List Agent Versions
/v2/gen-ai/agents/{uuid}/versions
Rollback to Agent Version
/v2/gen-ai/agents/{uuid}/versions
Chat
ChatCompletions
Creates a model response for the given chat conversation.
/chat/completions
Databases
DatabasesSchema Registry
DatabasesSchema RegistryConfig
Retrieve Schema Registry Configuration for a kafka Cluster
/v2/databases/{database_cluster_uuid}/schema-registry/config
Retrieve Schema Registry Configuration for a Subject of kafka Cluster
/v2/databases/{database_cluster_uuid}/schema-registry/config/{subject_name}
Update Schema Registry Configuration for a kafka Cluster
/v2/databases/{database_cluster_uuid}/schema-registry/config
Update Schema Registry Configuration for a Subject of kafka Cluster
/v2/databases/{database_cluster_uuid}/schema-registry/config/{subject_name}
GPU Droplets
Create a New Droplet
/v2/droplets
Delete an Existing Droplet
/v2/droplets/{droplet_id}
Deleting Droplets by Tag
/v2/droplets
List All Droplets
/v2/droplets
List all Firewalls Applied to a Droplet
/v2/droplets/{droplet_id}/firewalls
List All Available Kernels for a Droplet
/v2/droplets/{droplet_id}/kernels
List Neighbors for a Droplet
/v2/droplets/{droplet_id}/neighbors
List Snapshots for a Droplet
/v2/droplets/{droplet_id}/snapshots
Retrieve an Existing Droplet
/v2/droplets/{droplet_id}
GPU DropletsAccount
GPU DropletsAccountKeys
Create a New SSH Key
/v2/account/keys
Delete an SSH Key
/v2/account/keys/{ssh_key_identifier}
List All SSH Keys
/v2/account/keys
Retrieve an Existing SSH Key
/v2/account/keys/{ssh_key_identifier}
Update an SSH Key's Name
/v2/account/keys/{ssh_key_identifier}
GPU DropletsActions
Acting on Tagged Droplets
/v2/droplets/actions
Initiate a Droplet Action
/v2/droplets/{droplet_id}/actions
List Actions for a Droplet
/v2/droplets/{droplet_id}/actions
Retrieve a Droplet Action
/v2/droplets/{droplet_id}/actions/{action_id}
GPU DropletsAutoscale
Create a New Autoscale Pool
/v2/droplets/autoscale
Delete autoscale pool
/v2/droplets/autoscale/{autoscale_pool_id}
Delete autoscale pool and resources
/v2/droplets/autoscale/{autoscale_pool_id}/dangerous
List All Autoscale Pools
/v2/droplets/autoscale
List history events
/v2/droplets/autoscale/{autoscale_pool_id}/history
List members
/v2/droplets/autoscale/{autoscale_pool_id}/members
Retrieve an Existing Autoscale Pool
/v2/droplets/autoscale/{autoscale_pool_id}
Update Autoscale Pool
/v2/droplets/autoscale/{autoscale_pool_id}
GPU DropletsBackups
List Backups for a Droplet
/v2/droplets/{droplet_id}/backups
List Backup Policies for All Existing Droplets
/v2/droplets/backups/policies
List Supported Droplet Backup Policies
/v2/droplets/backups/supported_policies
Retrieve the Backup Policy for an Existing Droplet
/v2/droplets/{droplet_id}/backups/policy
GPU DropletsDestroy With Associated Resources
Check Status of a Droplet Destroy with Associated Resources Request
/v2/droplets/{droplet_id}/destroy_with_associated_resources/status
Destroy a Droplet and All of its Associated Resources (Dangerous)
/v2/droplets/{droplet_id}/destroy_with_associated_resources/dangerous
Selectively Destroy a Droplet and its Associated Resources
/v2/droplets/{droplet_id}/destroy_with_associated_resources/selective
List Associated Resources for a Droplet
/v2/droplets/{droplet_id}/destroy_with_associated_resources
Retry a Droplet Destroy with Associated Resources Request
/v2/droplets/{droplet_id}/destroy_with_associated_resources/retry
GPU DropletsFirewalls
Create a New Firewall
/v2/firewalls
Delete a Firewall
/v2/firewalls/{firewall_id}
List All Firewalls
/v2/firewalls
Retrieve an Existing Firewall
/v2/firewalls/{firewall_id}
Update a Firewall
/v2/firewalls/{firewall_id}
GPU DropletsFirewallsDroplets
Add Droplets to a Firewall
/v2/firewalls/{firewall_id}/droplets
Remove Droplets from a Firewall
/v2/firewalls/{firewall_id}/droplets
GPU DropletsFirewallsRules
Add Rules to a Firewall
/v2/firewalls/{firewall_id}/rules
Remove Rules from a Firewall
/v2/firewalls/{firewall_id}/rules
GPU DropletsFirewallsTags
Add Tags to a Firewall
/v2/firewalls/{firewall_id}/tags
Remove Tags from a Firewall
/v2/firewalls/{firewall_id}/tags
GPU DropletsFloating IPs
Create a New Floating IP
/v2/floating_ips
Delete a Floating IP
/v2/floating_ips/{floating_ip}
List All Floating IPs
/v2/floating_ips
Retrieve an Existing Floating IP
/v2/floating_ips/{floating_ip}
GPU DropletsFloating IPsActions
Initiate a Floating IP Action
/v2/floating_ips/{floating_ip}/actions
List All Actions for a Floating IP
/v2/floating_ips/{floating_ip}/actions
Retrieve an Existing Floating IP Action
/v2/floating_ips/{floating_ip}/actions/{action_id}
GPU DropletsImages
Create a Custom Image
/v2/images
Delete an Image
/v2/images/{image_id}
List All Images
/v2/images
Retrieve an Existing Image
/v2/images/{image_id}
Update an Image
/v2/images/{image_id}
GPU DropletsImagesActions
Initiate an Image Action
/v2/images/{image_id}/actions
List All Actions for an Image
/v2/images/{image_id}/actions
Retrieve an Existing Action
/v2/images/{image_id}/actions/{action_id}
GPU DropletsLoad Balancers
Create a New Load Balancer
/v2/load_balancers
Delete a Load Balancer
/v2/load_balancers/{lb_id}
Delete a Global Load Balancer CDN Cache
/v2/load_balancers/{lb_id}/cache
List All Load Balancers
/v2/load_balancers
Retrieve an Existing Load Balancer
/v2/load_balancers/{lb_id}
Update a Load Balancer
/v2/load_balancers/{lb_id}
GPU DropletsLoad BalancersDroplets
Add Droplets to a Load Balancer
/v2/load_balancers/{lb_id}/droplets
Remove Droplets from a Load Balancer
/v2/load_balancers/{lb_id}/droplets
GPU DropletsLoad BalancersForwarding Rules
Add Forwarding Rules to a Load Balancer
/v2/load_balancers/{lb_id}/forwarding_rules
Remove Forwarding Rules from a Load Balancer
/v2/load_balancers/{lb_id}/forwarding_rules
GPU DropletsSizes
List All Droplet Sizes
/v2/sizes
GPU DropletsSnapshots
Delete a Snapshot
/v2/snapshots/{snapshot_id}
List All Snapshots
/v2/snapshots
Retrieve an Existing Snapshot
/v2/snapshots/{snapshot_id}
GPU DropletsVolumes
Create a New Block Storage Volume
/v2/volumes
Delete a Block Storage Volume
/v2/volumes/{volume_id}
Delete a Block Storage Volume by Name
/v2/volumes
List All Block Storage Volumes
/v2/volumes
Retrieve an Existing Block Storage Volume
/v2/volumes/{volume_id}
GPU DropletsVolumesActions
Initiate A Block Storage Action By Volume Id
/v2/volumes/{volume_id}/actions
Initiate A Block Storage Action By Volume Name
/v2/volumes/actions
List All Actions for a Volume
/v2/volumes/{volume_id}/actions
Retrieve an Existing Volume Action
/v2/volumes/{volume_id}/actions/{action_id}
GPU DropletsVolumesSnapshots
Create Snapshot from a Volume
/v2/volumes/{volume_id}/snapshots
Delete a Volume Snapshot
/v2/volumes/snapshots/{snapshot_id}
List Snapshots for a Volume
/v2/volumes/{volume_id}/snapshots
Retrieve an Existing Volume Snapshot
/v2/volumes/snapshots/{snapshot_id}
Images
Creates an image given a prompt
/images/generations
Inference
InferenceAPI Keys
Create a Model API Key
/v2/gen-ai/models/api_keys
Delete API Key for a Model
/v2/gen-ai/models/api_keys/{api_key_uuid}
List Model API Keys
/v2/gen-ai/models/api_keys
Update API Key for a Model
/v2/gen-ai/models/api_keys/{api_key_uuid}
Regenerate API Key for a Model
/v2/gen-ai/models/api_keys/{api_key_uuid}/regenerate
Knowledge Bases
Create a Knowledge Base
/v2/gen-ai/knowledge_bases
Delete a Knowledge Base
/v2/gen-ai/knowledge_bases/{uuid}
List Knowledge Bases
/v2/gen-ai/knowledge_bases
Retrieve Information About an Existing Knowledge Base
/v2/gen-ai/knowledge_bases/{uuid}
Update a Knowledge Base
/v2/gen-ai/knowledge_bases/{uuid}
Knowledge BasesData Sources
Add Data Source to a Knowledge Base
/v2/gen-ai/knowledge_bases/{knowledge_base_uuid}/data_sources
Create Presigned URLs for Data Source File Upload
/v2/gen-ai/knowledge_bases/data_sources/file_upload_presigned_urls
Delete a Data Source from a Knowledge Base
/v2/gen-ai/knowledge_bases/{knowledge_base_uuid}/data_sources/{data_source_uuid}
List Data Sources for a Knowledge Base
/v2/gen-ai/knowledge_bases/{knowledge_base_uuid}/data_sources
Knowledge BasesIndexing Jobs
Start Indexing Job for a Knowledge Base
/v2/gen-ai/indexing_jobs
List Indexing Jobs for a Knowledge Base
/v2/gen-ai/indexing_jobs
Retrieve Status of Indexing Job for a Knowledge Base
/v2/gen-ai/indexing_jobs/{uuid}
List Data Sources for Indexing Job for a Knowledge Base
/v2/gen-ai/indexing_jobs/{indexing_job_uuid}/data_sources
Cancel Indexing Job for a Knowledge Base
/v2/gen-ai/indexing_jobs/{uuid}/cancel
Models
List Available Models
/v2/gen-ai/models
ModelsProviders
ModelsProvidersAnthropic
Create Anthropic API Key
/v2/gen-ai/anthropic/keys
Delete Anthropic API Key
/v2/gen-ai/anthropic/keys/{api_key_uuid}
List Anthropic API Keys
/v2/gen-ai/anthropic/keys
List agents by Anthropic key
/v2/gen-ai/anthropic/keys/{uuid}/agents
Get Anthropic API Key
/v2/gen-ai/anthropic/keys/{api_key_uuid}
Update Anthropic API Key
/v2/gen-ai/anthropic/keys/{api_key_uuid}
ModelsProvidersOpenAI
Create OpenAI API Key
/v2/gen-ai/openai/keys
Delete OpenAI API Key
/v2/gen-ai/openai/keys/{api_key_uuid}
List OpenAI API Keys
/v2/gen-ai/openai/keys
Get OpenAI API Key
/v2/gen-ai/openai/keys/{api_key_uuid}
List agents by OpenAI key
/v2/gen-ai/openai/keys/{uuid}/agents
Update OpenAI API Key
/v2/gen-ai/openai/keys/{api_key_uuid}
Regions
List All Data Center Regions
/v2/regions