Skip to main content
GET
/
v1
/
datasets
/
{id}
/
items
List items for a dataset with cursor-based pagination
curl --request GET \
  --url https://api.trulayer.ai/v1/datasets/{id}/items \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "dataset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "tenant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "trace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "span_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "feedback_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "label": "pass"
    }
  ],
  "has_more": true,
  "next_cursor": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.trulayer.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

SDK API key (tl_...) or Clerk session JWT

Path Parameters

id
string<uuid>
required

Query Parameters

cursor
string
limit
integer
default:50
Required range: 1 <= x <= 200
label
enum<string>

Filter items by review label. Omit or leave empty to return all items. Any other value than the three listed is rejected with HTTP 400.

Available options:
pass,
fail,
unlabeled

Response

Dataset items list

items
object[]
required
has_more
boolean
required
next_cursor
string | null