Skip to main content
Documentation

APIs

The public developer contract: authentication, models, credits, rate limits and errors.

Available10 articles
11 minintermediate

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.

7 minintermediate

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.

9 minbeginner

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.

7 minintermediate

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.

7 minbeginner

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.

6 minintermediate

Ottili AI API — Streaming

How to stream Ottili AI completions with server-sent events on the public, OpenAI-compatible surface.

8 minadvanced

Ottili AI API — Tool calls

How the Ottili AI API returns tool calls and how platform actions stay approval-first and safe.

6 minadvanced

Ottili AI API — Structured outputs

How to request JSON-schema-constrained structured outputs from the public Ottili AI API.

7 minbeginner

Ottili AI API — Errors

HTTP status codes and machine-readable error codes returned by the public, OpenAI-compatible Ottili AI API.

5 minbeginner

Ottili AI API — Caching

What is safe to cache when calling the public Ottili AI API, and the headers involved.