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 a file ID that you'll use in the classification request.
Request Parameters
classifierIdstringThe unique identifier of the classifier you created in the platform. You can find this ID in your classifier settings.
filenamestringThe original filename of the document you want to classify. This is used for file type detection and storage organization.
AuthorizationstringBearer token for authentication. Format: Bearer your-api-token-here
Response
Returns a JSON object containing the pre-signed URL and file ID.
Response Fields
urlPre-signed URL for uploading the file to cloud storage. This URL is temporary and expires after a short period.
fileIdUnique identifier for the file. 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 fileId to classify your document.
Classification Documentation →