View export request
The export API allows you to retrieve a specific export request with its ID.
API Description
Get information about an export request.
Export request id received when creating an export request.
The unique project key, identifying a project on the Batch platform
project_0664hxvwffvbpn278gxdyhsadddqgna6
Route
The Project Export API exposes a GET endpoint that allows to get information about an export request:
https://api.batch.com/2.4/exports/view
Headers and authentication
See Overview → Using Project APIs.
Responses
Success
If the GET to the API endpoint is successful you will receive an HTTP 200 confirmation and information about your export request.
The response includes all the extraction files available for download if any (in the files
field). The files can be downloaded via the provided URL in the url
field (see Download export API). Depending on the amount of data extracted, a request may have multiple output JSON
files with a maximum size of 100MB
.
Some information are only available when the status
field is SUCCESS
. 5 values are possible for request status:
CREATED
: for export request created and not yet PENDINGPENDING
: for export request ready-to-executeRUNNING
: for export request being executedSUCCESS
: for export request completed with successERROR
: for export request terminated with an error
Failure
If the POST data does not meet the API requirements you will receive an actionable error message. Contact us at support@batch.com if you need further support.
See the list of potential failures in the API Description.
Last updated
Was this helpful?