API Reference
Models
List the model ids your key is allowed to call.
Endpoint
GET https://api.prismma.ai/v1/models — returns the models your key's provider group can serve. A Claude key returns claude-* ids; an OpenAI key returns gpt-*/codex-* ids.
curl https://api.prismma.ai/v1/models \ -H "Authorization: Bearer $PRISMMA_API_KEY"
Response
Shape matches OpenAI's model-list response — an array of objects with id, object, and owned_by.
{
"object": "list",
"data": [
{ "id": "claude-sonnet-4-6", "object": "model", "owned_by": "anthropic" },
{ "id": "claude-opus-4-8", "object": "model", "owned_by": "anthropic" },
{ "id": "gpt-5.5", "object": "model", "owned_by": "openai" }
]
}For the full catalog — including models not yet enabled on your key — see Guides → Available Models.