Sources

Get PDF upload URL

Changed on

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

post/sources/upload-url

Request

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

Changes