Skip to main content
GET
Download a document file

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

A unique integer value identifying this Document.

Query Parameters

purpose
enum<string>

Which file version to serve. Defaults to 'original'. Falls back to 'original' if the requested purpose has no associated file.

Available options:
original,
rendered_pdf,
transcript

Response

Binary file content or sanitized markdown text