Document Download

Download Pipeline Item Document

GET /api/v1/pipelines/{pipeline_id}/items/{pipeline_item_id}/documents/{document_id}/download

Get a time-limited signed URL to download the original submitted document. The signed URL does not require authentication and can be shared or used in automated workflows within the expiration window.

Parameters

Parameter

Type

Required

Description

pipeline_id

integer (path)

Yes

The pipeline identifier

pipeline_item_id

integer (path)

Yes

The pipeline item identifier

document_id

integer (path)

Yes

The document identifier (returned from the submit endpoint)

expiration_minutes

integer (query)

No

Signed URL TTL in minutes (default: 15, min: 1, max: 10080)

Response — 200 OK

Field

Type

Description

document_id

integer

The document identifier

signed_url

string

Time-limited URL for downloading the file (no authentication required)

expires_in_minutes

integer

How long the signed URL remains valid

Errors

Status

Description

401

Authentication required

403

Authorization denied by policy chain

404

Pipeline, pipeline item, or document not found; or document has no file

500

Invalid document storage URL