GET
/
documents
/
v1
/
jobs
/
{job_id}
curl --request GET \
  --url https://api.tensorlake.ai/documents/v1/jobs/{job_id} \
  --header 'Authorization: Bearer <token>'
{
  "chunks": [
    {
      "content": "<string>",
      "page_number": 1
    }
  ],
  "document": "<any>",
  "fileId": "<string>",
  "fileName": "<string>",
  "jobId": "<string>",
  "message": "<string>",
  "outputs": null,
  "settings": {
    "chunkStrategy": null,
    "deliverWebhook": "false",
    "detectSignature": "false",
    "detectStrikethrough": "false",
    "disableLayoutDetection": "false",
    "figureSummarization": true,
    "figureSummarizationPrompt": "none",
    "formDetectionMode": "vlm",
    "jsonSchema": "<any>",
    "modelProvider": null,
    "skewCorrection": "false",
    "structuredExtractionPrompt": "none",
    "structuredExtractionSkipOcr": "false",
    "tableOutputMode": "json",
    "tableParsingMode": "tsr",
    "tableSummarization": true,
    "tableSummarizationPrompt": "none"
  },
  "status": "failure",
  "structuredOutput": "<any>",
  "tasksCompleted": 123,
  "tasksTotal": 123,
  "traceId": "<string>"
}

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

The response is of type object.