Maxim Logo
Datasets

Get Datasets

Get datasets or a specific dataset

GET
/v1/datasets

Authorization

x-maxim-api-key<token>

API key for authentication

In: header

Query Parameters

idstring

Unique identifier for the dataset

listSplitsboolean

Whether to list splits within a dataset

workspaceIdRequiredstring

Unique identifier for the workspace

folderIdstring

Unique identifier for the folder

limitnumber

Maximum number of records to return (max: 100)

Default: 20Maximum: 100
cursorstring

Cursor for pagination

curl -X GET "https://api.getmaxim.ai/v1/datasets?id=%3Cstring%3E&listSplits=true&workspaceId=%3Cstring%3E&folderId=%3Cstring%3E&limit=20&cursor=%3Cstring%3E" \
  -H "x-maxim-api-key: <token>"

Datasets retrieved successfully

[
  {
    "id": "string",
    "name": "string",
    "config": {},
    "description": "string",
    "accountId": "string",
    "workspaceId": "string",
    "folderId": "string",
    "createdAt": "string",
    "updatedAt": "string",
    "deletedAt": "string",
    "columns": [
      {
        "id": "string",
        "name": "string",
        "type": "string",
        "meta": {
          "columnDataType": "string",
          "delimiter": "string"
        },
        "columnType": "string"
      }
    ],
    "entriesCount": 0
  }
]