{"openapi":"3.1.0","info":{"title":"Digital Ocean Kubernetes (BYOK) API","version":"0.1.0","description":"Digital Ocean Kubernetes (BYOK) lets an AI assistant read your own Digital Ocean Kubernetes data through the Digital Ocean Kubernetes API with a key you supply (personal access token with kubernetes read scope). Read-only: 9 tools (list_clusters, get_cluster, list_node_pools, get_node_pool, list_available_upgrades, get_options, list_status_messages, get_lint_results, list_associated_resources)....\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-digitalocean-kubernetes.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-digitalocean-kubernetes/docs"},"termsOfService":"https://connectorbay.com/byok-digitalocean-kubernetes/terms"},"servers":[{"url":"https://byok-digitalocean-kubernetes.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-digitalocean-kubernetes/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 Kubernetes clusters with region, version, status, endpoint, VPC, auto-upgrade and HA flags. Kubeconfig files and cr","description":"List Kubernetes clusters with region, version, status, endpoint, VPC, auto-upgrade and HA flags. Kubeconfig files and credentials are never returned. Use for \"Which Kubernetes clusters do I run on DigitalOcean\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"per_page":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many results per page (1 to 200).","title":"Per Page"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1; meta.total says how many items exist.","title":"Page"}},"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 Kubernetes cluster: region, version, status, endpoint, VPC, tags and upgrade settings. Kubeconfig files and cred","description":"Get one Kubernetes cluster: region, version, status, endpoint, VPC, tags and upgrade settings. Kubeconfig files and credentials are never returned. Use for \"Is my Kubernetes cluster running and which version is it\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"cluster_id":{"description":"Kubernetes cluster id (UUID), as returned by list_clusters.","maxLength":64,"title":"Cluster Id","type":"string"}},"required":["cluster_id"],"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_node_pools":{"post":{"operationId":"list_node_pools","summary":"List the node pools of a cluster with size, node count, autoscale limits and nodes (id, name, status, droplet id). Use f","description":"List the node pools of a cluster with size, node count, autoscale limits and nodes (id, name, status, droplet id). Use for \"How many nodes does my cluster have\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"cluster_id":{"description":"Kubernetes cluster id (UUID), as returned by list_clusters.","maxLength":64,"title":"Cluster Id","type":"string"}},"required":["cluster_id"],"title":"list_node_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/get_node_pool":{"post":{"operationId":"get_node_pool","summary":"Get one node pool: size, count, autoscale limits, tags and its nodes. Use for \"Which nodes are in node pool cdda885e\".","description":"Get one node pool: size, count, autoscale limits, tags and its nodes. Use for \"Which nodes are in node pool cdda885e\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"cluster_id":{"description":"Kubernetes cluster id (UUID), as returned by list_clusters.","maxLength":64,"title":"Cluster Id","type":"string"},"node_pool_id":{"description":"Node pool id (UUID), as returned by list_node_pools.","maxLength":64,"title":"Node Pool Id","type":"string"}},"required":["cluster_id","node_pool_id"],"title":"get_node_poolArguments","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_available_upgrades":{"post":{"operationId":"list_available_upgrades","summary":"List the Kubernetes versions a cluster can be upgraded to. Use for \"Can I upgrade my Kubernetes cluster\".","description":"List the Kubernetes versions a cluster can be upgraded to. Use for \"Can I upgrade my Kubernetes cluster\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"cluster_id":{"description":"Kubernetes cluster id (UUID), as returned by list_clusters.","maxLength":64,"title":"Cluster Id","type":"string"}},"required":["cluster_id"],"title":"list_available_upgradesArguments","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_options":{"post":{"operationId":"get_options","summary":"List the regions, Kubernetes versions and node sizes available for new clusters. Use for \"Which Kubernetes versions and ","description":"List the regions, Kubernetes versions and node sizes available for new clusters. Use for \"Which Kubernetes versions and regions does DigitalOcean offer\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"get_optionsArguments","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_status_messages":{"post":{"operationId":"list_status_messages","summary":"List recent status messages of a cluster (provisioning, upgrade or error notes) with timestamps. Use for \"Why is my Kube","description":"List recent status messages of a cluster (provisioning, upgrade or error notes) with timestamps. Use for \"Why is my Kubernetes cluster degraded\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"cluster_id":{"description":"Kubernetes cluster id (UUID), as returned by list_clusters.","maxLength":64,"title":"Cluster Id","type":"string"},"since":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Only messages after this ISO 8601 time.","title":"Since"}},"required":["cluster_id"],"title":"list_status_messagesArguments","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_lint_results":{"post":{"operationId":"get_lint_results","summary":"Get the results of a cluster lint run (best-practice checks): run id, times and diagnostics with severity and object. Us","description":"Get the results of a cluster lint run (best-practice checks): run id, times and diagnostics with severity and object. Use for \"What does the Kubernetes lint report on my cluster\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"cluster_id":{"description":"Kubernetes cluster id (UUID), as returned by list_clusters.","maxLength":64,"title":"Cluster Id","type":"string"},"run_id":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"default":null,"description":"Lint run id; empty means the latest run.","title":"Run Id"}},"required":["cluster_id"],"title":"get_lint_resultsArguments","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_associated_resources":{"post":{"operationId":"list_associated_resources","summary":"List the load balancers, volumes and volume snapshots associated with a cluster (these would be deleted with it). Use fo","description":"List the load balancers, volumes and volume snapshots associated with a cluster (these would be deleted with it). Use for \"Which load balancers and volumes belong to my cluster\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"cluster_id":{"description":"Kubernetes cluster id (UUID), as returned by list_clusters.","maxLength":64,"title":"Cluster Id","type":"string"}},"required":["cluster_id"],"title":"list_associated_resourcesArguments","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}}}}