Launch Week 3: Five days of launches

Download Organization Audit Log Export

(v2)

GET

Downloads the file of a completed organization audit log export.

There is no JSON body. This responds 302 with a Location header pointing at a pre-signed object storage URL, valid for 15 minutes, which serves the gzipped CSV as a file attachment. Follow the redirect to receive the file — with curl, pass -L.

A fresh signature is minted on every call, so this endpoint is the durable link: call it again when you need the file rather than storing the URL it hands back. It returns 404 while the export is still IN_PROGRESS, if the export ERRORED, once the file has been cleaned up, and for an id that belongs to a kind of export other than an audit log export.

GET/v2/organization/audit-logs/exports/{exportId}/download
curl -X GET "https://api.confident-ai.com/v2/organization/audit-logs/exports/{exportId}/download" \
  -H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>"