POST
/
documents
/
{doc_id}
/
upload
curl --request POST \
  --url http://localhost/api/v1/documents/{doc_id}/upload \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data'
{
  "task_id": "<string>",
  "task_name": "<string>",
  "status": "unknown",
  "task_args": {},
  "result": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

doc_id
string
required

Query Parameters

extraction_strategy
enum<string>
Available options:
auto,
fast,
hi_res,
ocr_only

Body

multipart/form-data

Response

200
application/json

Successful Response

The response is of type object.