Appearance
Data retention
EyeDP can delete your cases, or just the files your customers upload, after a set time, so you don't keep your customers' data longer than you need to.
You don't set these yourself. EyeDP sets them for you when you ask, so the change is agreed and recorded. To turn either on, change it or turn it off, contact [email protected]. The Portal shows what's set under Settings → General → Data Retention. Both apply to everything you already have, and what they delete can't be recovered: see the warning under each.
Case retention
| Default | Not set (cases are kept until you delete them) |
|---|---|
| Periods | 30 to 3650 calendar days (10 years) |
Deletes each of your cases a set number of calendar days after it was created.
WARNING
This applies to the cases you already have, not just new ones. Turning it on, or making it shorter, deletes every case older than the new period from the next night's run. Deleted cases can't be recovered.
Which cases are deleted
- Every case you have, however it was created: in the Portal, through the API or from uploaded documents.
- A case with a check still in progress, such as one waiting on a provider or on your customer, is deleted on a later night, once it finishes.
- A check whose status hasn't changed for 7 calendar days doesn't hold its case back. The case is deleted, and that check's webhook isn't sent.
What happens
- Every night, at about 01:00 UTC, EyeDP deletes your cases that are older than this. It's the same as deleting a case yourself: its details and documents are removed.
- A case is deleted in the first run after it's the full number of days old. For example, with 30 days, a case created on 1 October at 10:00 UTC is 30 days old on 31 October at 10:00 UTC. It's deleted in the run on 1 November.
- If you have a lot of older cases, they may be deleted over several nights.
What you'll see
- Get case returns
404for a deleted case. - If you subscribe to case change webhooks, you receive
caseDeletedwithsourceset tocaseRetentionfor each case deleted. The first run can send many at once, so make sure your endpoint can handle them (see Delivery). - No more check webhooks are sent for a deleted case.
Document file retention
| Default | Not set (files are kept until their case is deleted) |
|---|---|
| Periods | Straight after extraction, or 1 to 3650 calendar days (10 years) after it |
Deletes the files your customers uploaded once each document's data has been extracted. The document, its extracted data and its check results are kept.
WARNING
This applies to the documents you already have, not just new ones. Turning it on, or making it shorter, deletes the files of every document past the new period from the next night's run. Deleted files can't be recovered, viewed, downloaded or checked for tampering again.
Which documents' files are deleted
- Every document on your cases, however it was uploaded: in the Portal or through the API.
- Only the files that were uploaded. Anything EyeDP made from them, such as the photo cut from an ID document, is kept until the case is deleted.
- A document whose extraction is still running keeps its files until it finishes.
- If extraction fails, after its automatic retry, the files aren't deleted straight away. With a number of days, they're deleted on the same timing as if extraction had succeeded. Set to straight after extraction, they're kept for 7 calendar days, then deleted in the nightly run. Extraction isn't run again after it fails: to try again, upload the document again.
- A document with a check still reading its files, such as Tamper Detection, keeps them until the check finishes. A check whose status hasn't changed for 7 calendar days doesn't hold the files back.
What happens
- Set to straight after extraction, a document's files are deleted as soon as its extraction, and every check that reads its files, has finished. That's usually within minutes of upload.
- With a number of days, the files are deleted in the first nightly run, at about 01:30 UTC, after extraction finished that many days ago. For example, with 7 days, a document extracted on 1 October at 10:00 UTC has its files deleted in the run on 9 October.
- Turning it on deletes the files of the documents you already have in the nightly runs. If you have a lot of them, this may take several nights.
What you'll see
- Get document still lists the files, with
fileDeletedDateset. Downloading a deleted file returns404. - The Portal still lists the document, and says when its files were deleted instead of showing them.
- Tamper Lite and Tamper Detection can't run on a deleted file: their sections in Checks say what you'll see.
- Anomaly Detection runs as before. The one exception is a document uploaded against a document definition of your own: if Anomaly Detection runs on it again after its files are deleted, its check that reads the files shows as not run. Checks that only read extracted data run as before.
- The case's history in the Portal says when each document's files were deleted.
- If you subscribe to
document-files/deleted, you receive one for each document whose files are deleted. The first run can send many at once, so make sure your endpoint can handle them (see Delivery).

