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
| Field | Type | Required | Description |
|---|---|---|---|
| startTime | string | Yes | ISO 8601 start of export range |
| endTime | string | Yes | ISO 8601 end of export range |
| agentId | string | No | Filter by specific agent |
| format | string | No | Export 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
| Field | Type | Required | Description |
|---|---|---|---|
| export_id | string | Yes | The 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>"