Skip to main content
GET
Get an archived pitch document

Authorizations

Authorization
string
header
required

Key from Profile. Send Authorization: Bearer yb_....

Path Parameters

id
string
required

Pitch id from the list (pitch_id).

Minimum string length: 1

Query Parameters

x-vercel-protection-bypass
string

Optional. Vercel Protection Bypass for Automation — use when calling the Staging server.

format
enum<string>

Preferred write-up format. Defaults to the best available (pdf, then mhtml, then md). Mutually exclusive with artifact.

Available options:
pdf,
mhtml,
md
artifact
enum<string>

Snapshot sidecar artifact (not a write-up format). Use attachment for document.attachment.pdf when the archive has one. Mutually exclusive with format.

Available options:
attachment
snapshot
string

Archive snapshot id. Defaults to the latest snapshot.

redirect
enum<string>

When 1, true, or yes, respond with a 302 to the signed URL instead of JSON.

Available options:
0,
1,
true,
false,
yes,
no
disposition
enum<string>

Content-Disposition on the signed URL. attachment (default) downloads the file. inline opens it in the browser when the format supports inline display.

Available options:
attachment,
inline

Response

Signed document URL

url
string<uri>
required

Time-limited signed CloudFront URL.

format
enum<string> | null
required

Write-up format when signing a write-up. Null for artifacts.

Available options:
pdf,
mhtml,
md
artifact
enum<string> | null
required

Artifact kind when signing a sidecar. Null for write-ups.

Available options:
attachment
snapshot
string
required

Snapshot id that was signed.

filename
string
required

Suggested download filename (also set via Content-Disposition on the signed URL).

expires_in_seconds
integer
required

Signed URL lifetime in seconds.

Required range: x <= 9007199254740991