GET
/
documents
/
v1
/
datasets
curl --request GET \
  --url https://api.tensorlake.ai/documents/v1/datasets \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "created_at": "<string>",
      "description": "<string>",
      "id": "<string>",
      "name": "<string>"
    }
  ],
  "nextCursor": "<string>",
  "prevCursor": "<string>",
  "totalPages": 1
}

List all the datasets in your organization.

Authorizations

Authorization
string
header
required

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

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

Response

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