GET
/
documents
/
v1
/
jobs
/
{job_id}
curl --request GET \
  --url https://api.tensorlake.ai/documents/v1/jobs/{job_id} \
  --header 'Authorization: Bearer <token>'
{
  "chunks": [
    "<string>"
  ],
  "document": "<any>",
  "extractSettings": null,
  "fileId": "<string>",
  "fileName": "<string>",
  "jobId": "<string>",
  "jobType": "extract",
  "message": "<string>",
  "outputs": null,
  "parseSettings": null,
  "settings": null,
  "status": "failure",
  "structuredOutput": "<any>",
  "tasksCompleted": 123,
  "tasksTotal": 123
}

Retrieve the output of a job.

This API call returns a JSON object containing the results of the job.

Authorizations

Authorization
string
header
required

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

Path Parameters

job_id
string
required

The identifier of the job given at creation. Starts with job-

Response

200
application/json
Get Job Output
fileId
string
required
fileName
string
required
jobId
string
required
jobType
enum<string>
required
Available options:
extract,
parse
status
enum<string>
required
Available options:
failure,
pending,
processing,
successful
chunks
string[] | null
document
any
extractSettings
object | null
message
string | null
outputs
object | null
parseSettings
object | null
settings
object | null
structuredOutput
any
tasksCompleted
integer | null
tasksTotal
integer | null