Supplying the API key
Use thex-api-key header:
401 Unauthorized. Unknown keys return 403 Forbidden.
Rate limits
Each key is provisioned with a per minute window request limit(defaults shown below; your allocations may differ):| Window | Default allowance | Header for limit | Header for remaining | Reset header |
|---|---|---|---|---|
| Minute | 1,000 requests | X-RateLimit-minute-limit | X-RateLimit-minute-remaining | X-RateLimit-minute-reset |
- The API returns
429 Too Many Requests. - Response headers still include the remaining limit and a
Retry-Afterheader indicating seconds until the window resets.
Interpreting headers
Example response headers:X-RateLimit-minute-limit: Your maximum total requests per minute window.X-RateLimit-minute-remaining: How many requests you can still make within the 1 minute window.X-RateLimit-minute-reset: UNIX timestamp (seconds) when that window resets.
Usage logging
We log every request to an internal usage stream. If you need exports for billing/reconciliation, contact support.Key rotation & revocation
- Keys can be rotated by the Streamforge team on request, old keys are immediately invalid.
Best practices
- Distribute load: If you run high-concurrency jobs, stagger requests to avoid spikes at window boundaries.
- Handle 429: Implement an exponential backoff and respect
Retry-After. - Monitor usage: Use the rate-limit headers so you know when you’re close to limits.

