On this page
List available models
List models available to the environment, optionally filtered by task.
Operation ID: models.list.
Request
GET /api/v1/models
- TypeScript SDK:
client.models.list(path arguments usepath). - MCP tool:
sdk_client_callwithoperationId: "models.list"(path arguments useinput.path). Legacy alias:models_list. Connect to your authenticated/mcpendpoint with an API key for the same environment. - Minimum API key role: viewer.
- Idempotency: No idempotency header required.
Read resource IDs from earlier responses and use a key for the same environment.
Request example
Set each path variable to an ID returned by an earlier API request.
Set CUMULUS_BASE_URL to your workspace API URL and CUMULUS_API_KEY to a key for that environment. Example values are synthetic.
cURL
curl --fail-with-body -sS "${CUMULUS_BASE_URL%/}/api/v1/models" \
-H "Authorization: Bearer $CUMULUS_API_KEY"
TypeScript
import { Cumulus } from "@cumulus/sdk";
const baseUrl = process.env.CUMULUS_BASE_URL;
const apiKey = process.env.CUMULUS_API_KEY;
if (!baseUrl || !apiKey) throw new Error("Set CUMULUS_BASE_URL and CUMULUS_API_KEY");
const client = new Cumulus({ baseUrl, apiKey });
const response = await client.models.list({});
Input schema
Path, query and header parameters
task
query parameter · Optional.
Type: "chat" · "embedding" · "voice" · "stt" · "tts".
JSON request body
This operation has no JSON request body.
Complete OpenAPI schema
{
"parameters": [
{
"name": "task",
"in": "query",
"required": false,
"schema": {
"type": "string",
"enum": [
"chat",
"embedding",
"voice",
"stt",
"tts"
]
}
}
],
"requestBody": null
}
Responses
HTTP 200
List the tenant's model catalog, optionally for one task
application/json
| Field | Type or values | Required | Description and limits |
|---|---|---|---|
items | array of object | Required | — |
items[].model_id | string | Required | minLength: 1. pattern: \S. |
items[].provider | string | Required | minLength: 1. pattern: \S. |
items[].tier | "frontier" · "cumulus-served" · "customer-gpu" | Required | — |
items[].route_kind | "frontier" · "flam" · "oss" | Required | — |
items[].context_window | integer | Required | At least 0. At most 9007199254740991. |
items[].input_cost_per_1k | number or null | Required | At least 0. |
items[].output_cost_per_1k | number or null | Required | At least 0. |
items[].availability | "ready" · "not-configured" · "unavailable" | Required | — |
items[].capabilities | array of "text" · "vision" · "tool_calling" · "structured_output" · "embedding" · "audio" · "reasoning" · "voice" · "stt" · "tts" · "transcription" · "speech_synthesis" · "streaming" | Required | — |
items[].tool_calling | boolean | Required | — |
items[].task | "chat" · "embedding" · "voice" · "stt" · "tts" | Required | — |
items[].embedding_dim | integer or null | Required | Greater than 0. At most 9007199254740991. |
items[].deployment_backend | string | Required | minLength: 1. |
items[].health_state | string or null | Required | minLength: 1. |
items[].supports_streaming | boolean or null | Required | — |
items[].supports_parallel_tool_calls | boolean or null | Required | — |
items[].data_policy | object | Required | — |
items[].data_policy.* | any JSON value | Optional | Additional keys are allowed. |
items[].regions | array of string | Required | — |
items[].eval_scores | object | Required | — |
items[].eval_scores.* | number | Optional | Additional keys are allowed. |
items[].latency_ms_p50 | number or null | Required | At least 0. |
items[].latency_ms_p95 | number or null | Required | At least 0. |
Error responses
| HTTP | Description |
|---|---|
| 4XX | Typed error (ApiError) |
| 5XX | Typed error (ApiError) |
Errors use the shared error envelope. Inspect error.code, retryable, outcome and details before retrying.
Complete OpenAPI schema
{
"200": {
"description": "List the tenant's model catalog, optionally for one task",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ModelsListResponse200"
}
}
}
},
"4XX": {
"description": "Typed error (ApiError)",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiError"
}
}
}
},
"5XX": {
"description": "Typed error (ApiError)",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiError"
}
}
}
}
}
Referenced schemas
Expand the complete OpenAPI definitions for integrations that generate their own clients.
Complete OpenAPI schema
{
"components": {
"schemas": {
"ModelsListResponse200": {
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"model_id": {
"type": "string",
"minLength": 1,
"pattern": "\\S"
},
"provider": {
"type": "string",
"minLength": 1,
"pattern": "\\S"
},
"tier": {
"type": "string",
"enum": [
"frontier",
"cumulus-served",
"customer-gpu"
]
},
"route_kind": {
"type": "string",
"enum": [
"frontier",
"flam",
"oss"
]
},
"context_window": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"input_cost_per_1k": {
"nullable": true,
"type": "number",
"minimum": 0
},
"output_cost_per_1k": {
"nullable": true,
"type": "number",
"minimum": 0
},
"availability": {
"type": "string",
"enum": [
"ready",
"not-configured",
"unavailable"
]
},
"capabilities": {
"type": "array",
"items": {
"type": "string",
"enum": [
"text",
"vision",
"tool_calling",
"structured_output",
"embedding",
"audio",
"reasoning",
"voice",
"stt",
"tts",
"transcription",
"speech_synthesis",
"streaming"
]
}
},
"tool_calling": {
"type": "boolean"
},
"task": {
"type": "string",
"enum": [
"chat",
"embedding",
"voice",
"stt",
"tts"
]
},
"embedding_dim": {
"nullable": true,
"type": "integer",
"minimum": 0,
"exclusiveMinimum": true,
"maximum": 9007199254740991
},
"deployment_backend": {
"type": "string",
"minLength": 1
},
"health_state": {
"nullable": true,
"type": "string",
"minLength": 1
},
"supports_streaming": {
"nullable": true,
"type": "boolean"
},
"supports_parallel_tool_calls": {
"nullable": true,
"type": "boolean"
},
"data_policy": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/ModelPolicyValue"
}
},
"regions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"eval_scores": {
"type": "object",
"additionalProperties": {
"type": "number"
}
},
"latency_ms_p50": {
"nullable": true,
"type": "number",
"minimum": 0
},
"latency_ms_p95": {
"nullable": true,
"type": "number",
"minimum": 0
}
},
"required": [
"model_id",
"provider",
"tier",
"route_kind",
"context_window",
"input_cost_per_1k",
"output_cost_per_1k",
"availability",
"capabilities",
"tool_calling",
"task",
"embedding_dim",
"deployment_backend",
"health_state",
"supports_streaming",
"supports_parallel_tool_calls",
"data_policy",
"regions",
"eval_scores",
"latency_ms_p50",
"latency_ms_p95"
],
"additionalProperties": false
}
}
},
"required": [
"items"
],
"additionalProperties": false
},
"ModelPolicyValue": {
"nullable": true,
"description": "A model data-policy value: any JSON value."
},
"ApiError": {
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "string",
"enum": [
"unauthenticated",
"forbidden",
"not_found",
"conflict",
"invalid_request",
"idempotency_conflict",
"policy_denied",
"capability_unavailable",
"provider_unavailable",
"knowledge_unavailable",
"publication_invalid",
"run_not_active",
"rate_limited",
"outcome_unknown",
"internal"
]
},
"message": {
"type": "string"
},
"retryable": {
"type": "boolean"
},
"outcome": {
"type": "string",
"enum": [
"none",
"unknown"
]
},
"details": {
"type": "object",
"additionalProperties": {}
}
},
"required": [
"code",
"message",
"retryable",
"outcome"
],
"additionalProperties": false
}
},
"required": [
"error"
],
"additionalProperties": false
}
}
}
}
Errors and recovery
See API error handling and Troubleshooting.