Skip to content

Limits, retries and versions

Requests are counted per user (or per IP without a token) in one-minute windows:

Policy Limit
read: GET requests 600 per minute
write: other methods 120 per minute
download: POST /v1/downloads 60 per minute

Generation has its own daily allowance. Every response carries RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset (seconds) and RateLimit-Policy. Over the limit the answer is 429 with type rate_limited and Retry-After.

Requests that create something (POST /v1/acquisitions, /v1/me/collections, /v1/collections/{id}/items, /v1/generations, /v1/me/webhook-endpoints) take an Idempotency-Key header: any unique string, for example a UUID. Retrying with the same key within 24 hours returns the first answer (with Idempotent-Replayed: true) instead of doing the work again. The same key with a different body is 422 idempotency_key_reused; while the first request still runs, 409 idempotency_in_progress.

The API version is a date. The current one is 2026-12-04; every response names it in the SampleCloud-Version header. Send SampleCloud-Version: 2026-12-04 to pin it: when a change that could break clients ships, pinned clients keep the old behavior until the old version is retired. Retirement is announced in the changelog and in Deprecation and Sunset headers at least six months ahead.