---
title: "Export to the Files API and retrieve presigned URL to download the resulting JSONL file"
method: GET
path: "/v1/observability/datasets/{dataset_id}/exports/to-jsonl"
tags: ["beta.observability.datasets"]
---

# Export to the Files API and retrieve presigned URL to download the resulting JSONL file

`GET /v1/observability/datasets/{dataset_id}/exports/to-jsonl`

## Request

- Base URL: `https://api.mistral.ai`
- URL: `https://api.mistral.ai/v1/observability/datasets/{dataset_id}/exports/to-jsonl`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/mistral/apis/mistral-ai-api/docs/v1/observability/datasets/:dataset_id/exports/to-jsonl/get.ts> (a function with typed inputs; its response is checked against the schema)

Export to the Files API and retrieve presigned URL to download the resulting JSONL file

## Path parameters

- `dataset_id` string, required: Dataset UUID or workspace-scoped slug. UUID-shaped values are always interpreted as dataset IDs.

## Response `200`

Successful Response

- ExportDatasetResponse
  - `file_url` string, required

## Other responses

- `400`: Bad Request - Invalid request parameters or data
- `404`: Not Found - Resource does not exist
- `408`: Request Timeout - Operation timed out
- `409`: Conflict - Resource conflict
- `422`: Unprocessable Entity - Validation error

## Changes

- **2026-10-12** `6c349f3bdef6`: 20 warning, 1 info
  - added the new `OPTIMIZATION_NOT_FOUND` enum value to the `detail/error_code/anyOf[subschema #1: ObservabilityErrorCode]/` response property for the response status `400`
  - added the new `OPTIMIZATION_NOT_FOUND` enum value to the `detail/error_code/anyOf[subschema #1: ObservabilityErrorCode]/` response property for the response status `404`
  - added the new `OPTIMIZATION_NOT_FOUND` enum value to the `detail/error_code/anyOf[subschema #1: ObservabilityErrorCode]/` response property for the response status `408`
  - added the new `OPTIMIZATION_NOT_FOUND` enum value to the `detail/error_code/anyOf[subschema #1: ObservabilityErrorCode]/` response property for the response status `409`
  - …17 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/mistral/apis/mistral-ai-api/changes/v1/observability/datasets/:dataset_id/exports/to-jsonl/get.md)

---

[API](https://skmtc.dev/mistral/apis/mistral-ai-api.md) - [All operations](https://skmtc.dev/mistral/apis/mistral-ai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mistral/apis/mistral-ai-api/revisions/08a585fb75bc?raw)
