Get Upload URL
Request a pre-signed URL for secure file upload to cloud storage. This endpoint returns both the upload URL and a file ID that you'll use in subsequent processing requests.
Request Parameters
extractionSchemaId
stringThe unique identifier of the extraction schema you want to use for processing. You can find this ID at the bottom of your model's data page.
filename
stringThe original filename of the document you want to upload. This is used for file type detection and storage organization.
Authorization
stringBearer token for authentication. Format: Bearer your-api-token-here
Response
Returns a JSON object containing the pre-signed URL and file ID.
Response Fields
url
Pre-signed URL for uploading the file to cloud storage. This URL is temporary and expires after a short period.
fileId
Unique identifier for the file record. Use this ID in subsequent API calls to process the uploaded file.
Returns an error if required parameters are missing or invalid.