---
title: "Export executions as a CSV file (admin only)."
method: GET
path: "/api/v1/execution/export"
---

# Export executions as a CSV file (admin only).

`GET /api/v1/execution/export`

**Authentication**: JWT token required
**Authorization**: ADMIN or SUPERADMIN required

**Query Parameters**:
- ``date_field``: Column to filter by (``start_date`` or ``end_date``)
- ``date_from``: ISO 8601 start date (inclusive)
- ``date_to``:   ISO 8601 end date   (inclusive)

**Response**: ``text/csv`` attachment named ``executions_export_<timestamp>.csv``

**Error Responses**:
- ``400`` – invalid ``date_field``
- ``403`` – insufficient privileges

## Response `200`

Success

- object

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.dev/trends/apis/trends-earth-api.md) · [All operations](https://skmtc.dev/trends/apis/trends-earth-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/trends/trends-earth-api/revisions/6bdbc0b84666/schema)
