Image Provenance

Errors

Public error model for invalid uploads, auth failures, credit failures, and provider failures.

Errors use a stable code and retryability flag.

{
  "error": {
    "code": "upload_too_large",
    "message": "The uploaded image exceeds the 10485760 byte limit.",
    "retryable": false
  }
}
CodeRetryableMeaning
invalid_api_keynoThe bearer token is missing, revoked, unknown, or no dashboard session was present.
invalid_uploadnoThe request does not include exactly one valid image upload.
upload_too_largenoThe image exceeds the public size cap.
insufficient_creditsnoThe organization does not have prepaid credits available.
rate_limitedyesThe authenticated subject exceeded its organization-scoped request limit.
provider_failureyesThe verifier failed before producing a result.