AVI·GOAPI Reference
Production
v1

Core concepts

Errors

HTTP status conveys the category; the code field gives a stable, machine-readable reason. Branch on code, not on message (which is human-facing and may change).

StatusCodeWhen
401AUTH_MISSING_API_KEYNo X-API-Key header.
401AUTH_INVALID_API_KEYKey does not exist.
403AUTH_CLIENT_DISABLEDAccount disabled.
403AUTH_KEY_EXPIREDKey past its grace period.
403AUTH_IP_NOT_ALLOWEDSource IP not in allowlist.
403PERMISSION_DENIEDKey lacks the required scope.
429RATE_LIMIT_EXCEEDEDPer-second rate exceeded.
429DAILY_QUOTA_EXCEEDEDDaily quota exhausted.
400INVALID_PARAMETERA query parameter failed validation.
500SYSTEM_ERRORUnexpected server error. Quote the traceId.
Error response401 · error
{
  "code": "AUTH_INVALID_API_KEY",
  "message": "API key not found",
  "traceId": "087eecbe-0a22-4dfb-8c1c-c9eeaa684597"
}