Prismatic API/Docs/API Endpoints
Documentation

API Endpoints

The public v1 API exposes model discovery plus OpenAI-compatible and Anthropic-compatible text generation routes.

Core text generation

POST/v1/chat/completions
Chat Completions

OpenAI-compatible chat completions with optional streaming.

POST/v1/responses
Responses

OpenAI Responses-compatible input, instructions and tools through the same billing layer.

POST/v1/messages
Messages

Anthropic-compatible Messages endpoint for Claude-native clients and coding agents.

Models and token estimates

GET/v1/models
List models

Returns enabled public model IDs and metadata in the shape expected by the request protocol.

GET/v1/models/{model_id}
Get model

Returns one enabled model by public ID or model_not_found when unavailable.

POST/v1/messages/count_tokens
Count tokens

Estimates input tokens for an Anthropic-style Messages payload before generation.

Not exposed today

  • Image generation, audio, embeddings, moderation and public usage-statistics endpoints are not part of Prismatic v1 yet.
  • Do not configure clients to call unsupported routes until they are exposed by the API.
  • The dashboard remains the source of truth for account usage and billing views.