GET
/
documents
/
v1
/
datasets
/
{dataset_name}
/
jobs
curl --request GET \
  --url https://api.tensorlake.ai/documents/v1/datasets/{dataset_name}/jobs \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "createdAt": "<string>",
      "errorMessage": "<string>",
      "fileId": "<string>",
      "fileName": "<string>",
      "id": "<string>",
      "outputsUrl": "<string>",
      "status": "failure",
      "updatedAt": "<string>"
    }
  ],
  "nextCursor": "<string>",
  "prevCursor": "<string>",
  "totalPages": 1
}

Retrieve outputs generated by the dataset. The output is returned via a presigned URL with a lifetime of 1 hour.

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

Query Parameters

cursor
string | null

Cursor to paginate through the list of jobs

limit
integer | null

Limit the number of jobs to return

Required range: x > 0
direction
enum<string> | null

Direction to paginate through the list of jobs

Available options:
next,
prev
status
enum<string> | null

Filter jobs by status

Available options:
failure,
pending,
processing,
successful

Response

200
application/json
List jobs for a dataset
items
object[]
required
totalPages
integer
required
Required range: x > 0
nextCursor
string | null
prevCursor
string | null