---
title: "Run data export now"
method: POST
path: "/data-exports/{id}/run"
tags: ["Data Exports"]
---

# Run data export now

`POST /data-exports/{id}/run`

## Request

- Base URL: `https://api.sequenzy.com/api/v1`
- URL: `https://api.sequenzy.com/api/v1/data-exports/{id}/run`
- Auth: HTTP bearer

Queues an export immediately instead of waiting for the schedule. If a run is already queued or running, no second run starts.

## Path parameters

- `id` string, required

## Response `200`

Export queued

- object
  - `success` boolean
  - `queued` boolean
  - `dataExport` DataExport: A bucket that Sequenzy streams workspace data to as gzipped JSON lines.
    - `id` string
    - `name` string
    - `provider` 's3' | 'gcs'
    - `bucket` string
    - `region` string
    - `endpoint` string, nullable
    - `pathPrefix` string
    - `accessKeyId` string: Masked access key ID, for example AKIA…WXYZ. The secret is never returned.
    - `datasets` string[]
    - `frequency` 'every_5_minutes' | 'every_15_minutes' | 'hourly' | 'daily'
    - `isEnabled` boolean
    - `status` 'idle' | 'queued' | 'running' | 'failed': failed means the last run failed; it retries automatically with backoff.
    - `startFrom` string, date-time
    - `exportedThrough` object: Per dataset. Event datasets: everything recorded up to this timestamp has been written. subscribers: date of the last complete snapshot. null until the first export of that dataset.
    - `nextRunAt` string, date-time, nullable
    - `lastRunAt` string, date-time, nullable
    - `lastSuccessAt` string, date-time, nullable
    - `lastError` string, nullable
    - `lastErrorAt` string, date-time, nullable
    - `consecutiveFailures` integer
    - `totalRowsExported` integer
    - `createdAt` string, date-time
    - `updatedAt` string, date-time

## Other responses

- `401`: Unauthorized
- `404`: Data export not found
- `409`: The data export is paused (code destination_disabled)

## Changes

- **2026-10-16** `db3873ca3d4d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sequenzy/apis/sequenzy-api/changes/data-exports/:id/run/post.md)

---

[API](https://skmtc.dev/sequenzy/apis/sequenzy-api.md) - [All operations](https://skmtc.dev/sequenzy/apis/sequenzy-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sequenzy/apis/sequenzy-api/revisions/8156dc12d8b4?raw)
