Skip to main content
GET
Download an artifact’s bytes. A REPORT downloads as a PDF; a SPREADSHEET downloads as an .xlsx workbook. The response is the raw file with Content-Disposition: attachment, not JSON.

Authentication

Requires the x-api-key header with a valid workspace API key.

Path Parameters

string
required
The artifact id, from a spread’s artifacts array or the spread.completed webhook.

Response

The raw file bytes. The Content-Type header is application/pdf for a REPORT and application/vnd.openxmlformats-officedocument.spreadsheetml.sheet for a SPREADSHEET. A 404 is returned if the artifact isn’t in your workspace.