Skip to main content
Auriko returns 18 publicly stable response headers across all API responses. Headers are grouped by function.

Request Tracing

HeaderTypeDescription
X-Request-IDstringUnique request identifier for debugging and support. Include this in support requests for fast resolution.

Rate Limiting

HeaderTypeDescription
Retry-AfterintegerSeconds until rate limit resets. Standard HTTP header for retry backoff.
X-RateLimit-Limit-RequestsintegerRequest limit per window
X-RateLimit-Remaining-RequestsintegerRemaining requests in window
X-RateLimit-Reset-RequestsstringWhen limit resets (ISO 8601 format)

Billing & Credits

HeaderTypeDescription
X-Credits-Balance-MicrodollarsintegerCurrent workspace credit balance in microdollars (1 USD = 1,000,000)

Budget

HeaderTypeDescription
X-Budget-Daily-LimitstringDaily budget limit in USD
X-Budget-Daily-SpendstringDaily budget spend in USD (present when daily budget exists)
X-Budget-ExceededstringWhether a budget limit was exceeded
X-Budget-Exceeded-PeriodstringPeriod of the exceeded budget (daily, weekly, or monthly)
X-Budget-Exceeded-ScopestringScope of the exceeded budget (workspace, api_key, or byok_provider)
X-Budget-Monthly-LimitstringMonthly budget limit in USD
X-Budget-Monthly-SpendstringMonthly budget spend in USD (present when monthly budget exists)
X-Budget-Weekly-LimitstringWeekly budget limit in USD
X-Budget-Weekly-SpendstringWeekly budget spend in USD (present when weekly budget exists)

Error Diagnostics

HeaderTypeDescription
X-Error-ProviderstringWhich provider produced the error
X-Error-RetryablestringWhether the client should retry this request. ‘true’ for server_error and rate_limit types; ‘false’ for all others.
X-Error-TypestringNormalized error category for programmatic retry/routing decisions. Auriko-level errors produce one of the enum values below. Provider errors (ProviderError, ProviderTimeout) may use additional LLMErrorType values (e.g., timeout, authentication, content_filter).