https://chat.aomi.dev. Use https://chat-staging.aomi.dev when you deliberately target staging.
Three versioned resources cover the public surface:
Every endpoint on the pages in this tab has an interactive playground. The TypeScript Client SDK wraps this same API with typed transports, automatic authentication, and schema validation — prefer it when your application is TypeScript.
This reference schema was generated from backend source revision
f217b970
on 2026-09-22, then given the public production and staging server overlay.
Newly released routes, including Account App and credential management, can
appear here before every deployed environment serves the same OpenAPI
revision.Authentication
All protected requests carry a bearer credential:Conventions
These apply to every call:- Keep the origin in environment configuration — production and staging can expose different API versions during a rollout.
- Send and receive JSON unless an endpoint returns a document.
- Send
Idempotency-Keywith every mutation — requests without one are rejected — and reuse one key only for retries of the same logical request. - Capture
X-Request-Idfrom every failed response, and respectRetry-Afteron throttled or deferred requests. - The API stack serves its contract at
/openapi.json, but the published version can differ per environment; pin types from the released TypeScript client instead of fetching that document at startup.