Get Masking Report

Get the PII masking report for a job that ran with mask_pii: true. Returns a signed download link (valid for up to 300 seconds) and an entity count for each report object; the masked values themselves are only in the downloaded objects. Reports are kept for 90 days after the job ran, then expire automatically (410). Requires a key with the index permission.

Path parameters

job_idstringRequired
ID of the job whose masking report to act on, as returned by the indexing endpoint that started it.

Response

Successful Response
job_idstring
statestring

Always retained on a 200.

entity_countinteger
Entities across all files.
fileslist of objects
expires_in_secondsinteger

Lifetime of every url in the response (up to 300).

incompletebooleanOptionalDefaults to false

true while the job is still running or reported failed files, so objects may still be missing.

truncated_objectsbooleanOptionalDefaults to false

true when only the first 500 of the job’s report objects are listed.

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
410
Gone Error
503
Service Unavailable Error
© 2026 Captain