{"openapi":"3.1.0","info":{"title":"Digital Ocean Databases (BYOK) API","version":"0.1.0","description":"Digital Ocean Databases (BYOK) lets an AI assistant read your own Digital Ocean Databases data through the Digital Ocean Databases API with a key you supply (personal access token with database read scope). Read-only: 12 tools (list_clusters, get_cluster, list_replicas, list_backups, list_databases, list_connection_pools, list_firewall_rules, list_events, get_online_migration,...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-digitalocean-databases.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-digitalocean-databases/docs"},"termsOfService":"https://connectorbay.com/byok-digitalocean-databases/terms"},"servers":[{"url":"https://byok-digitalocean-databases.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-digitalocean-databases/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/list_clusters":{"post":{"operationId":"list_clusters","summary":"List managed database clusters with engine, version, size, region, status, node count, tags and maintenance window. Conn","description":"List managed database clusters with engine, version, size, region, status, node count, tags and maintenance window. Connection strings, passwords and certificates are never returned. Use for \"Which managed databases do I run on DigitalOcean\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"tag_name":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"default":null,"description":"Only clusters with this tag.","title":"Tag Name"}},"title":"list_clustersArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_cluster":{"post":{"operationId":"get_cluster","summary":"Get one managed database cluster: engine, version, size, region, status, storage, tags, trusted sources and maintenance ","description":"Get one managed database cluster: engine, version, size, region, status, storage, tags, trusted sources and maintenance window. Connection strings, passwords and certificates are never returned. Use for \"What version and size is my database cluster\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"database_cluster_uuid":{"description":"Managed database cluster id (UUID), as returned by list_clusters.","maxLength":64,"title":"Database Cluster Uuid","type":"string"}},"required":["database_cluster_uuid"],"title":"get_clusterArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_replicas":{"post":{"operationId":"list_replicas","summary":"List the read-only replicas of a cluster with region, size, status and storage. Connection strings, passwords and certif","description":"List the read-only replicas of a cluster with region, size, status and storage. Connection strings, passwords and certificates are never returned. Use for \"Does my database have read replicas\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"database_cluster_uuid":{"description":"Managed database cluster id (UUID), as returned by list_clusters.","maxLength":64,"title":"Database Cluster Uuid","type":"string"}},"required":["database_cluster_uuid"],"title":"list_replicasArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_backups":{"post":{"operationId":"list_backups","summary":"List the backups of a cluster with size and time, plus the backup schedule. Use for \"When was my database last backed up","description":"List the backups of a cluster with size and time, plus the backup schedule. Use for \"When was my database last backed up\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"database_cluster_uuid":{"description":"Managed database cluster id (UUID), as returned by list_clusters.","maxLength":64,"title":"Database Cluster Uuid","type":"string"}},"required":["database_cluster_uuid"],"title":"list_backupsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_databases":{"post":{"operationId":"list_databases","summary":"List the logical databases inside a cluster (names only). Use for \"Which databases exist inside my cluster\".","description":"List the logical databases inside a cluster (names only). Use for \"Which databases exist inside my cluster\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"database_cluster_uuid":{"description":"Managed database cluster id (UUID), as returned by list_clusters.","maxLength":64,"title":"Database Cluster Uuid","type":"string"}},"required":["database_cluster_uuid"],"title":"list_databasesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_connection_pools":{"post":{"operationId":"list_connection_pools","summary":"List the connection pools of a PostgreSQL cluster with mode, size, database and user (no connection details). Use for \"W","description":"List the connection pools of a PostgreSQL cluster with mode, size, database and user (no connection details). Use for \"Which connection pools does my database have\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"database_cluster_uuid":{"description":"Managed database cluster id (UUID), as returned by list_clusters.","maxLength":64,"title":"Database Cluster Uuid","type":"string"}},"required":["database_cluster_uuid"],"title":"list_connection_poolsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_firewall_rules":{"post":{"operationId":"list_firewall_rules","summary":"List the trusted sources (firewall rules) of a cluster: type (droplet, kubernetes, IP, tag, app), value and description.","description":"List the trusted sources (firewall rules) of a cluster: type (droplet, kubernetes, IP, tag, app), value and description. Use for \"What is allowed to connect to my database\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"database_cluster_uuid":{"description":"Managed database cluster id (UUID), as returned by list_clusters.","maxLength":64,"title":"Database Cluster Uuid","type":"string"}},"required":["database_cluster_uuid"],"title":"list_firewall_rulesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_events":{"post":{"operationId":"list_events","summary":"List recent events of a cluster (creation, maintenance, failover, updates) with type and time. Use for \"What happened to","description":"List recent events of a cluster (creation, maintenance, failover, updates) with type and time. Use for \"What happened to my database cluster recently\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"database_cluster_uuid":{"description":"Managed database cluster id (UUID), as returned by list_clusters.","maxLength":64,"title":"Database Cluster Uuid","type":"string"}},"required":["database_cluster_uuid"],"title":"list_eventsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_online_migration":{"post":{"operationId":"get_online_migration","summary":"Get the status of the latest online migration into a cluster: id, status and start time. Use for \"Is my database online ","description":"Get the status of the latest online migration into a cluster: id, status and start time. Use for \"Is my database online migration finished\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"database_cluster_uuid":{"description":"Managed database cluster id (UUID), as returned by list_clusters.","maxLength":64,"title":"Database Cluster Uuid","type":"string"}},"required":["database_cluster_uuid"],"title":"get_online_migrationArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_eviction_policy":{"post":{"operationId":"get_eviction_policy","summary":"Get the eviction policy of a Redis or Valkey cluster. Use for \"What eviction policy does my Redis cluster use\".","description":"Get the eviction policy of a Redis or Valkey cluster. Use for \"What eviction policy does my Redis cluster use\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"database_cluster_uuid":{"description":"Managed database cluster id (UUID), as returned by list_clusters.","maxLength":64,"title":"Database Cluster Uuid","type":"string"}},"required":["database_cluster_uuid"],"title":"get_eviction_policyArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_sql_mode":{"post":{"operationId":"get_sql_mode","summary":"Get the SQL mode of a MySQL cluster. Use for \"What SQL mode does my MySQL cluster use\".","description":"Get the SQL mode of a MySQL cluster. Use for \"What SQL mode does my MySQL cluster use\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"database_cluster_uuid":{"description":"Managed database cluster id (UUID), as returned by list_clusters.","maxLength":64,"title":"Database Cluster Uuid","type":"string"}},"required":["database_cluster_uuid"],"title":"get_sql_modeArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_storage_autoscale":{"post":{"operationId":"get_storage_autoscale","summary":"Get the storage autoscale settings of a cluster: enabled flag, threshold percent and increment in GiB. Use for \"Does my ","description":"Get the storage autoscale settings of a cluster: enabled flag, threshold percent and increment in GiB. Use for \"Does my database grow its storage automatically\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"database_cluster_uuid":{"description":"Managed database cluster id (UUID), as returned by list_clusters.","maxLength":64,"title":"Database Cluster Uuid","type":"string"}},"required":["database_cluster_uuid"],"title":"get_storage_autoscaleArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}