Get Project Audit Log Export
GEThttps://api.confident-ai.com/v1/projects/{projectId}/audit-logs/exports/{exportId}
Retrieves the status of a project audit log export. status is IN_PROGRESS, COMPLETED, or ERRORED; once COMPLETED, rowCount reports how many audit logs the file contains.
Export records are retained for 24 hours after creation. After that this endpoint returns 404.
curl -X GET "https://api.confident-ai.com/v1/projects/{projectId}/audit-logs/exports/{exportId}" \
-H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>"{
"success": true,
"data": {
"auditLogExport": {
"id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"projectId": "project-uuid-1",
"organizationId": "org-uuid-1",
"userId": "api",
"status": "COMPLETED",
"exportType": "AUDIT_LOGS",
"startTime": "2026-03-09T08:12:04.221Z",
"endTime": "2026-08-18T16:44:51.903Z",
"rowCount": 48211,
"errorMessage": null,
"createdAt": "2026-08-18T16:45:02.118Z",
"completedAt": "2026-08-18T16:45:31.204Z"
}
}
}Headers
CONFIDENT_API_KEYstringRequiredThe organization API key for your Confident AI organization.
Path parameters
projectIdstringRequiredThe unique identifier of the project.
exportIdstringRequiredThe unique identifier of the export, returned when it was created.
Response
successbooleanIndicates if the request was successful
dataobjectShow 1 propertyHide 1 property
auditLogExportobjectShow 12 propertiesHide 12 properties
idstringThe unique identifier of the export.
projectIdstringThe project the export is scoped to, or
nullfor an organization-wide export.organizationIdstringThe organization the export belongs to.
userIdstringThe actor that started the export.
apifor exports started with an organization API key.statusenumThe current state of the export.
Show 3 enum valuesHide 3 enum values
IN_PROGRESSCOMPLETEDERRORED
exportTypeenumAlways
AUDIT_LOGSfor audit log exports.Show 1 enum valueHide 1 enum value
AUDIT_LOGS
startTimestringStart of the window the export covers. For an all-time export this is the timestamp of the oldest audit log found.
endTimestringEnd of the window the export covers. For an all-time export this is the timestamp of the newest audit log found.
rowCountintegerThe number of audit logs written to the file.
nulluntil the export completes.errorMessagestringWhy the export failed, when
statusisERRORED.createdAtstringWhen the export was started.
completedAtstringWhen the export finished or failed.
nullwhile it is still running.