CAST AI · Schema
CAST AI Workload
A Workload represents a Kubernetes workload monitored by CAST AI for optimization, including resource requests and recommendations.
Auto-ScalingCloud InfrastructureCost OptimizationDevOpsFinOpsKubernetesObservability
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Unique identifier for the workload. |
| clusterId | string | ID of the cluster the workload belongs to. |
| namespace | string | Kubernetes namespace of the workload. |
| name | string | Name of the workload. |
| type | string | Kubernetes workload type. |
| containers | array | Containers within the workload. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/api-evangelist/cast-ai/blob/main/json-schema/workload.json",
"title": "CAST AI Workload",
"description": "A Workload represents a Kubernetes workload monitored by CAST AI for optimization, including resource requests and recommendations.",
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"description": "Unique identifier for the workload."
},
"clusterId": {
"type": "string",
"format": "uuid",
"description": "ID of the cluster the workload belongs to."
},
"namespace": {
"type": "string",
"description": "Kubernetes namespace of the workload."
},
"name": {
"type": "string",
"description": "Name of the workload."
},
"type": {
"type": "string",
"enum": [
"Deployment",
"StatefulSet",
"DaemonSet",
"Job",
"CronJob"
],
"description": "Kubernetes workload type."
},
"containers": {
"type": "array",
"description": "Containers within the workload.",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the container."
},
"requests": {
"type": "object",
"description": "Current resource requests for the container.",
"properties": {
"cpu": {
"type": "string",
"description": "CPU resource request (e.g., 100m, 1)."
},
"memory": {
"type": "string",
"description": "Memory resource request (e.g., 128Mi, 1Gi)."
}
}
},
"recommendations": {
"type": "object",
"description": "CAST AI recommended resource values for the container.",
"properties": {
"cpu": {
"type": "string",
"description": "Recommended CPU resource request."
},
"memory": {
"type": "string",
"description": "Recommended memory resource request."
}
}
}
}
}
}
}
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/workload"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.