Skip to main content
GET
Returns a link to one of a batch’s files. It’s the same link as files.{kind} on Get a Batch. Use it when the earlier link has expired. Read-only API keys are allowed.

Path Parameters

string
required
The batch.
string
required
Which file:
  • jsonl: one line per message with its custom_id, metadata and result.
  • xlsx: the results as a spreadsheet.
  • workbook: the audit workbook.
  • pdf: the audit report.
workbook and pdf exist once the batch’s report_status is ready.

Response

string
A link to the file, valid for an hour.
string
When the link stops working.

Errors