Skip to main content
GET
/
v2
/
datasets
List datasets
curl --request GET \
  --url https://api.arize.com/v2/datasets \
  --header 'Authorization: Bearer <token>'
{
  "datasets": [
    {
      "id": "dataset_001",
      "created_at": "2024-01-01T12:00:00Z",
      "updated_at": "2024-01-02T12:00:00Z",
      "name": "Sample Dataset 1",
      "space_id": "spc_123"
    },
    {
      "id": "dataset_002",
      "created_at": "2024-01-02T12:00:00Z",
      "updated_at": "2024-01-03T12:00:00Z",
      "name": "Sample Dataset 2",
      "space_id": "spc_123"
    },
    {
      "id": "dataset_003",
      "created_at": "2024-01-03T12:00:00Z",
      "updated_at": "2024-01-04T12:00:00Z",
      "name": "Sample Dataset 3",
      "space_id": "spc_456"
    }
  ],
  "pagination": {
    "next_cursor": "cursor_12345",
    "has_more": true
  }
}

Authorizations

Authorization
string
header
required

Most Arize AI endpoints require authentication. For those endpoints that require authentication, include your API key in the request header using the format

Query Parameters

space_id
string

Filter search results to a particular space ID A universally unique identifier

limit
integer
default:50

Maximum items to return

Required range: 1 <= x <= 100
cursor
string

Opaque pagination cursor returned from a previous response (pagination.next_cursor). Treat it as an unreadable token; do not attempt to parse or construct it.

Response

Returns a list of dataset objects

datasets
object[]
required

A list of datasets

pagination
object
required

Pagination metadata for cursor-based navigation