Understanding and working with Prisme.ai API rate limits
Rate Limit Scoping
Burst Rate
Rate Limit Distribution
payload.throttled field in the runtime.automations.executed event indicates the throttling duration.
| Environment Variable | Description | Default Value |
|---|---|---|
RATE_LIMIT_AUTOMATIONS | Automations per second | 100 |
RATE_LIMIT_EMITS | Event emits per second | 30 |
RATE_LIMIT_FETCHS | HTTP fetches per second | 50 |
RATE_LIMIT_REPEATS | Repeat iterations per second | 1000 |
RATE_LIMIT_AUTOMATIONS_BURST | Automations burst limit | 400 |
RATE_LIMIT_EMITS_BURST | Event emits burst limit | 100 |
RATE_LIMIT_FETCHS_BURST | HTTP fetches burst limit | 200 |
RATE_LIMIT_REPEATS_BURST | Repeat iterations burst limit | 4000 |
RATE_LIMIT_DISABLED | Disable all rate limits | false |
Monitor Your Usage
Implement Backoff and Retry
Optimize Automation Distribution
Cache Responses
runtime.automations.executed event that includes throttling information:throttled is greater than zero, the automation was rate limited.