Skip to main content

How long data is kept

The retention period covers the images a person sent and what was read from their documents (names, dates of birth, document numbers). Once you choose a period, the data read from a document is never kept longer than its images, and the date of birth read from the document goes with it. The decision, the status, the reason and the age result (the age and whether it passed) stay, so you can still show why a person was approved or declined. After the images are deleted, their urls in the API are null and downloading them answers 404. After the document data is deleted, the document fields read null; the document type and issuing country stay. The verification page in the console says when this happened. This scheduled deletion is not an erasure: the verification’s erasure field stays null.

Choosing the retention period

Pick one of 30, 60, 90 or 180 days, 1, 2 or 5 years, or Unlimited.
  • For the whole account: administrators set it in the console under Settings, Data retention. A new account starts at 30 days.
  • For one workspace: edit the workspace and choose a period under Data retention, or leave Use the account default. A facial age estimation workspace in Private mode that deletes its media right after the decision has nothing to set, so the choice is not offered there.
  • Through the MCP server: create-workspace and update-workspace take evidence_retention_days (30, 60, 90, 180, 365, 730 or 1825 days, or 0 for unlimited; null follows the account). Changing a live workspace is previewed first, with the deletion warning, and applied only when you confirm.
The workspace’s own period wins over the account’s. An account that has not chosen a period keeps images for 60 days and its document data until it is erased. Deletion runs every night against the period in force then. Shortening a period deletes everything older than the new one that night, and it cannot be recovered; the console asks you to confirm first and names the workspaces the change reaches. Lengthening a period keeps what is still there but cannot bring back what was already deleted.

Erasing a person’s data

When a person asks you to delete their data, or you no longer need it, erase it:
  • on the verification’s page in the console, with Erase Personal Data;
  • through the MCP server, with prepare-purge-personal-data and confirm-purge-personal-data;
  • or from your own code, with a signed DELETE /v1/verifications/{verification}/personal-data call (see below).
You pick why: the person asked (data_subject_request), your company asked (customer_request), retention, test data, or other. Erasure removes the images, the capture recordings, the document fields, the analysis results and the device data. The status, the reason, the dates and the audit trail stay, and so does the fact of the erasure. Erasure cannot be undone. In the console and the MCP server, administrators and support specialists can erase; developers cannot. Through the API, anyone holding the workspace’s secret key can.

Through the API

reason_code is required: data_subject_request, customer_request, retention_policy, test_data or other. reason is optional, up to 1,000 characters, and required with other. The request is signed like any other; see API authentication.
  • Only a verification with a decision can be erased: approved, declined, abandoned or expired. Any other status answers 422 VERIFICATION_NOT_FINAL, because review and a retake may still need the data.
  • The answer is the verification, as GET /v1/verifications/{verification} returns it, with its erasure field set. Calling again on an erased verification answers the same way, so a retry is safe.
  • Right after a decision, while ProofAge is still finishing its checks, the call can answer 409 VERIFICATION_PROCESSING. Wait for the Retry-After header (3 seconds) and call again. A webhook handler that erases as soon as the decision arrives can meet this.
  • No webhook is sent for an erasure.
  • Besides the general limits, a workspace can erase 60 verifications a minute.
Every code it can answer is in Error handling. The server SDKs wrap the call: erasePersonalData() in Node and PHP, erase_personal_data() in Python.

After erasure

The verification’s erasure field says when the data was erased, why, and whether your team (in the console, the MCP server or the API) or ProofAge did it. Document fields read null and images answer 404. See Data models. ProofAge processes this data for you under our Data Processing Agreement. How the data is protected is on Security and data protection.