Limits
Sectr is free during the beta, and a few guardrails keep it fair and
available for everyone. Limits are server policy: they apply on
api.sectr.dev; the local sectr dev gateway never returns them.
Defaults
Section titled “Defaults”| Limit | Default | Applies to |
|---|---|---|
| Concurrent turns per project | 3 | every credential of the project |
| Concurrent turns, platform-wide | set by Sectr (capacity) | all projects |
| Session creation per end user | 60 / hour, burst 10 | user tokens (sks_), per (project, user) |
| Session creation per project | 600 / hour, burst 60 | invocation keys (ski_), shared by everyone using that key |
The platform key (dashboard playground, CLI) is exempt from the session creation rate limits. A turn counts against the concurrency limits while it is running; a turn suspended on an approval holds no slot. Follow-up inputs and approval decisions start a turn, so they count too.
The 429 response
Section titled “The 429 response”Rejections are 429 Too Many Requests with a Retry-After header (seconds)
and a JSON body:
{ "error": "this app is running its maximum of 3 turns at once; retry shortly", "code": "concurrency_limit" }code |
Meaning | Retry-After |
|---|---|---|
concurrency_limit |
Your project already has its maximum number of turns running. | 5 s |
platform_capacity |
Sectr as a whole is at capacity right now. | 10 s |
rate_limited |
Too many sessions created recently (per user or per project). | time until the next token |
A rejected POST /sessions/{id}/input or /approval changes nothing: no
event is journaled, so it can simply be retried. A rejected POST /sessions
creates no session either.
Retrying
Section titled “Retrying”Wait at least Retry-After seconds, then retry the same request, with a
little jitter. Don’t retry in a tight loop. In a browser UI, surface a
“busy, retrying…” state rather than an error.
Signup
Section titled “Signup”Sectr caps the number of beta accounts. When the cap is reached, signup
returns 403 with {"error": "...", "code": "beta_full"}. Join the waitlist
at sectr.dev/alpha. Existing accounts are
unaffected.