API Errors

All API errors follow a consistent shape and use standard HTTP status codes.


Response envelope

json
{
  "error": "<error_code>",
  "message": "<human-readable message>",
  "messages": ["<detail>"]
}

The messages array is only present on validation_error (400) responses.


Error code reference

StatusCodeWhen
400validation_errorInvalid request body (details in messages[])
401unauthorizedMissing or invalid API key
404not_foundResource not found or not owned by caller
409conflictResource state conflict (e.g., deleting a kubbi that is already inactive)
410expiredkubbi's TTL has elapsed
410gonekubbi has been burned (max_retrievals reached) or deleted by the producer
429rate_limitedToo many requests. Rate limit depends on your plan tier
429quota_exceededDaily quota, active kubbi limit, or max API keys reached
500internal_errorUnexpected server error
501not_implementedAPI version not available