ReferenceRate Limits
Rate Limits
Open Preview uses one shared limit across core control-plane APIs. Limits protect platform stability while teams test approval requests, receipts, and gateway wiring.
| Endpoint | Open Preview | Use |
|---|---|---|
| POST /v1/intents | 10,000/min | Create approval requests |
| GET /v1/intents/:id | 10,000/min | Read approval status |
| POST /v1/permits/validate | 10,000/min | Verify execution receipts |
| GET /v1/projects/:id/audit | 10,000/min | Read audit events |
Handling 429 Responses
async function createIntentWithRetry(params, maxRetries = 3) {
for (let i = 0; i < maxRetries; i++) {
try {
return await sa.createIntent(params);
} catch (err) {
if (err.code !== "rate_limited") throw err;
const resetAt = Number(err.headers["x-ratelimit-reset"]);
await new Promise((resolve) => setTimeout(resolve, resetAt * 1000 - Date.now()));
}
}
throw new Error("approval API rate limit exceeded");
}