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 Cost Reports API

Access cost reporting and efficiency data at the cluster, namespace, and workload levels.

CAST AI Cost Reports 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 Cost Reports. 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 5 operations across 5 paths, 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.

5 operations 5 paths 2 schemas 5 GET

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 Cost Reports 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 5

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

Cost Reports 5

Access cost reporting and efficiency data at the cluster, namespace, and workload levels.

GET
/cost-reports/clusters/{clusterId}/efficiency
CAST AI Get cluster efficiency
CostReportsAPI_GetClusterEfficiency 1 param → 200401404
GET
/metrics/prom
CAST AI Get cluster metrics
MetricsAPI_GetClusterMetrics → 200401
GET
/metrics/nodes
CAST AI Get node metrics
MetricsAPI_GetNodeMetrics → 200401
GET
/metrics/workloads
CAST AI Get workload metrics
MetricsAPI_GetWorkloadMetrics → 200401
GET
/metrics/allocation-groups
CAST AI Get allocation group metrics
MetricsAPI_GetAllocationGroupMetrics → 200401

Schemas 2

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

Error
object
2 properties
ClusterEfficiency
object
6 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

cast-ai-cost-reports-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 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
CAST AI Policies API