1. Docs
  2. API Reference
  3. Get an audit-log export job

Get an audit-log export job

GET/api/v1/audit-events/export/{id}

Returns one export job. When the job has completed, the response includes a short-lived (15-minute) signed download URL minted fresh on each read — the URL is never persisted, so a swept object cannot hand out a working link.

Authentication

Bearer TokenAuthorization Option A

JWT access token

API KeyX-API-Key Option B

API key for management-tier access

Path Parameters

idstring Required

Responses

application/json

  • dataExportJobDto*

application/json

  • errorApiErrorBodyDto*

application/json

  • errorApiErrorBodyDto*

application/json

  • errorApiErrorBodyDto*

Returned object

Request
curl -X GET "https://auth.canopy-io.com/api/v1/audit-events/export/value" \
  -H "X-API-Key: $CANOPY_API_KEY"
Response
{
  "data": {
    "id": "00000000-0000-0000-0000-000000000000",
    "status": "pending",
    "surface": "admin",
    "format": "csv",
    "application_id": "00000000-0000-0000-0000-000000000000",
    "environment_id": "00000000-0000-0000-0000-000000000000",
    "row_count": 0,
    "error": "string",
    "created_at": "2026-04-20T12:00:00.000Z",
    "completed_at": "2026-04-20T12:00:00.000Z",
    "expires_at": "2026-04-20T12:00:00.000Z",
    "download_url": "string"
  }
}
Related endpoints
GETQuery identity audit events
GETList recent audit-log export jobs
POSTCreate an identity audit-events export job (CSV / NDJSON)
DELETEDelete an audit-log export job
GETGet an identity audit event with related events
Was this page helpful?

Tell us how we can improve this guide.