Errors & rate limits
Trigv uses standard HTTP status codes. Error bodies are JSON with a message string unless validation fails (422), which includes an errors object.
Status code summary
Monthly event limit (429)
Each workspace has a monthly event allowance based on plan (stored in workspace_usage_counters). When events_count reaches events_limit, ingest returns:
{
"message": "Monthly event limit reached for this workspace."
} Upgrade your plan or wait for the monthly counter reset. hop: 10,000/mo · leap: 40,000/mo. See pricing for current plans.
Burst rate limit (429)
Each API key is rate-limited to prevent accidental floods. Default: 60 requests per minute per key (configurable per key via rate_limit_per_minute).
{
"message": "Too many requests for this API key."
} Backoff and retry. If you hit this often in cron loops, add jitter or batch alerts.
Idempotency
Pass the same idempotency_key on retries. The first request returns 202; subsequent identical keys return 200 with the original event and do not increment monthly usage.
Tip
Distinguish 429 responses by reading message: monthly cap vs. burst throttle use different strings.