Skip to main content
GET
GET /projects/{project}/export/download/{export_id}
Downloads an export artifact.

Endpoint details

string
required
Bearer pat_... (Project API Token). Keep this token on your backend/server.
string
required
Project slug. This acts as the Project ID in API paths.
string
required
Export id returned by an export creation or list response.
On success, the response body is the artifact itself, with Content-Type, Content-Length, Content-Disposition, and Accept-Ranges: bytes headers. Current exports with a SHA-256 manifest value also return a stable ETag. Errors use the normal JSON error envelope with a request_id.

Authentication

Table export downloads require record read access to the table. Database and schema export downloads require project admin access.

Parameters

Path: export_id required, format exp_....

Notes

Compare the completed file with the manifest’s sha256 value when verifying an artifact. To resume, send a single Range: bytes={offset}- header and the previous ETag in If-Range. A matching range returns 206 Partial Content with Content-Range; a changed validator returns the full file with 200. An out-of-bounds range returns 416. Each request still requires authorization and an unexpired export. Successful downloads are not wrapped in JSON.

Request examples

Basic request:
Full request:

Response examples

Success (headers followed by the file bytes):
Error or alternate response: