Skip to navigation

Export Document Set Audit Trail

View as Markdown

Downloads the full audit trail of one document set as CSV, with the same filters as List Document Set Audit Trail and no paging. An entry with several targets repeats its Entry ID on each line. Text is never truncated.

Requires reconciliation v2 on the organisation; other tenants receive 404.

Authentication

x-api-keystring
API key issued by Staple.
AuthorizationBearer
JWT obtained from the login endpoint.

Path parameters

idstringRequired

Document set ID (document_set_id from List Document Sets), URL-encoded.

Query parameters

actionlist of stringsOptional

Filter by action, for example force_accept.accepted. Repeat the parameter or pass a comma-separated list. Combined with category by OR.

categorylist of stringsOptional

Filter by action category (the part before the dot), for example force_accept.

fromdatetimeOptional

Only entries at or after this time (ISO 8601 date-time).

todatetimeOptional

Only entries at or before this time (ISO 8601 date-time).

user_idintegerOptional>=1
Only entries performed by this user ID.
tzstringOptional

IANA time zone for the local date-time column. Defaults to UTC.

Response

CSV file, one line per target. Content-Disposition carries the filename.