v9

latestOpenAPI 3.1.0raw.githubusercontent.com2026-03-1194110197.0 KB
Sources

Get PDF upload URL

Generate a signed URL for direct upload. Use the returned gcs_path in POST /v2/sources.

post/sources/upload-url

Request body

filenamestring required

Original filename (used for storage object naming)

content_typestring

MIME type for upload (PDF, CSV, TSV, XLS, XLSX)

Response

Successful Response

upload_urlstring required

Signed URL for direct upload (HTTP PUT)

gcs_pathstring required

GCS path to pass to create-source payload

expires_in_secondsinteger required

Signed URL expiration in seconds