Skip to main content
GET
Get Request

Authorizations

Authorization
string
header
required

Enter your MeshAPI key (rsk_...) or, for the admin-keys endpoints, a dashboard session token — sent as Authorization: Bearer <token>.

Headers

X-Mesh-Version
enum<string>
default:2026-08

Dated version of the API contract to pin this request to. Omit it and the request is served under 2026-08 — the oldest supported version, so an existing integration is never moved by a release. A malformed or unsupported value is rejected with 400 invalid_api_version rather than falling back silently. The version actually served is echoed as X-Mesh-Version on every response, including errors.

Available options:
2026-08

Path Parameters

request_id
string
required

Response

Successful Response

Everything we can say about one request id (MESH-768).

Carries UsageEventOut, never UsageEventDetailOuterror_detail, provider_error_code, provider_request_id, upstream_status, provider_requested and ip_address exist only on the admin subclass, so no provider internal can reach a customer through this shape.

request_id
string
required
outcome
string
required

'success' | 'error' when a model was reached, 'rejected' when a gate refused the request before any model was called, 'pending' while the request's own usage row has not landed yet, and 'unknown' once it is too old to still be arriving — the attempts are reported either way.

retention_days
integer
required

How far back this endpoint can resolve a request id.

ambiguous
boolean
default:false

The id addressed more than one request, so attempts is omitted rather than guessed at. Only possible for requests made before the gateway began minting the id itself.

event
UsageEventOut · object | null

The request itself: the attempt that served it.

attempts
UsageEventOut · object[]

Every attempt including retried failures, oldest first.

attempt_count
integer
default:0
retry_count
integer
default:0

attempt_count - 1.

Other billed rows this request produced (e.g. a memory embedding).

matches
UsageEventOut · object[]

Populated only when ambiguous.

rejection
RejectionOut · object | null

Populated only when outcome is 'rejected'.