Skip to navigation

API Reference

Request fields, response types, and endpoint examples for every public Sikaru API operation, authenticated with a project-scoped API key.

View as Markdown

Browse the sidebar for request fields, response types, and endpoint examples. Authenticate with a project-scoped Sikaru API key. Keep credentials in your application server or terminal environment.

An accepted request is not necessarily completed execution. Keep returned resource IDs and receipts, observe run status, and handle pending actions according to Runs and tool requests.

Versioning and changes

Sikaru is in research preview. The API is versioned in the URL path (https://api.sikaru.ai/v1), and it may change during the preview, including in ways that break existing code. Breaking changes are announced in the changelog, and the published SDKs and CLI are updated in the same release. Pin your client version and read the changelog before upgrading.

Rate limits

Requests to https://api.sikaru.ai are rate limited over a rolling five-minute window, separately per client IP address and per credential (each API key or sign-in token). Every response carries a RateLimit-Policy header with the current limits, for example:

RateLimit-Policy: "ip";q=2000;w=300, "key";q=6000;w=300, "trace-ingest";q=1500000;w=300

q is the number of requests allowed in a window of w seconds; trace-ingest applies only to POST /v1/trace-streams. A request over a limit gets 429 Too Many Requests with a Retry-After header and a JSON body whose code is rate_limited. Wait the Retry-After seconds, then retry with the same idempotency key. Spread bulk work out instead of retrying in a tight loop.