Errors
Platform, admin, and public gateway APIs use a central error object with
code, message, and requestId. Gateway admission rejections
(UNAUTHENTICATED, RATE_LIMITED, INSUFFICIENT_CREDITS, FORBIDDEN) are
not charged and do not call the upstream.
Request-log codes include REQUEST_LOG_NOT_FOUND, DETAILS_EXPIRED (410,
without fetching R2), DETAILS_UNAVAILABLE, and LOG_INGEST_CONFLICT.