API reference

Reference

Every endpoint in the public API, grouped by resource. Request and response shapes are generated directly from the Zod contract at build time — if it compiles here, it's what the API returns.

Base URLs are published in the OpenAPI servers list and in /.well-known/tyxter.json. Auth: authorization: Bearer $TYXTER_API_KEY or tx_live_....

The canonical API origin is https://api.tyxter.com. The primary site also accepts /v1/* requests for agents that start from https://tyxter.com, but generated clients should prefer the first OpenAPI server URL.

Machine-readable schema: /openapi.json.

CORS: server-side only

The public /v1/* API intentionally serves no CORS headers. Tyxter is built for servers and CLI agents — API keys are credentials and must never be embedded in browser code, so cross-origin browser calls are not supported by design. If you are building a browser app, call your own backend and let it hold the key and forward requests to Tyxter. A CORS preflight failure against api.tyxter.com is this posture, not an outage.