curl -X POST 'https://api.anyformat.ai/workflows/550e8400-e29b-41d4-a716-446655440000/upload/' \ -H 'x-api-key: YOUR_API_KEY' \ -F 'file=@/path/to/document.pdf'
{ "filename": "document.pdf", "status": "uploaded" }
Upload a file to this workflow without starting extraction
file_collection_id
API key authentication. Add your API key with the X-API-Key header.
X-API-Key
Base64 encoded file content
Original filename when using file_base64
MIME type when using file_base64