POST
/
documents
/
v1
/
datasets
/
{dataset_name}
curl --request POST \
  --url https://api.tensorlake.ai/documents/v1/datasets/{dataset_name} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form deliver_webhook=true \
  --form 'file_id=<string>' \
  --form 'pages=<string>'
{
  "fileId": "<string>",
  "jobId": "<string>",
  "status": "<string>"
}

Submit a document for parsing or structured extraction using the settings from the dataset.

Authorizations

Authorization
string
header
required

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

Path Parameters

dataset_name
string
required

Body

multipart/form-data
deliver_webhook
boolean | null
file
file | null
file_id
string | null
pages
string | null

Response

200
application/json
Extend a dataset
fileId
string
required
jobId
string
required
status
string
required