v1

latestOpenAPI 3.1.02026-07-22168133210.3 KB
Sources

Get PDF upload URL

Generate a signed URL for direct PDF 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