Logs

To retrieve the list of export logs, send a GET /exports/logs request with the ID of your export configuration and the ID of the organization that your export belongs to:
GET https://api.didomi.io/exports/logs?export_id=9gh49gn5&organization_id=didomi
{
"data": [{
"id": "585g64ff",
"export_id": "9gh49gn5"
"organization_id": "didomi",
"status": "completed",
"config": { "frequency": "1 day" },
"metrics": {
"users": 432234
},
"result": "Job failed."
}]
}

Exports status

During the scheduled execution of your batch export, the following status can be logged:
Status
Description
pending
The export is currently running and preparing the delivery of your batch.
completed
The export has finished successfully and your data has been delivered. You can find some information about the batch in the metrics property.
failed
The export has failed to deliver the data. The error message can be found in the result property.