List the outbox facts this gateway destroyed
Walks the terminal INVALID rows of this tenant’s outbox, oldest first: the money facts this gateway DESTROYED.
The dispatcher never retries a row here, and switching a relay on afterwards recovers nothing. POST /v1/consignado/event-delivery/invalid//requeue puts one row back in the dispatcher’s queue; this operation is a read and moves nothing.
The event PAYLOAD never leaves the store. It is the whole envelope of the fact, business data and CPF included, and an operator deciding what to do about a destroyed fact does not need its body. The recorded failure text does not leave either: it travels as ‘last_error_class’, a MECHANISM, because a publish error can carry a tenant identifier, a contract number or a rail payload. ‘unclassified’ covers both a message no rule recognises and a row with no message at all, which are the same thing to an operator.
‘event_type’ is the stable relay type the dispatcher routed on, not the business fact’s name: the concrete fact rides inside the envelope this read never opens. ‘id’ is the id the requeue operation takes.
There is deliberately NO status filter and NO time window. INVALID is the only status a cursor is correct over, because only an explicit requeue moves a row out of it, and a window would hide exactly the old destroyed fact nobody ever noticed, which is what this surface exists to show.
Paging is keyset over the row’s creation instant and its id. Send the previous page’s page.next_after as after. has_more is true exactly when another page exists, and next_after is null exactly when it is false, so a client loop may terminate on either. The cursor never expires; a cursor this service did not mint is refused with 422 rather than silently restarting the scan from the top.
It answers from a LOCAL table and never reaches the Dataprev rail, so it cannot answer 501. The tenant is derived from the validated identity and is never read from the request.
Autorizações
JWT bearer token issued by the identity provider.
Parâmetros de consulta
The previous page's page.next_after. Omitted starts at the oldest destroyed fact. A cursor this service did not mint is refused, never restarted from the top.
"eyJ2IjoxLCJyIjoiYm9hcmQiLCJ0IjoiMjAyNi0wOC0xNFQwOToxMjozM1oiLCJrIjpbImMwMDEyIl19"
Maximum number of destroyed facts to return. Omitted means the ceiling of 200.
1 <= x <= 20050

