cURL
curl --request POST \ --url https://{api_endpoint}/api/v1/documents/{doc_id}/upload \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form file='@example-file'
{ "task_id": "<string>", "task_name": "<string>", "status": "unknown", "task_args": {}, "result": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
express
standard
high_quality
Successful Response
unknown
started
completed
failed