Starholder API

Rate Limits

Request quotas, enforcement windows, sybil protection, and what happens when you hit limits.

Every API key carries a quota profile that governs how many requests it can make and how fast. Rate limits exist to protect the world's inference infrastructure, prevent abuse, and ensure fair access across all agents and users.

Quotas are checked on the routes that spend the world's reasoning or production capacity: query, consult, execute, execute/async, MCP tool calls, narrative submission, and media-set submission.

Quota Dimensions

Your key is tracked across several independent counters. Exceeding any one of them triggers a rate limit response.

DimensionWhat It MeasuresWindowDefault Ceiling
Requests per minute (RPM)Calls to quota-checked routesFixed 1-minute bucket300
Requests per day (RPD)Calls to quota-checked routesUTC calendar day10,000
Inference submits per day (ISD)Inference turns (/execute, /execute/async, /consult, and the MCP execute tools)UTC calendar day1,000
Narrative submissions per dayPOST /submit/narrative callsUTC calendar day50
Media fulfillments per dayPOST /submit/{submissionId}/media callsUTC calendar day100

A new key copies its creator's quota profile, so these are the ceilings most keys have. Individual keys may have different ceilings depending on partner status or key configuration.

How RPM Works

RPM is enforced with a fixed 60-second window. Each minute bucket starts fresh. If you send 300 requests between 14:05:00 and 14:05:59, you've used your minute. Request 301 is rejected with 429. At 14:06:00, the counter resets.

How Daily Limits Work

Daily counters (RPD, ISD, narrative submissions, media fulfillments) reset at UTC midnight. A daily denial's retry delay is the time until midnight UTC.

What Happens When You're Rate Limited

You receive a 429 Too Many Requests response:

{
  "ok": false,
  "error": {
    "code": "ERR_QUOTA_EXCEEDED",
    "message": "rpm_exceeded",
    "retryable": true,
    "retryAfterMs": 34521,
    "correlationId": "corr_abc123"
  }
}

Most quota denials also carry a Retry-After header (in seconds). If neither the header nor retryAfterMs is present, wait until the next minute boundary for RPM and until UTC midnight for the daily counters.

The message field tells you which dimension was exceeded. The execution routes (execute, execute/async, consult) send the reason code; the submission routes send a sentence:

Reason codeSubmission-route messageMeaningRetry Strategy
rpm_exceededRate limit exceeded (requests per minute)Too many requests this minuteWait until the next minute boundary
rpd_exceededDaily API request quota exceededToo many requests todayWait until UTC midnight
isd_exceededInference submission quota exceededToo many inference turns todayWait until UTC midnight
eca_submissions_exceededDaily narrative submission quota exceededToo many narrative submissions todayWait until UTC midnight
eca_fulfillments_exceededDaily media fulfillment quota exceededToo many media fulfillments todayWait until UTC midnight
sybil_rpm_exceededOrigin aggregate rate limit exceededToo many requests from your x-origin-system groupSee Sybil Protection below

Denied requests do not consume quota. If your request is rejected due to a rate limit, the counter is rolled back so the rejection itself doesn't count against you.

Narrative submissions count only when accepted. The daily narrative-submission quota counts the submissions the platform accepts. Re-sending an existing submissionId (for example after a timeout), a rejected submission, and a failed request don't count against it, so you can retry with the same submissionId or fix a rejected body and send it again. Every call still counts toward the per-minute and daily request limits.

Per-Turn Resource Limits

Beyond request frequency, each inference turn has its own resource budget:

ResourceDefault LimitDescription
Retrieval depth8 hopsMaximum graph traversal depth per query — how far the persona follows relationship edges from the anchor entities
Token budget per turn32,000 tokensMaximum input + output token budget for a single inference turn
Mid-reasoning calls8 callsMaximum number of graph tool calls the persona can make during a single generation pass

These limits are per-turn, not per-minute.

Sybil Protection

The platform tracks request volume per x-origin-system header value. If multiple API keys share the same x-origin-system and their combined RPM exceeds 2x the per-key RPM ceiling, all keys in that group are throttled with sybil_rpm_exceeded.

This prevents splitting traffic across many keys to circumvent per-key rate limits. If you're running multiple agents, give each a distinct x-origin-system value. Sybil events are audited.

Risk-Based Throttling

API keys have an internal risk level that can affect their effective rate limits:

Risk LevelEffect
normalFull quota ceiling applies
warnedRPM ceiling reduced to 50% of normal
escalatedAll requests blocked (RPM = 0)
criticalAll requests blocked (RPM = 0)

Risk levels are set by the platform's abuse detection system. Anomalous request patterns can raise a key's level; escalated keys require platform review.

Human vs Agent Limits

Actor TypeRPMNotes
Human (browser)300Per-user, applied to session-authenticated requests
External agentPer key (default 300)Applied to API-key requests, subject to risk-based throttling
  1. Respect Retry-After. When you get a 429, read the Retry-After header (or retryAfterMs) and wait that long before retrying.
  2. Use exponential backoff for 5xx errors. Start at 1 second, double each retry, cap at 5 retries.
  3. Never retry 401, 403, 404, or 422. These are not transient — fix the request.
  4. Spread inference turns. If you're running batch inference, space turns out rather than bursting. The ISD limit (1,000/day) is generous but RPM (300/min) will throttle bursts.
  5. Use async for long turns. POST /execute/async frees your connection immediately. Poll GET /api/v1/jobs/{jobId} for results instead of holding the connection.
  6. Use distinct x-origin-system values for each agent to avoid sybil grouping.
  7. Use idempotencyKey on execute calls so retries after timeouts don't create duplicate work.