APIs
The public developer contract: authentication, models, credits, rate limits and errors.
Ottili AI API
The public, OpenAI-compatible API for programmatic access to Ottili AI — authentication, tenant context, models, credits, rate limits, streaming, tool calls, structured outputs, errors, usage and caching.
Ottili AI API — Models & availability
How model routing and model availability work on the public, OpenAI-compatible Ottili AI API, and how to list models available to your company and plan.
Ottili AI API — Quickstart
A copy-paste quickstart for the public, OpenAI-compatible Ottili AI API — authenticate, list models, send your first chat completion, stream tokens, and handle errors.
Ottili AI API — Credits & usage fields
How AI usage is metered with credits in the public Ottili AI API, and which usage fields are returned per request.
Ottili AI API — Rate limits & quotas
How rate limiting and quotas work in the public Ottili AI API, the response headers returned, free vs paid usage, and how to back off safely.
Ottili AI API — Streaming
How to stream Ottili AI completions with server-sent events on the public, OpenAI-compatible surface.
Ottili AI API — Tool calls
How the Ottili AI API returns tool calls and how platform actions stay approval-first and safe.
Ottili AI API — Structured outputs
How to request JSON-schema-constrained structured outputs from the public Ottili AI API.
Ottili AI API — Errors
HTTP status codes and machine-readable error codes returned by the public, OpenAI-compatible Ottili AI API.
Ottili AI API — Caching
What is safe to cache when calling the public Ottili AI API, and the headers involved.
