Everything the list reports, plus what a person needs to judge the message: a sample of the points it carried, every window it feeds and whether each is stored, and, when the payload could not be decoded, the start of it as text.
A dead letter belonging to another tenant, one that has expired, and an ID that was never issued are the same 404.
Base URL
These addresses are for local development. Replace them with your own deployed service URLs.
http://localhost:8082 Local query API; replace with the deployed query URL.
Request example
Replace credential and batch-key placeholders before running. JavaScript examples use Node.js 24; Python examples use the standard library. Browser clients need a same-origin proxy or suitable CORS configuration. See safe retries for production retry handling.
curl --request GET 'http://localhost:8082/v1/dead-letters/{id}' \
--header 'Authorization: Bearer <YOUR_API_KEY>'const response = await fetch("http://localhost:8082/v1/dead-letters/{id}", {
method: "GET",
headers: {
"Authorization": "Bearer <YOUR_API_KEY>"
}
});
if (!response.ok) throw new Error(await response.text());
const result = await response.json();
console.log(result);import json
from urllib.request import Request, urlopen
request = Request(
"http://localhost:8082/v1/dead-letters/{id}",
method="GET",
headers={
"Authorization": "Bearer <YOUR_API_KEY>"
}
)
with urlopen(request, timeout=30) as response:
result = json.load(response)
print(result)Authentication
An API key in the form fxg_<key id>_<secret>, sent as
Authorization: Bearer fxg_....
The server stores only a SHA-256 digest of the secret. Every authentication failure returns an identical 401 regardless of cause, so a probing client cannot use the response to tell a valid key ID from an invalid one.
Credentials select the tenant. See tenant provisioning and key rotation.
Parameters
idpath · stringrequiredThe id of a dead letter from the list.
^[0-9a-f]{32}$Responses
Expand a response to inspect its headers and complete schema.
200The dead letter.
The dead letter.
application/json
DeadLetterDetail ↗allOf
DeadLetter ↗One message the broker stopped delivering, as described by the pipeline. A property that is absent is unknown: the broker does not always report how often it tried, and a payload that could not be read has no received time or point timestamps.
Object properties
idstringrequiredStable for the life of the entry. Not the batch ID -- a batch dead-lettered twice has two.
^[0-9a-f]{32}$statestringrequiredresolved once every window the batch feeds is committed, so
nothing is missing. open otherwise.
"open" "resolved"reasonstringrequiredinvalid_envelope: the payload does not decode and cannot be
replayed as it is. delivery_exhausted: the payload is valid and
every delivery attempt failed; it can be replayed.
"invalid_envelope" "delivery_exhausted"detailstringrequiredFor an invalid_envelope, what the decoder objected to. For a
delivery_exhausted, a fixed sentence: the broker does not record
why delivery failed. Human-readable; do not branch on it.
batch_idstringoptionalThe batch_id the ingest API returned for this batch.
request_idstringoptionalThe X-Request-Id of the ingest request, for finding it in logs and traces.
dead_lettered_atstringrequiredWhen the broker set the message aside.
date-timepublished_atstringoptionalWhen the ingest API published the batch.
date-timereceived_atstringoptionalWhen the ingest API accepted the batch. Known only for a readable payload.
date-timeresolved_atstringoptionalWhen the pipeline found every window committed.
date-timedelivery_attemptsintegeroptionalDeliveries the broker attempted before giving up.
payload_bytesintegerrequiredpointsintegerrequiredPoints in the batch. For an invalid_envelope this is the count
its publisher declared, or 0 when there is none.
first_point_atstringoptionalThe earliest point timestamp in the batch.
date-timelast_point_atstringoptionalThe latest point timestamp in the batch.
date-timewindowsintegerrequiredAggregation windows the batch feeds. 0 for an invalid_envelope.
windows_committedintegerrequiredHow many of those windows are stored. Equal to windows when resolved.
metricsobject[]requiredThe batch's metrics by number of points, largest first.
20Array items · object
Object properties
metricstringrequiredkindstringrequired"gauge" "counter" "histogram"pointsintegerrequiredmetrics_truncatedbooleanoptionalTrue when the batch carries more than 20 distinct metrics.
Object properties
sampleobject[]requiredThe first points of the batch, in the order they were sent: at
most 20, and fewer when they are large. Compare its length with
points to see how much is shown. Empty for an
invalid_envelope.
20Array items · object
Object properties
metricstringrequiredkindstringrequired"gauge" "counter" "histogram"valuenumberrequiredtimestampstringrequireddate-timelabelsobjectrequiredAdditional values · string
window_listobject[]requiredEvery window the batch feeds, oldest first, and whether its data is stored.
Array items · object
Object properties
startstringrequireddate-timecommittedbooleanrequiredraw_previewstringoptionalThe start of a payload that could not be decoded, as text, at most 2 KiB. Bytes that are not printable text are shown as the replacement character.
raw_truncatedbooleanoptionalTrue when the payload is longer than raw_preview.
401Missing or invalid credentials.
Missing or invalid credentials.
Response headers
WWW-AuthenticatestringThe Bearer challenge.
application/problem+json
Problem ↗typestringrequiredurititlestringrequiredstatusintegerrequireddetailstringoptionalHuman-readable explanation. Do not branch on this.
codestringrequiredStable machine-readable identifier. Branch on this.
"bad_request" "validation_failed" "unauthorized" "forbidden" "not_found" "method_not_allowed" "conflict" "payload_too_large" "unsupported_media_type" "rate_limited" "timeout" "service_unavailable" "internal_error"request_idstringoptionalerrorsFieldError[]optionalArray items · FieldError
FieldError ↗Object properties
fieldstringrequiredDotted path to the offending value, including the batch index.
messagestringrequiredWhat the submitter must change.
404This tenant has no dead letter with that ID.
This tenant has no dead letter with that ID.
Response headers
X-Request-IdstringCorrelation ID, echoed on every response. Quote it when reporting a problem.
application/problem+json
Problem ↗typestringrequiredurititlestringrequiredstatusintegerrequireddetailstringoptionalHuman-readable explanation. Do not branch on this.
codestringrequiredStable machine-readable identifier. Branch on this.
"bad_request" "validation_failed" "unauthorized" "forbidden" "not_found" "method_not_allowed" "conflict" "payload_too_large" "unsupported_media_type" "rate_limited" "timeout" "service_unavailable" "internal_error"request_idstringoptionalerrorsFieldError[]optionalArray items · FieldError
FieldError ↗Object properties
fieldstringrequiredDotted path to the offending value, including the batch index.
messagestringrequiredWhat the submitter must change.
500An RFC 9457 problem document.
An RFC 9457 problem document.
Response headers
X-Request-IdstringCorrelation ID, echoed on every response. Quote it when reporting a problem.
application/problem+json
Problem ↗typestringrequiredurititlestringrequiredstatusintegerrequireddetailstringoptionalHuman-readable explanation. Do not branch on this.
codestringrequiredStable machine-readable identifier. Branch on this.
"bad_request" "validation_failed" "unauthorized" "forbidden" "not_found" "method_not_allowed" "conflict" "payload_too_large" "unsupported_media_type" "rate_limited" "timeout" "service_unavailable" "internal_error"request_idstringoptionalerrorsFieldError[]optionalArray items · FieldError
FieldError ↗Object properties
fieldstringrequiredDotted path to the offending value, including the batch index.
messagestringrequiredWhat the submitter must change.
503Capacity exhausted; respect Retry-After before retrying.
Capacity exhausted; respect Retry-After before retrying.
Response headers
X-Request-IdstringCorrelation ID, echoed on every response. Quote it when reporting a problem.
application/problem+json
Problem ↗typestringrequiredurititlestringrequiredstatusintegerrequireddetailstringoptionalHuman-readable explanation. Do not branch on this.
codestringrequiredStable machine-readable identifier. Branch on this.
"bad_request" "validation_failed" "unauthorized" "forbidden" "not_found" "method_not_allowed" "conflict" "payload_too_large" "unsupported_media_type" "rate_limited" "timeout" "service_unavailable" "internal_error"request_idstringoptionalerrorsFieldError[]optionalArray items · FieldError
FieldError ↗Object properties
fieldstringrequiredDotted path to the offending value, including the batch index.
messagestringrequiredWhat the submitter must change.
504An RFC 9457 problem document.
An RFC 9457 problem document.
Response headers
X-Request-IdstringCorrelation ID, echoed on every response. Quote it when reporting a problem.
application/problem+json
Problem ↗typestringrequiredurititlestringrequiredstatusintegerrequireddetailstringoptionalHuman-readable explanation. Do not branch on this.
codestringrequiredStable machine-readable identifier. Branch on this.
"bad_request" "validation_failed" "unauthorized" "forbidden" "not_found" "method_not_allowed" "conflict" "payload_too_large" "unsupported_media_type" "rate_limited" "timeout" "service_unavailable" "internal_error"request_idstringoptionalerrorsFieldError[]optionalArray items · FieldError
FieldError ↗Object properties
fieldstringrequiredDotted path to the offending value, including the batch index.
messagestringrequiredWhat the submitter must change.