Download Project Audit Log Export
(v2)GET
Downloads the file of a completed project audit log export. Responds 302 with a Location header pointing at a pre-signed URL, valid for 15 minutes, serving the gzipped CSV — follow the redirect (with curl, -L). A fresh signature is minted per call, so call this again rather than storing the URL. Returns 404 while the export is IN_PROGRESS or ERRORED, once the file is cleaned up, or for a non-audit-log export id.
curl -X GET "https://api.confident-ai.com/v2/projects/{projectId}/audit-logs/exports/{exportId}/download" \
-H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>"Headers
CONFIDENT_API_KEYstringRequiredThe organization API key for your Confident AI organization.
Path parameters
projectIdstringRequiredThe id of the project whose audit logs are exported. It must belong to the organization the API key belongs to.
exportIdstringRequiredThe id of the audit log export, as returned when it was created.