Get Classifier Upload URL
Request a pre-signed URL for uploading files that need to be classified. This endpoint returns both the upload URL and an unclassified file ID that you'll use in the classification request.
Request Parameters
classifierId
stringThe unique identifier of the classifier you created in the platform. You can find this ID in your classifier settings.
filename
stringThe original filename of the document you want to classify. 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 unclassified 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.
unclassifiedFileId
Unique identifier for the unclassified file record. Use this ID in the classification request after uploading the file.
Code Examples
Next Steps
Use the signed URL to upload your document file using a PUT request.
PUT {signed_url}
Content-Type: application/pdf
Body: {file_data}
After uploading, use the unclassifiedFileId to classify your document.
Classification Documentation →