Changelog
Additive changes to the public API, newest first. Per the versioning policy (/v1 is additive-only, forever), nothing here ever removes or retypes a field — new fields, params, and endpoints appear; clients must tolerate additions. Dates are UTC.
2026-08-21 — conversations and session mode
- New optional request param:
session_idonPOST /v1/chat/completions. When set,messagescarries only the new turn (delta) and the gateway assembles the stored conversation prefix; an unseen id auto-creates the conversation. Canonical hyphenated-hex UUID, case-insensitive. See sessions. - New additive response field:
session_idon chat completions and stream chunks — present only on session-mode turns/streams, absent on full-context requests (additive per the versioning policy). - New endpoints:
/v1/conversations—GET(key-scoped list, most-recently-active first,limitdefault 25 / clamp 100),DELETE(delete all of the key's conversations), andGET/DELETE /v1/conversations/{id}(turns + per-conversation cost summary; idempotent delete). Deleted conversations never revive; anonymized ledger rows survive. - New error codes (envelope shape unchanged):
400 context_length_exceeded(assembled session context over the model'scontext_length— remediation: newsession_idor trim),400 sessions_unavailable(session_idsent to a gateway without the conversation store),404 conversation_not_found(/v1/conversationsid missing/deleted/foreign/malformed — indistinguishable by design). See errors. - New additive fields on
GET /v1/modelsandGET /v1/models/{alias}(owner-approved contract §2 addition): every model object now carriespricing {input, output, cached_input}(OUR retail per-1M USD — the pricing page's numbers, never upstream cost) andcontext_length(the context window the sessions API enforces on assembled context). - 429
rate_limitedis now emitted in one case: a concurrent request holding the samesession_idpast the bounded lock wait (30 s default). Per-key throttling remains future work — the reservedx-ratelimit-*headers stay absent until then (see rate posture).