For AI agents: a documentation index is available at https://docs.plungeai.com/llms.txt. Append .md to any page URL, or send Accept: text/markdown, to get markdown. Setup instructions for agents are at https://docs.plungeai.com/agents.md. One ozk_ key opens every plane, models included.

Documentation Index: fetch the complete documentation index at /llms.txt. Use this file to discover all available pages before exploring further.
POST/api/v1/chat/completions

Not yet described in the overlay (TI-20).

Authorizations

Authorizationstringheaderrequired
Bearer token: Authorization: Bearer ozk_…. ozk_ platform API key (Authorization: Bearer ozk_…)
Authorizationstringheaderrequired
Bearer token: Authorization: Bearer sk-ocean-…. Legacy sk-ocean- inference key: still accepted on the money plane until the sk-ocean- sunset; new integrations use the ozk_ key

Body

application/json

Money plane, ozk_ auth. Transparent proxy to inference-gateway — any OpenAI-compatible field is passed through untouched; the fields below are the ones Phase 2 routing adds on top.

modelstring
A single model slug ("provider/model", e.g. "anthropic/claude-sonnet-5"), or "@preset/<slug>" to expand a stored model+routing+params bundle (request-explicit fields below still override the preset). Ignored if models[] is set.
modelsstring[]
Ordered fallback candidates — alternative to model. One retry per candidate on 429/5xx/network, then failover to the next; a candidate whose provider just failed out is excluded for 30s.
sortenum<string>
Reorders models[] before the first attempt. latency/throughput sort by rolling provider stats; a provider with no history yet sorts last.

Available options: price, latency, throughput

messagesChatMessage[]required
streamboolean

Default: false

temperaturenumber
Set to exactly 0 to make the request response-cache eligible.
max_tokensinteger
top_pnumber

Response

Completion (model = the slug that actually served it, not necessarily the one requested). stream:true returns text/event-stream instead — see the developer guide for the streaming caveat.

  • application/json
  • text/event-stream

Response headers

x-cacheenum<string>
"miss" or "hit" — present only when the org has response caching enabled and the request was cache-eligible (temperature:0, stream not true); absent otherwise.
idstringrequired
objectstringrequired
modelstringrequired
The model that served this response — bill and log both key on this value.
choicesobject[]required
usageobject

Planned: TI-33

Search is not available yet. Until it ships, use the page index or browse the sidebar.

Planned: TI-34

The docs assistant is not available yet. You can hand these docs to your own assistant instead.