Skip to main content
POST
Query Rejections

Authorizations

Authorization
string
header
required

Enter your MeshAPI key (rsk_...) — sent as Authorization: Bearer <key>.

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

Body

application/json

Mirrors UsageFilter's shape for the fields that apply to a refusal.

No model or status: nothing was routed, and the status is implied.

org_id
string
required
team_id
string | null
since
string<date-time> | null
until
string<date-time> | null
key_id
string[] | null
failure_stage
string[] | null
limit
integer
default:50
Required range: 1 <= x <= 200
offset
integer
default:0
Required range: x >= 0

Response

Successful Response

rejections
RejectionOut · object[]
required
total
integer
required
limit
integer
required
offset
integer
required
by_stage
By Stage · object