List the tenant's averbação operations
Walks the tenant’s own averbação operation book, oldest claim first.
It answers from a LOCAL table and never reaches the Dataprev rail, so it cannot answer 501 and it is served even on a deployment where averbação itself is switched off. That deployment simply has an empty book. Distinguishing “nothing is stuck” from “the convergence loop is off” is what GET /v1/consignado/capabilities is for: read the averbacao_recovery family there, not the status of this response.
The tenant is derived from the validated identity and is never read from the request. There is no tenant parameter on this operation.
Paging is keyset over the operation’s own claim instant, which the table holds immutable by trigger, so a row’s position never moves and a page can neither skip nor repeat. 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.
status may be repeated to narrow the page to several situations at once (status=averbacao_unknown&status=attachment_pending). Omitting it means ALL eight situations, never none.
The book also lists every contract a renegociação accepted through this gateway minted and POST …/ccb-attachment documents (Manual 004 §1.2.1 asks for documentation after the averbação and after the renegociação), with the same fields. Its contract_id is the renegociação’s id in GET /v1/consignado/rail-commands; response_code, response_message, claimed_at, averbacao_at, averbacao_unknown_at and averbacao_invocation_deadline_at describe the renegociação call; its status is attachment_pending, attachment_invoking while a documentation call is inside its deadline, or confirmed; booking_profile is rail_only, fact_id is null, and last_documentation_close is its newest attempt Dataprev did not accept, as for an averbação. documentation_due_at is averbacao_at plus the averbação’s 7 days (Manual 004 §2.1), which the gateway applies to the renegotiated contract too; averbacao_at_origin is recovery_read when a Manual 005 read proved the renegociação, the recovery pass’s or the bank’s close. GET …/contracts//averbacao answers 404 for such a contract.

