cURL
curl --request POST \ --url http://localhost/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>
auto
fast
hi_res
ocr_only
Successful Response
The response is of type object.
object