Download a document
Documents
Download a document
Get a presigned S3 URL for downloading a document. The returned URL is temporary and should be used promptly.
GET
Download a document
Response Format
This endpoint returns plain JSON (not JSON:API format):Access Control
You can download a document if:- You are the owner of the document, OR
- You have the
DocumentsDownloadpermission
Typical Workflow
- Generate a report via
POST /reports/{id}/generate(returns a Document) - Poll the document status via GraphQL until
statusisavailable - Call this endpoint to get the presigned download URL
- Use the presigned URL to download the file
Authorizations
OAuth 2.0 authentication. Use the client credentials or authorization code flow to obtain an access token.
The subdomain/tenant name identifying which tenant's data to access. Required for all API requests.
Path Parameters
The unique identifier of the document to download
Response
Presigned download URL returned successfully
Presigned S3 URL for downloading the file

