API Documentation
Document Ingestion
- File Management
- Parsing
- Jobs
- Webhooks
- Datasets
Jobs
Get Job Output
GET
/
documents
/
v1
/
jobs
/
{job_id}
Copy
Ask AI
curl --request GET \
--url https://api.tensorlake.ai/documents/v1/jobs/{job_id} \
--header 'Authorization: Bearer <token>'
Copy
Ask AI
{
"chunks": [
{
"content": "<string>",
"page_number": 1
}
],
"createdAt": "<string>",
"document": "<any>",
"fileId": "<string>",
"fileName": "<string>",
"finishedAt": "<string>",
"jobId": "<string>",
"labels": {},
"message": "<string>",
"outputs": null,
"pageRange": "<string>",
"parsedPages": 123,
"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
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The identifier of the job given at creation. Starts with job-
Response
200
application/json
Get Job Output
The response is of type object
.
Was this page helpful?
Copy
Ask AI
curl --request GET \
--url https://api.tensorlake.ai/documents/v1/jobs/{job_id} \
--header 'Authorization: Bearer <token>'
Copy
Ask AI
{
"chunks": [
{
"content": "<string>",
"page_number": 1
}
],
"createdAt": "<string>",
"document": "<any>",
"fileId": "<string>",
"fileName": "<string>",
"finishedAt": "<string>",
"jobId": "<string>",
"labels": {},
"message": "<string>",
"outputs": null,
"pageRange": "<string>",
"parsedPages": 123,
"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>"
}
Assistant
Responses are generated using AI and may contain mistakes.