Prometheus metrics
GET /metrics
GET
/metrics
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Prometheus text exposition format
string
Missing or wrong API key (unauthorized)
object
error
required
Human-readable message
string
code
required
Stable machine-readable error code. Clients should treat unknown codes as internal_error.
string
Example
{ "error": "Missing or invalid API key", "code": "unauthorized"}Headers
Section titled “Headers ” WWW-Authenticate
string
The API key has used up its requests (rate_limited). Sent only when
the service enables per-key rate limiting (RATE_LIMIT_PER_MINUTE).
Retry after the Retry-After header.
object
error
required
Human-readable message
string
code
required
Stable machine-readable error code. Clients should treat unknown codes as internal_error.
string
Example
{ "error": "Rate limit exceeded for this API key", "code": "rate_limited"}Headers
Section titled “Headers ” Retry-After
integer
Seconds until the key may make another request