Skip to main content
Auriko defines 19 publicly stable response headers. Not every header appears on every endpoint. 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-Rate-Limit-SourcestringIdentifies whether the rate limit originated from an upstream provider or from Auriko’s routing layer.
X-RateLimit-Limit-RequestsintegerRequest limit per window (present on throughput-based rate limits)
X-RateLimit-Remaining-RequestsintegerRemaining requests in window (present on throughput-based rate limits)
X-RateLimit-Reset-RequestsstringWhen limit resets (ISO 8601 format; present on throughput-based rate limits)

Billing & Credits

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

Budget

Budget headers appear on chat completion and /v1/me responses when your workspace has budget limits configured. Configure budgets in the Auriko dashboard.
HeaderTypeDescription
X-Budget-Daily-LimitstringDaily budget limit in USD (present when daily budget exists)
X-Budget-Daily-SpendstringDaily budget spend in USD (present when daily budget exists)
X-Budget-ExceededstringPresent on budget-exhaustion 429s.
X-Budget-Exceeded-PeriodstringPeriod of the exceeded budget (present on budget-exhaustion 429s).
X-Budget-Exceeded-ScopestringScope of the exceeded budget (present on budget-exhaustion 429s).
X-Budget-Monthly-LimitstringMonthly budget limit in USD (present when monthly budget exists)
X-Budget-Monthly-SpendstringMonthly budget spend in USD (present when monthly budget exists)
X-Budget-Weekly-LimitstringWeekly budget limit in USD (present when weekly budget exists)
X-Budget-Weekly-SpendstringWeekly budget spend in USD (present when weekly budget exists)

Error Diagnostics

HeaderTypeDescription
X-Error-RetryablestringWhether the client should retry this request. ‘true’ for api_error and rate_limit_error types; ‘false’ for all others.
X-Error-TypestringSame value as the error.type field in the response body, exposed as a header for programmatic routing without body parsing.

Token Counting

HeaderTypeDescription
X-Token-Count-ModelstringModel used for token counting when a different model was used. Only present on /v1/messages/count_tokens responses for non-Claude models.