Get a list of event log jobs with the status of each job.
You can view a list of all of the export jobs within the past 7 days, including the status of each job. This allows you to check for exports that have not been processed, exports that can be downloaded, and failed jobs and the reasons for the failure.
Example: GET all event log export jobs
Request URL:
GET
https://api.{region}.alida.com/v2/applications/{communityApiKeyName}/auditlogs/exports
Response content:
{
"meta": {
"offset": 0,
"limit": -1,
"count": 3
},
"items": [
{
"id": "351ce673-158c-f7b2-562a-6c8c4dbf1a39",
"status": "Succeeded",
"errormessage": null,
"data": "https://api.{region}.alida.com/v2/applications/{communityApiKeyName}/auditlogs/exports/351ce673-158c-f7b2-562a-6c8c4dbf1a39/downloadfile",
"createdate": "2021-07-28T17:09:38.038Z",
"filename": "EventLog_2021-07-28T17.09.41.csv"
},
{
"id": "8b3562ac-cecc-ece6-c61e-17e79b6f2237",
"status": "Succeeded",
"errormessage": null,
"data": "https://api.{region}.alida.com/v2/applications/{communityApiKeyName}/auditlogs/exports/8b3562ac-cecc-ece6-c61e-17e79b6f2237/downloadfile",
"createdate": "2021-07-27T18:35:24.551Z",
"filename": "EventLog_2021-07-27T18.35.28.csv"
},
{
"id": "8f52c7f0-71f5-3517-4379-ad3a33986b4d",
"status": "Succeeded",
"errormessage": null,
"data": "https://api.{region}.alida.com/v2/applications/{communityApiKeyName}/auditlogs/exports/8f52c7f0-71f5-3517-4379-ad3a33986b4d/downloadfile",
"createdate": "2021-07-22T18:52:25.532Z",
"filename": "EventLog_2021-07-22T18.52.29.csv"
}
]
}