REST API · dlq

GET /dlq/{id}

Single DLQ entry. 404 when no such stream id exists.

get_api_dlq_get

Authentication

  • Bearer

Parameters

NameInRequiredSchemaDescription
id path yes {"type":"string","pattern":"[0-9]+-[0-9]+"}

Responses

200

One dead-letter entry.

application/json

{
    "properties": {
        "configVersion": {
            "description": "Published config that authorised the delivery; 0 means unstamped.",
            "type": "integer",
            "minimum": 0
        },
        "failureCode": {
            "description": "Stable machine-readable cause of the failure. `unclassified` for an entry written before codes existed.",
            "type": "string",
            "enum": [
                "target_rejected",
                "invalid_target_url",
                "signing_failed",
                "egress_refused",
                "retries_exhausted",
                "credential_destination_mismatch",
                "credential_project_mismatch",
                "credential_service_unavailable",
                "credential_unavailable",
                "contract_version_unsupported",
                "undecodable_entry",
                "internal",
                "unclassified"
            ]
        }
    },
    "type": "object"
}
{
    "id": "1768464000123-0",
    "requestId": "a1b2c3d4-5e6f-4a1b-8c2d-9e0f1a2b3c4d",
    "targetId": "b2c3d4e5-6f7a-4b2c-8d3e-0f1a2b3c4d5e",
    "configVersion": 7,
    "failureReason": "maxRetriesExhausted: http503",
    "failureCode": "retries_exhausted",
    "failedAttempts": "3",
    "failedAt": "1768464300000",
    "payload": "{\"event\":\"lifecycle.updated\"}"
}

404

DLQ entry not found.

application/json

{
    "required": [
        "error"
    ],
    "properties": {
        "error": {
            "description": "Machine-readable error code, e.g. \"not_found\", \"forbidden\", \"validation\".",
            "type": "string",
            "enum": [
                "bad_request",
                "unauthorized",
                "insufficient_credits",
                "forbidden",
                "web_only",
                "allowlist_widens",
                "not_found",
                "conflict",
                "draft_revision_conflict",
                "rollback_confirmation_conflict",
                "not_replayable",
                "targets_outside_allowlist",
                "gone",
                "deprecated_operation",
                "validation",
                "rate_limited",
                "payment_provider",
                "verification_unavailable",
                "analytics_unavailable",
                "credential_vault_unavailable",
                "notification_grants_unavailable"
            ]
        },
        "message": {
            "description": "Human-readable explanation of what went wrong. Absent on a field-level validation failure, where `fields` carries the detail instead.",
            "type": "string"
        },
        "object": {
            "description": "The resource the error concerns, when there is one.",
            "required": [
                "type",
                "id"
            ],
            "properties": {
                "type": {
                    "type": "string"
                },
                "id": {
                    "type": "string"
                }
            },
            "type": "object"
        },
        "action": {
            "description": "What to do next, naming the call or the panel page that does it. Absent when there is no corrective step.",
            "type": "string"
        },
        "fields": {
            "description": "Present when `error` is \"validation\" — one message per rejected field, keyed by the field name.",
            "type": "object",
            "additionalProperties": {
                "type": "string"
            }
        },
        "retry_after": {
            "description": "An RFC 3339 timestamp, the moment the request may be retried. Not every `rate_limited` refusal carries one.",
            "type": "string",
            "format": "date-time"
        }
    },
    "type": "object"
}

← REST API reference