<!-- https://pricto.dev/docs/api/get-export · Spanish version: https://pricto.dev/docs/api/get-export.md -->

# Get an export job

`GET https://pricto.dev/v1/exports/{export_id}`

> **Planned.** Not available yet: today it answers `501 not_implemented`.

Get an export job

| Credits | MCP |
|---|---|
| 0 | — |

## Parameters

| Parameter | In | Type | Description |
|---|---|---|---|
| `export_id` **required** | path | `string` |  |

## Response

`200` Export job.

| Field | Type | Description |
|---|---|---|
| `data` | `Job` |  |
| `data.id` **required** | `string` |  |
| `data.status` **required** | `string` | Valores / values: `queued`, `running`, `succeeded`, `failed`. |
| `data.created_at` | `string (date-time)` |  |
| `data.finished_at` | `string (date-time) \| null` |  |
| `data.rows` | `integer \| null` |  |
| `data.files` | `object[]` |  |
| `data.files[].url` | `string (uri)` |  |
| `data.files[].bytes` | `integer` |  |
| `data.files[].expires_at` | `string (date-time)` |  |
| `data.error` | `object` |  |
| `meta` | `Meta` |  |

`meta` carries the cost, the source line to quote, the language, the currency and notices (see [Conventions](/docs/convenciones)).

## Errors

- [`not_implemented`](/docs/errores#not_implemented)

## Example

```bash
curl "https://pricto.dev/v1/exports/exp_ejemplo" \
  -H "Authorization: Bearer sk_test_sandbox"
```
```python
import requests

API_KEY = "sk_test_sandbox"

r = requests.get(
    "https://pricto.dev/v1/exports/exp_ejemplo",
    headers={"Authorization": f"Bearer {API_KEY}"},
)
print(r.status_code, r.json())
```
```js
const API_KEY = "sk_test_sandbox";

const res = await fetch("https://pricto.dev/v1/exports/exp_ejemplo", {
  headers: { Authorization: `Bearer ${API_KEY}` },
});
console.log(res.status, await res.json());
```

```json
{
  "type": "https://pricto.dev/docs#not_implemented",
  "title": "Todavía no disponible",
  "status": 501,
  "code": "not_implemented",
  "detail": "Exports está planificado y todavía no está disponible.",
  "hint": "Para volúmenes grandes usa /offers con format=csv y paginación.",
  "request_id": "req_e200ae637b5e4e35a72d",
  "docs_url": "https://pricto.dev/docs#not_implemented"
}
```
