APIReferenceReports

Download a report artifact

Streams the rendered artifact as an attachment — PDF when available, falling back to HTML. 404 until the artifact's `status` is `complete`.

GET/api/reports/{artifact_id}/download/

Authorization

AuthorizationBearer <token>

Personal Access Token (create one from Settings -> API Keys in the dashboard). Send as Authorization: Bearer gr_live_.... An X-API-Key: gr_live_... header (see the apiKeyAuth scheme) is accepted as an equivalent alternative — send ONE of the two, not both.

In: header

Path Parameters

artifact_id*integer

Response Body

curl -X GET "https://example.com/api/reports/0/download/"
"string"