GET
/
v4
/
datasets
List datasets
curl --request GET \
  --url https://gentrace.ai/api/v4/datasets \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "createdAt": "2025-04-01T00:00:00.000Z",
      "updatedAt": "2025-04-01T00:00:00.000Z",
      "name": "Dataset - negative user feedback - 2025-04-01",
      "description": "Negative user feedback collected from our production environment",
      "archivedAt": "2025-04-01T00:00:00.000Z",
      "pipelineId": "123e4567-e89b-12d3-a456-426614174000"
    }
  ]
}

Authorizations

Authorization
string
header
required

Enter Gentrace API key (Format: Authorization: Bearer <token>)

Query Parameters

pipelineId
string<uuid>

Filter to the datasets for a specific pipeline by UUID

Example:

"123e4567-e89b-12d3-a456-426614174000"

pipelineSlug
string

Pipeline slug

Minimum length: 1
Example:

"email-summarizer"

archived
boolean

Flag to include archived datasets

Example:

false

Response

200
application/json

Successful response

The response is of type object.