Digital Ocean Gen Ai API

The Gen Ai API from Digital Ocean — 96 operation(s) for gen ai.

Operations 142

GET /v2/gen-ai/agents Get gen ai agents #
POST /v2/gen-ai/agents Create gen ai agents #
GET /v2/gen-ai/agents/{agent_uuid}/api_keys Get gen ai agents by agent uuid api keys #
POST /v2/gen-ai/agents/{agent_uuid}/api_keys Create gen ai agents by agent uuid api keys #
PUT /v2/gen-ai/agents/{agent_uuid}/api_keys/{api_key_uuid} Replace gen ai agents by agent uuid api keys by api key uuid #
DELETE /v2/gen-ai/agents/{agent_uuid}/api_keys/{api_key_uuid} Delete gen ai agents by agent uuid api keys by api key uuid #
PUT /v2/gen-ai/agents/{agent_uuid}/api_keys/{api_key_uuid}/regenerate Replace gen ai agents by agent uuid api keys by api key uuid regenerate #
POST /v2/gen-ai/agents/{agent_uuid}/functions Create gen ai agents by agent uuid functions #
PUT /v2/gen-ai/agents/{agent_uuid}/functions/{function_uuid} Replace gen ai agents by agent uuid functions by function uuid #
DELETE /v2/gen-ai/agents/{agent_uuid}/functions/{function_uuid} Delete gen ai agents by agent uuid functions by function uuid #
POST /v2/gen-ai/agents/{agent_uuid}/guardrails Create gen ai agents by agent uuid guardrails #
DELETE /v2/gen-ai/agents/{agent_uuid}/guardrails/{guardrail_uuid} Delete gen ai agents by agent uuid guardrails by guardrail uuid #
POST /v2/gen-ai/agents/{agent_uuid}/knowledge_bases Create gen ai agents by agent uuid knowledge bases #
POST /v2/gen-ai/agents/{agent_uuid}/knowledge_bases/{knowledge_base_uuid} Create gen ai agents by agent uuid knowledge bases by knowledge base uuid #
DELETE /v2/gen-ai/agents/{agent_uuid}/knowledge_bases/{knowledge_base_uuid} Delete gen ai agents by agent uuid knowledge bases by knowledge base uuid #
POST /v2/gen-ai/agents/{parent_agent_uuid}/child_agents/{child_agent_uuid} Create gen ai agents by parent agent uuid child agents by child agent uuid #
PUT /v2/gen-ai/agents/{parent_agent_uuid}/child_agents/{child_agent_uuid} Replace gen ai agents by parent agent uuid child agents by child agent uuid #
DELETE /v2/gen-ai/agents/{parent_agent_uuid}/child_agents/{child_agent_uuid} Delete gen ai agents by parent agent uuid child agents by child agent uuid #
GET /v2/gen-ai/agents/{uuid} Get gen ai agents by uuid #
PUT /v2/gen-ai/agents/{uuid} Replace gen ai agents by uuid #
DELETE /v2/gen-ai/agents/{uuid} Delete gen ai agents by uuid #
GET /v2/gen-ai/agents/{uuid}/child_agents Get gen ai agents by uuid child agents #
PUT /v2/gen-ai/agents/{uuid}/deployment_visibility Replace gen ai agents by uuid deployment visibility #
GET /v2/gen-ai/agents/{uuid}/usage Get gen ai agents by uuid usage #
GET /v2/gen-ai/agents/{uuid}/versions Get gen ai agents by uuid versions #
PUT /v2/gen-ai/agents/{uuid}/versions Replace gen ai agents by uuid versions #
GET /v2/gen-ai/anthropic/keys Get gen ai anthropic keys #
POST /v2/gen-ai/anthropic/keys Create gen ai anthropic keys #
GET /v2/gen-ai/anthropic/keys/{api_key_uuid} Get gen ai anthropic keys by api key uuid #
PUT /v2/gen-ai/anthropic/keys/{api_key_uuid} Replace gen ai anthropic keys by api key uuid #
DELETE /v2/gen-ai/anthropic/keys/{api_key_uuid} Delete gen ai anthropic keys by api key uuid #
GET /v2/gen-ai/anthropic/keys/{uuid}/agents Get gen ai anthropic keys by uuid agents #
GET /v2/gen-ai/custom_models Get gen ai custom models #
POST /v2/gen-ai/custom_models/import Create gen ai custom models import #
GET /v2/gen-ai/custom_models/{uuid} Get gen ai custom models by uuid #
DELETE /v2/gen-ai/custom_models/{uuid} Delete gen ai custom models by uuid #
PATCH /v2/gen-ai/custom_models/{uuid}/metadata Update gen ai custom models by uuid metadata #
GET /v2/gen-ai/evaluation_datasets Get gen ai evaluation datasets #
POST /v2/gen-ai/evaluation_datasets Create gen ai evaluation datasets #
POST /v2/gen-ai/evaluation_datasets/file_upload_presigned_urls Create gen ai evaluation datasets file upload presigned urls #
DELETE /v2/gen-ai/evaluation_datasets/{dataset_uuid} Delete gen ai evaluation datasets by dataset uuid #
GET /v2/gen-ai/evaluation_datasets/{dataset_uuid}/download_url Get gen ai evaluation datasets by dataset uuid download url #
GET /v2/gen-ai/evaluation_metrics Get gen ai evaluation metrics #
POST /v2/gen-ai/custom_evaluation_metrics Create gen ai custom evaluation metrics #
PUT /v2/gen-ai/custom_evaluation_metrics/{metric_uuid} Replace gen ai custom evaluation metrics by metric uuid #
DELETE /v2/gen-ai/custom_evaluation_metrics/{metric_uuid} Delete gen ai custom evaluation metrics by metric uuid #
POST /v2/gen-ai/evaluation_runs Create gen ai evaluation runs #
GET /v2/gen-ai/evaluation_runs/{evaluation_run_uuid} Get gen ai evaluation runs by evaluation run uuid #
GET /v2/gen-ai/evaluation_runs/{evaluation_run_uuid}/results Get gen ai evaluation runs by evaluation run uuid results #
GET /v2/gen-ai/evaluation_runs/{evaluation_run_uuid}/results/{prompt_id} Get gen ai evaluation runs by evaluation run uuid results by prompt id #
GET /v2/gen-ai/evaluation_test_cases Get gen ai evaluation test cases #
POST /v2/gen-ai/evaluation_test_cases Create gen ai evaluation test cases #
GET /v2/gen-ai/evaluation_test_cases/{evaluation_test_case_uuid}/evaluation_runs Get gen ai evaluation test cases by evaluation test case uuid evaluation runs #
GET /v2/gen-ai/evaluation_test_cases/{test_case_uuid} Get gen ai evaluation test cases by test case uuid #
PUT /v2/gen-ai/evaluation_test_cases/{test_case_uuid} Replace gen ai evaluation test cases by test case uuid #
GET /v2/gen-ai/indexing_jobs Get gen ai indexing jobs #
POST /v2/gen-ai/indexing_jobs Create gen ai indexing jobs #
GET /v2/gen-ai/indexing_jobs/{indexing_job_uuid}/data_sources Get gen ai indexing jobs by indexing job uuid data sources #
GET /v2/gen-ai/indexing_jobs/{indexing_job_uuid}/details_signed_url Get gen ai indexing jobs by indexing job uuid details signed url #
GET /v2/gen-ai/indexing_jobs/{uuid} Get gen ai indexing jobs by uuid #
PUT /v2/gen-ai/indexing_jobs/{uuid}/cancel Replace gen ai indexing jobs by uuid cancel #
GET /v2/gen-ai/knowledge_bases Get gen ai knowledge bases #
POST /v2/gen-ai/knowledge_bases Create gen ai knowledge bases #
POST /v2/gen-ai/knowledge_bases/data_sources/file_upload_presigned_urls Create gen ai knowledge bases data sources file upload presigned urls #
GET /v2/gen-ai/knowledge_bases/{knowledge_base_uuid}/data_sources Get gen ai knowledge bases by knowledge base uuid data sources #
POST /v2/gen-ai/knowledge_bases/{knowledge_base_uuid}/data_sources Create gen ai knowledge bases by knowledge base uuid data sources #
PUT /v2/gen-ai/knowledge_bases/{knowledge_base_uuid}/data_sources/{data_source_uuid} Replace gen ai knowledge bases by knowledge base uuid data sources by data… #
DELETE /v2/gen-ai/knowledge_bases/{knowledge_base_uuid}/data_sources/{data_source_uuid} Delete gen ai knowledge bases by knowledge base uuid data sources by data… #
GET /v2/gen-ai/knowledge_bases/{knowledge_base_uuid}/indexing_jobs Get gen ai knowledge bases by knowledge base uuid indexing jobs #
GET /v2/gen-ai/knowledge_bases/{uuid} Get gen ai knowledge bases by uuid #
PUT /v2/gen-ai/knowledge_bases/{uuid} Replace gen ai knowledge bases by uuid #
DELETE /v2/gen-ai/knowledge_bases/{uuid} Delete gen ai knowledge bases by uuid #
POST /v2/gen-ai/model_evaluation/datasets/file_upload_presigned_urls Create gen ai model evaluation datasets file upload presigned urls #
GET /v2/gen-ai/model_evaluation_metrics Get gen ai model evaluation metrics #
GET /v2/gen-ai/model_evaluation_presets Get gen ai model evaluation presets #
GET /v2/gen-ai/model_evaluation_presets/{eval_preset_uuid} Get gen ai model evaluation presets by eval preset uuid #
DELETE /v2/gen-ai/model_evaluation_presets/{eval_preset_uuid} Delete gen ai model evaluation presets by eval preset uuid #
GET /v2/gen-ai/model_evaluation_runs Get gen ai model evaluation runs #
POST /v2/gen-ai/model_evaluation_runs Create gen ai model evaluation runs #
GET /v2/gen-ai/model_evaluation_runs/{eval_run_uuid} Get gen ai model evaluation runs by eval run uuid #
DELETE /v2/gen-ai/model_evaluation_runs/{eval_run_uuid} Delete gen ai model evaluation runs by eval run uuid #
PATCH /v2/gen-ai/model_evaluation_runs/{eval_run_uuid} Update gen ai model evaluation runs by eval run uuid #
PUT /v2/gen-ai/model_evaluation_runs/{eval_run_uuid}/cancel Replace gen ai model evaluation runs by eval run uuid cancel #
GET /v2/gen-ai/model_evaluation_runs/{eval_run_uuid}/results/download_url Get gen ai model evaluation runs by eval run uuid results download url #
GET /v2/gen-ai/models Get gen ai models #
GET /v2/gen-ai/models/api_keys Get gen ai models api keys #
POST /v2/gen-ai/models/api_keys Create gen ai models api keys #
PUT /v2/gen-ai/models/api_keys/{api_key_uuid} Replace gen ai models api keys by api key uuid #
DELETE /v2/gen-ai/models/api_keys/{api_key_uuid} Delete gen ai models api keys by api key uuid #
PUT /v2/gen-ai/models/api_keys/{api_key_uuid}/regenerate Replace gen ai models api keys by api key uuid regenerate #
GET /v2/gen-ai/models/catalog Get gen ai models catalog #
GET /v2/gen-ai/models/catalog/{id} Get gen ai models catalog by id #
GET /v2/gen-ai/models/routers Get gen ai models routers #
POST /v2/gen-ai/models/routers Create gen ai models routers #
GET /v2/gen-ai/models/routers/presets Get gen ai models routers presets #
GET /v2/gen-ai/models/routers/tasks/presets Get gen ai models routers tasks presets #
GET /v2/gen-ai/models/routers/{uuid} Get gen ai models routers by uuid #
PUT /v2/gen-ai/models/routers/{uuid} Replace gen ai models routers by uuid #
DELETE /v2/gen-ai/models/routers/{uuid} Delete gen ai models routers by uuid #
POST /v2/gen-ai/oauth2/dropbox/tokens Create gen ai oauth2 dropbox tokens #
GET /v2/gen-ai/oauth2/url Get gen ai oauth2 url #
GET /v2/gen-ai/openai/keys Get gen ai openai keys #
POST /v2/gen-ai/openai/keys Create gen ai openai keys #
GET /v2/gen-ai/openai/keys/{api_key_uuid} Get gen ai openai keys by api key uuid #
PUT /v2/gen-ai/openai/keys/{api_key_uuid} Replace gen ai openai keys by api key uuid #
DELETE /v2/gen-ai/openai/keys/{api_key_uuid} Delete gen ai openai keys by api key uuid #
GET /v2/gen-ai/openai/keys/{uuid}/agents Get gen ai openai keys by uuid agents #
GET /v2/gen-ai/regions Get gen ai regions #
GET /v2/gen-ai/scenario_library Get gen ai scenario library #
POST /v2/gen-ai/scenario_library/{library_scenario_uuid}/create_scenario_set Create gen ai scenario library by library scenario uuid create scenario set #
GET /v2/gen-ai/scenario_library/{library_scenario_uuid}/scenarios Get gen ai scenario library by library scenario uuid scenarios #
GET /v2/gen-ai/scenario_sets Get gen ai scenario sets #
POST /v2/gen-ai/scenario_sets Create gen ai scenario sets #
POST /v2/gen-ai/scenario_sets/file_upload_presigned_urls Create gen ai scenario sets file upload presigned urls #
POST /v2/gen-ai/scenario_sets/generate Create gen ai scenario sets generate #
GET /v2/gen-ai/scenario_sets/{scenario_set_uuid} Get gen ai scenario sets by scenario set uuid #
PUT /v2/gen-ai/scenario_sets/{scenario_set_uuid} Replace gen ai scenario sets by scenario set uuid #
DELETE /v2/gen-ai/scenario_sets/{scenario_set_uuid} Delete gen ai scenario sets by scenario set uuid #
GET /v2/gen-ai/scenario_sets/{scenario_set_uuid}/download_url Get gen ai scenario sets by scenario set uuid download url #
POST /v2/gen-ai/scenario_sets/{scenario_set_uuid}/duplicate Create gen ai scenario sets by scenario set uuid duplicate #
GET /v2/gen-ai/scenario_sets/{scenario_set_uuid}/scenarios Get gen ai scenario sets by scenario set uuid scenarios #
POST /v2/gen-ai/scheduled-indexing Create gen ai scheduled indexing #
GET /v2/gen-ai/scheduled-indexing/knowledge-base/{knowledge_base_uuid} Get gen ai scheduled indexing knowledge base by knowledge base uuid #
DELETE /v2/gen-ai/scheduled-indexing/{uuid} Delete gen ai scheduled indexing by uuid #
GET /v2/gen-ai/simulation_runs Get gen ai simulation runs #
POST /v2/gen-ai/simulation_runs Create gen ai simulation runs #
GET /v2/gen-ai/simulation_runs/{run_uuid} Get gen ai simulation runs by run uuid #
PUT /v2/gen-ai/simulation_runs/{run_uuid} Replace gen ai simulation runs by run uuid #
DELETE /v2/gen-ai/simulation_runs/{run_uuid} Delete gen ai simulation runs by run uuid #
PATCH /v2/gen-ai/simulation_runs/{run_uuid}/cancel Update gen ai simulation runs by run uuid cancel #
GET /v2/gen-ai/simulation_runs/{run_uuid}/episodes Get gen ai simulation runs by run uuid episodes #
GET /v2/gen-ai/simulation_runs/{run_uuid}/episodes/{episode_uuid} Get gen ai simulation runs by run uuid episodes by episode uuid #
GET /v2/gen-ai/simulation_runs/{run_uuid}/episodes/{episode_uuid}/trajectory Get gen ai simulation runs by run uuid episodes by episode uuid trajectory #
GET /v2/gen-ai/simulation_runs/{run_uuid}/episodes/{episode_uuid}/trajectory_url Get gen ai simulation runs by run uuid episodes by episode uuid trajectory url #
GET /v2/gen-ai/workspaces Get gen ai workspaces #
POST /v2/gen-ai/workspaces Create gen ai workspaces #
GET /v2/gen-ai/workspaces/{workspace_uuid} Get gen ai workspaces by workspace uuid #
PUT /v2/gen-ai/workspaces/{workspace_uuid} Replace gen ai workspaces by workspace uuid #
DELETE /v2/gen-ai/workspaces/{workspace_uuid} Delete gen ai workspaces by workspace uuid #
GET /v2/gen-ai/workspaces/{workspace_uuid}/agents Get gen ai workspaces by workspace uuid agents #
PUT /v2/gen-ai/workspaces/{workspace_uuid}/agents Replace gen ai workspaces by workspace uuid agents #
GET /v2/gen-ai/workspaces/{workspace_uuid}/evaluation_test_cases Get gen ai workspaces by workspace uuid evaluation test cases #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/digital-ocean:digital-ocean-gen-ai-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

digital-ocean-gen-ai-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DigitalOcean Gen Ai API
  version: '2.0'
  description: ''
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  contact:
    name: DigitalOcean API Team
    email: api-engineering@digitalocean.com
  termsOfService: https://www.digitalocean.com/legal/terms-of-service-agreement/
servers:
- url: https://api.digitalocean.com
  description: production
security:
- bearer_auth: []
tags:


# --- truncated at 32 KB (51 KB total) ---
# Full source: https://artifacts.apis.io/digital-ocean/openapi/digital-ocean-gen-ai-api-openapi.yml