Skip to main content
GET
Export a production batch

Authorizations

Authorization
string
header
required

Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.

Path Parameters

batchId
integer
required

The production batch ID.

Query Parameters

export_type
enum<string>
default:PDF

Output format. Defaults to PDF (the run document); CSV/XLSX produce the flat data export.

Available options:
PDF,
CSV,
XLSX
export_template_id
integer

A saved Production Run data template of the matching type. Without it the tenant default applies; a data export with no template carries every column.

Response

The exported file (Content-Disposition: attachment).

The response is of type file.