Legal preservation

List preserved packages (status)

Polling snapshot: the same current record or collection as the corresponding read endpoint, including its state and progress. List filters, defaults and pagination also apply here. This is not an event history or a changes-since feed. Poll at a sensible interval (start with 30 seconds), respect Retry-After on 429 and stop when the required terminal state is reached.

The Pacchetti di Archiviazione of the organisation: status («sigillato» = sealed, waiting for the night’s proof; «conservato» = proven; «scartato» = discarded), class, digests, the night that proved them. One package per class, night and source partition: sourcePartition is the mailbox id (email_list_accounts) for mail and for the attachments filed from it, null otherwise; a mailbox’s packages are listed only if you can read that mailbox in the Archivio. Every version of a document is preserved in a package of its own: document_id (an Archivio document id, documents_search) lists every package holding a version of that document, newest first — empty for a document you cannot open.

Examples

  • Quali pacchetti sono conservati? GET /api/v1/rest/conservazione/packages/status
  • Show the packages still waiting for their nightly proof GET /api/v1/rest/conservazione/packages/status?status=sigillato
  • In quali pacchetti sono conservate le versioni del contratto 0b1c…? GET /api/v1/rest/conservazione/packages/status?document_id=0b1c2d3e-0000-4000-8000-000000000000
get/api/v1/rest/conservazione/packages/status

Request

  • Base URL: https://api.custodo.ai
  • URL: https://api.custodo.ai/api/v1/rest/conservazione/packages/status
  • Auth: HTTP bearer

Query parameters

limitinteger

Rows to return, 1–100. Default 20.

cursorstring

Opaque cursor from a previous call’s nextCursor, to continue.

status'sigillato' | 'conservato' | 'scartato'
type_idstring uuid
document_idstring uuid
ledger_datestring

Headers

X-Tenant-Idstring uuid

The organisation to act in. An API key is bound to exactly one, so this is optional for a key and must match the one it was minted for.

Response

Done. data is the tool’s own answer.

oktrue required
dataunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.