Indicia Code API
Programmatic access to the team's ChatGPT, Claude and Grok subscription pools.
The Indicia Code API gives programs access to the team's ChatGPT, Claude and Grok subscription pools. It speaks the OpenAI and Anthropic wire formats, so the official SDKs work once you change the base URL and the API key.
https://code.test.indicia-ai.comEndpoints
| Endpoint | Format | Served by |
|---|---|---|
POST /v1/chat/completions | OpenAI Chat Completions | A model class, with failover across providers, or a direct model |
POST /v1/messages | Anthropic Messages | The Claude pool |
POST /v1/messages/count_tokens | Anthropic token counting | The Claude pool |
POST /v1/responses | OpenAI Responses, streaming only | The ChatGPT (Codex) pool |
GET /v1/models | OpenAI model list | Model classes and direct models |
GET /v1/usage | JSON | Your token's usage and limits |
Request and response bodies are JSON. Streams are server-sent events.
Get started
Quickstart
Get a token and send your first request with curl or an SDK.
Authentication
The two auth headers, personal tokens and service tokens.
Concepts
Models
Model classes, direct models and how failover picks a provider.
Rate limits
Per-token limits, x-ratelimit-* headers and pool limits.
Images and files
Send images, PDFs and text files in a chat request.
Tools and structured output
Function calling and JSON schema replies.
Use with your tool
indicia CLI vs. direct provider
Launch a tool through indicia code, or configure the gateway yourself.
Claude Code, Codex, opencode and more
Provider config for each tool, and for any OpenAI-compatible tool.