---
title: "Get an export job"
method: GET
path: "/v3/exports/{jobId}"
tags: ["Exports"]
---

# Get an export job

`GET /v3/exports/{jobId}`

Returns the current state of an export job. Poll this until `status` is
`success`, `failure` or `cancelled`.

## Path parameters

- `jobId` string, uuid, required

## Response `200`

The export job.

- ExportJob
  - `jobId` string, uuid
  - `createdAt` string, date-time
  - `connection` string — Name of the connection. Falls back to its identifier if the connection has since been deleted.
  - `source` string
  - `format` 'geoparquet' | 'geojson' | 'shapefile' | 'geopackage' | 'csv' | 'tab' | 'kml' | 'kmz'
  - `status` 'pending' | 'running' | 'success' | 'failure' | 'cancelled' — `success`, `failure` and `cancelled` are final states.
  - `error` string — Empty string when the job hasn't failed.
  - `result` object — Empty until the job succeeds.
    - `rowCount` integer — Rows exported. `-1` when the data warehouse doesn't report a count.
    - `format` string
    - `outputUrl` string — Where the file was written.
    - `downloadUrl` string — Signed URL to download the file. Only present when the export went to CARTO's storage — not when you passed `destUrl`.
    - `fileSize` integer — Size of the exported file in bytes.
    - `expirationDate` string, date-time — When `downloadUrl` stops working, 24 hours after minting.

## Other responses

- `401` — The token is missing, malformed or expired.
- `404` — The job doesn't exist, or belongs to another organization.
- `429` — You went over the [rate limit](#rate-limits) for this API.

---

[API](https://skmtc.net/gitbookio/apis/carto-api.md) · [All operations](https://skmtc.net/gitbookio/apis/carto-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitbookio/carto-api/revisions/019f79ecdd6c/schema)
