Documentation

Models

GET /v1/models returns the public model catalog available to your account integration layer.

Code examples

curl https://api.prismaticapi.com/v1/models \
  -H "Authorization: Bearer $PRISMATIC_API_KEY"
curl https://api.prismaticapi.com/v1/models \
  -H "x-api-key: $PRISMATIC_API_KEY" \
  -H "anthropic-version: 2023-06-01"

Response shapes

  • Bearer authentication returns an OpenAI-style list with object: "list" and data.
  • x-api-key or anthropic-version returns an Anthropic-style catalog with data, has_more, first_id and last_id.
  • GET /v1/models/{model_id} returns one enabled model or model_not_found.

Important fields

  • id / publicId — stable public model ID to store in your app.
  • display_name — human-readable name for model pickers.
  • context_window — maximum context metadata when available.
  • created — Unix timestamp exposed in OpenAI-compatible responses.

Why it matters

  • Only store public IDs returned by Prismatic.
  • Do not expose internal routing details in customer-facing UIs.
  • Refresh the model list when admins change plan access or model availability.