Exports

Create and download bulk exports of operation records for compliance, archival, or external audit purposes.

Create Export

POST
/v1/exports
Create a new export job. Exports are processed asynchronously.
Auth: compliance_auditor

Request Body

FieldTypeRequiredDescription
startTimestringYesISO 8601 start of export range
endTimestringYesISO 8601 end of export range
agentIdstringNoFilter by specific agent
formatstringNoExport format: json (default) or csv

Example Request

bash
curl -X POST https://api.elydora.com/v1/exports \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "startTime": "2026-02-01T00:00:00Z",
    "endTime": "2026-02-28T23:59:59Z",
    "format": "json"
  }'

Response

json
{
  "exportId": "exp_abc123",
  "status": "processing",
  "createdAt": "2026-02-28T15:00:00Z"
}

List Exports

GET
/v1/exports
List all export jobs for the organization.
Auth: compliance_auditor

Response

json
{
  "data": [
    {
      "exportId": "exp_abc123",
      "status": "completed",
      "format": "json",
      "recordCount": 1247,
      "createdAt": "2026-02-28T15:00:00Z",
      "completedAt": "2026-02-28T15:02:30Z"
    }
  ],
  "nextCursor": null,
  "hasMore": false
}

Get Export Status

GET
/v1/exports/:export_id
Check the status of an export job.
Auth: compliance_auditor

Path Parameters

FieldTypeRequiredDescription
export_idstringYesThe export job identifier

Response

json
{
  "exportId": "exp_abc123",
  "status": "completed",
  "format": "json",
  "recordCount": 1247,
  "createdAt": "2026-02-28T15:00:00Z",
  "completedAt": "2026-02-28T15:02:30Z"
}

Download Export

GET
/v1/exports/:export_id/download
Download the completed export data.
Auth: compliance_auditor

Returns the export file as a downloadable attachment. Only available when the export status is completed.

Example Request

bash
curl -O https://api.elydora.com/v1/exports/exp_abc123/download \
  -H "Authorization: Bearer <token>"