Cast AI External Cluster API

Manages external cluster resources

Operations 36

GET /v1/kubernetes/external-clusters Lists clusters for current user's organization #
POST /v1/kubernetes/external-clusters Registers new external cluster #
GET /v1/kubernetes/external-clusters/filters/nodes Returns list of available filters for nodes list #
POST /v1/kubernetes/external-clusters/impersonation-service-account Get or create service account for impersonation authentication setup #
GET /v1/kubernetes/external-clusters/onboarding/connect-and-enable-castai-cmd Returns single command for getting the script for one-pass onboarding #
DELETE /v1/kubernetes/external-clusters/{clusterId} Deletes the cluster from CAST console. #
GET /v1/kubernetes/external-clusters/{clusterId} Gets the details of a specific cluster #
POST /v1/kubernetes/external-clusters/{clusterId} Updates configuration of a specific cluster #
POST /v1/kubernetes/external-clusters/{clusterId}/assume-role-principal Create AWS cross role user for assume role #
DELETE /v1/kubernetes/external-clusters/{clusterId}/assume-role-principal Delete AWS cross role user for assume role #
GET /v1/kubernetes/external-clusters/{clusterId}/assume-role-principal Return AWS cross role user for assume role #
GET /v1/kubernetes/external-clusters/{clusterId}/assume-role-user Returns AWS user arn used for assume role #
GET /v1/kubernetes/external-clusters/{clusterId}/cleanup-script Returns single command for external cluster cleanup script #
GET /v1/kubernetes/external-clusters/{clusterId}/credentials-script Returns single command for external cluster credentials onboarding #
POST /v1/kubernetes/external-clusters/{clusterId}/disconnect Disconnects cluster by removing all CAST dependencies from cloud provider's… #
POST /v1/kubernetes/external-clusters/{clusterId}/events Handles cloud spot interruption events for a cluster #
POST /v1/kubernetes/external-clusters/{clusterId}/gcp-create-sa Deprecated. Migrate to ImpersonationServiceAccount flows instead. #
POST /v1/kubernetes/external-clusters/{clusterId}/gcp-disable-sa Deprecated. Migrate to ImpersonationServiceAccount flows instead. #
POST /v1/kubernetes/external-clusters/{clusterId}/gke-create-sa Deprecated. Migrate to ImpersonationServiceAccount flows instead. #
POST /v1/kubernetes/external-clusters/{clusterId}/gke-disable-sa Deprecated. Migrate to ImpersonationServiceAccount flows instead. #
POST /v1/kubernetes/external-clusters/{clusterId}/hibernate Hiberantes cluster #
POST /v1/kubernetes/external-clusters/{clusterId}/instances/{instanceId}/logs Ingest node join logs including kubelet and cloud init logs #
POST /v1/kubernetes/external-clusters/{clusterId}/node-batches Adds a batch of nodes to the cluster #
GET /v1/kubernetes/external-clusters/{clusterId}/node-batches/{nodeBatchId} Gets the status of add node batch operation #
POST /v1/kubernetes/external-clusters/{clusterId}/nodes Adds a node to the cluster #
GET /v1/kubernetes/external-clusters/{clusterId}/nodes Lists the nodes for a cluster #
DELETE /v1/kubernetes/external-clusters/{clusterId}/nodes/{nodeId} Deletes the specified cluster node #
GET /v1/kubernetes/external-clusters/{clusterId}/nodes/{nodeId} Gets a single node by ID #
POST /v1/kubernetes/external-clusters/{clusterId}/nodes/{nodeId}/drain Drains the specified cluster node #
POST /v1/kubernetes/external-clusters/{clusterId}/reconcile Reconciles cluster #
POST /v1/kubernetes/external-clusters/{clusterId}/resume Resumes cluster #
POST /v1/kubernetes/external-clusters/{clusterId}/tags Updates tags of a specific cluster #
POST /v1/kubernetes/external-clusters/{clusterId}/token Returns cluster token that is used for agent and cluster controller #
GET /v1/scripts/connect-and-enable-castai.sh Returns the script for one-pass onboarding #
GET /v1/scripts/{provider}/cleanup.sh Returns cleanup script for the specified provider #
GET /v1/scripts/{provider}/onboarding.sh Returns credentials onboarding script for the specified provider #

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/kimchi:kimchi-externalclusterapi-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

kimchi-externalclusterapi-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CAST.AI API documentation External Cluster API
  version: 1.0.0
  description: '### Feature maturity indicators (may appear on resources, operations and request/response fields)

    - **(BETA)** - new or experimental features, subject to change

    - **(Deprecated)** - outdated or replaced features (a reason and removal date will be provided in the description)'
servers:
- url: https://api.cast.ai/
  description: US endpoint
- url: https://api.eu.cast.ai/
  description: EU endpoint
security:
- BearerAuth: []
- ApiKeyAuth: []
tags:


# --- truncated at 32 KB (136 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/kimchi/refs/heads/main/openapi/kimchi-externalclusterapi-api-openapi.yml