Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

CAST AI Policies API

Manage autoscaler policies configuration for clusters, including unscheduled pods, node downscaler, and spot instance policies.

CAST AI Policies API is one of 17 APIs that CAST AI publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 6 JSON Schema definitions.

Tagged areas include Policies. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, a changelog, a JSON-LD context, and 6 JSON Schemas.

This API exposes 2 operations across 1 path, and defines 2 schemas. It is described by OpenAPI 3.1.0, at version 1.0.0.

Requests are made against a single base URL, https://api.cast.ai/v1.

2 operations 1 paths 2 schemas 1 GET1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Base URL
https://api.cast.ai
Authentication
API Key
Contact
Terms of Service
Resource Areas
1

Authentication & Security 1

CAST AI Policies API declares 1 security scheme for authenticating requests. An API key is passed in the header as X-API-Key (ApiKeyAuth). By default, every request must be authenticated.

  • ApiKeyAuth — API key for authentication. Create access keys from the CAST AI console under API API access keys.

Paths & Operations 2

Across 1 path, the API surfaces 2 operations — 1 GET, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Policies 2

Manage autoscaler policies configuration for clusters, including unscheduled pods, node downscaler, and spot instance policies.

GET
/kubernetes/clusters/{clusterId}/policies
CAST AI Get cluster policies
PoliciesAPI_GetClusterPolicies 1 param → 200401404
PUT
/kubernetes/clusters/{clusterId}/policies
CAST AI Upsert cluster policies
PoliciesAPI_UpsertClusterPolicies 1 param body → 200401404

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are ClusterPolicies (4 properties), Error (2 properties). Each schema is shown below with its type and property counts.

Error
object
2 properties
ClusterPolicies
object
4 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

cast-ai-policies-api-openapi.yml Raw ↑

Other APIs CAST AI publishes across the network.

CAST AI AI Enabler API
CAST AI Allocation Groups API
CAST AI Autoscaler API
CAST AI Cluster Actions API
CAST AI Cost Reports API
CAST AI External Clusters API
CAST AI Hibernation Schedules API
CAST AI Insights API
CAST AI Inventory API
CAST AI Node Configuration API
CAST AI Node Templates API
CAST AI Operations API