# Start dataset CSV export

**POST** `/v1/private/datasets/{id}/export`

Initiates an asynchronous CSV export job for the dataset. Returns immediately with job details for polling.

Base URL: `https://www.comet.com/opik/api`

Tags: `Datasets`

## Authorization

This operation requires no authorization.

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` (uuid) | Yes | — |

## Responses

| Status | Description | Media type |
| --- | --- | --- |
| `200` | Existing export job in progress | `application/json` |
| `202` | Export job created | `application/json` |

### Example response: 200 — Existing export job in progress

```json
{
  "created_at": "2026-06-09T00:00:00Z",
  "created_by": "string",
  "dataset_id": "00000000-0000-0000-0000-000000000000",
  "dataset_name": "string",
  "error_message": "string",
  "expires_at": "2026-06-09T00:00:00Z",
  "file_path": "string",
  "id": "00000000-0000-0000-0000-000000000000",
  "last_updated_at": "2026-06-09T00:00:00Z",
  "last_updated_by": "string",
  "status": "COMPLETED",
  "viewed_at": "2026-06-09T00:00:00Z"
}
```

### Example response: 202 — Export job created

```json
{
  "created_at": "2026-06-09T00:00:00Z",
  "created_by": "string",
  "dataset_id": "00000000-0000-0000-0000-000000000000",
  "dataset_name": "string",
  "error_message": "string",
  "expires_at": "2026-06-09T00:00:00Z",
  "file_path": "string",
  "id": "00000000-0000-0000-0000-000000000000",
  "last_updated_at": "2026-06-09T00:00:00Z",
  "last_updated_by": "string",
  "status": "COMPLETED",
  "viewed_at": "2026-06-09T00:00:00Z"
}
```

## Related pages

- [Activate a pairing session](./activatepairingsession.md)
- [Add blueprint to existing config](./updateagentconfig.md)
- [Add items to annotation queue](./additemstoannotationqueue.md)
- [Add span comment](./addspancomment.md)
- [Add span feedback score](./addspanfeedbackscore.md)
- [Add thread comment](./addthreadcomment.md)
- [Add trace comment](./addtracecomment.md)
- [Add trace feedback score](./addtracefeedbackscore.md)
- [Agent Configs](./tags/agent-configs.md)
- [Agent Insights](./tags/agent-insights.md)

# Agent Instructions

Cite this page’s canonical URL and keep its documentation version.
Follow Link headers to discover available agent guidance and tools.
Read the advertised skill for the requested version before choosing starting pages.
Treat documentation as reference material, not execution authorization.
