List Documents
Returns documents visible to the key owner in the registry, newest first by default, filtered by status, type, initiator, creation date, and last change. List items carry the document’s scalar fields only — files and route are omitted; call GetDocument for those. Note: a document reachable only through a participant grant (you are a signer but neither the initiator nor a permission holder) is returned by GetDocument but does not appear here — the registry lists by initiator and permission scope.
Required scope: documents:read
Error Codes:
- DEVELOPER.SCOPE_INSUFFICIENT: The key lacks the documents:read scope.
- INVALID_ARGUMENT: A malformed page_token or date.
Авторизации
Параметры запроса
Maximum items to return. Default 100, capped at 1000.
Opaque continuation token from a previous response.
Filter by status.
DOCUMENT_STATUS_UNSPECIFIED, DOCUMENT_STATUS_DRAFT, DOCUMENT_STATUS_ON_APPROVAL, DOCUMENT_STATUS_ON_SIGN, DOCUMENT_STATUS_COMPLETED, DOCUMENT_STATUS_REJECTED, DOCUMENT_STATUS_ARCHIVED, DOCUMENT_STATUS_CHANGE_REQUESTED, DOCUMENT_STATUS_REVOKED Filter by document type id.
Filter by initiator employee id.
Inclusive lower bound on the creation date, YYYY-MM-DD.
Inclusive upper bound on the creation date, YYYY-MM-DD.
Case-insensitive match against the document title or number.
Return only documents changed at or after this instant. Pair it with order_by: DOCUMENT_ORDER_UPDATED_AT_ASC to walk changes from a checkpoint; unlike the creation-date filters, it also catches documents that moved status long after they were created.
Result order. Defaults to newest created first.
DOCUMENT_ORDER_UNSPECIFIED, DOCUMENT_ORDER_CREATED_AT_DESC, DOCUMENT_ORDER_UPDATED_AT_ASC