---
updatedAt: 2026-10-25T15:46:36.000Z
agentTools:
  projectIndex: https://docs.superwise.ai/llms.txt
---

# Get Datasets

Retrieve all Datasets based on search query OR provided filters

- **search** (str or None): Optional, Global search query to filter datasets across multiple fields (id, name, created_at, updated_at). If provided, specific filters are ignored.
- **name** (str or None): Optional, Name of the dataset based on which records to be fetched.
- **description** (str or None): Optional, Description of the dataset based on which records to be fetched.
- **id** (str or None): Optional, Unique identifier of the dataset based on which records to be fetched.
- **model_version_id** (str or None): Optional, Model version identifier based on which datasets to be fetched.
- **created_by** (str or None): Optional, Identifier of the user who created the datasets based on which datasets to be fetched.

Returns a paged list of datasets. A `search` value searches across ID, name, and timestamps, and when you provide it the specific filters are ignored.

## When to use it

Use it to find a dataset's ID or list the datasets in your account.

## Required parameters

This call takes no required parameters.

Optional query parameters: `search`, `name`, `description`, `id`, `model_version_id`, `created_by`. Use `page` and `size` to page through the results.

## Response

A successful call returns `200 OK` with a page of `DatasetResponse` objects in `items`, plus the paging fields `total`, `page`, `size`, and `pages`.

**Related:** [Get a dataset](https://docs.superwise.ai/reference/get_dataset), [Search datasets](https://docs.superwise.ai/reference/search_datasets), [Create a dataset](https://docs.superwise.ai/reference/create_dataset)

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "paths": {
    "/v1/datasets": {
      "get": {
        "tags": [
          "Dataset"
        ],
        "summary": "Get Datasets",
        "description": "Retrieve all Datasets based on search query OR provided filters\n\n- **search** (str or None): Optional, Global search query to filter datasets across multiple fields (id, name, created_at, updated_at). If provided, specific filters are ignored.\n- **name** (str or None): Optional, Name of the dataset based on which records to be fetched.\n- **description** (str or None): Optional, Description of the dataset based on which records to be fetched.\n- **id** (str or None): Optional, Unique identifier of the dataset based on which records to be fetched.\n- **model_version_id** (str or None): Optional, Model version identifier based on which datasets to be fetched.\n- **created_by** (str or None): Optional, Identifier of the user who created the datasets based on which datasets to be fetched.",
        "operationId": "get_datasets",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Search"
            }
          },
          {
            "name": "name",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Name"
            }
          },
          {
            "name": "description",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Description"
            }
          },
          {
            "name": "id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Id"
            }
          },
          {
            "name": "model_version_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Model Version Id"
            }
          },
          {
            "name": "created_by",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Created By"
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "description": "Page number",
              "default": 1,
              "title": "Page"
            },
            "description": "Page number"
          },
          {
            "name": "size",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 1000,
              "default": 25,
              "title": "Size"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Page_DatasetResponse_Customized"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    }
  },
  "info": {
    "title": "Superwise Main Entities",
    "description": "API reference",
    "version": "0.1.0"
  },
  "components": {
    "schemas": {
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "ValidationError": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          },
          "ctx": {
            "type": "object",
            "title": "Context"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      },
      "DatasetResponse": {
        "properties": {
          "_id": {
            "type": "string",
            "title": "Id"
          },
          "id": {
            "type": "string",
            "title": "Id"
          },
          "name": {
            "type": "string",
            "title": "Dataset Name",
            "description": "A descriptive name for this dataset"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dataset Description",
            "description": "Relevant information about the context of this dataset"
          },
          "model_version_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Model Version Id"
          },
          "created_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created At"
          },
          "updated_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "title": "Updated At"
          },
          "created_by": {
            "type": "string",
            "title": "Created By"
          },
          "updated_by": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Updated By",
            "description": "User who last updated this dataset"
          },
          "tags": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/DatasetTag"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tags"
          },
          "schema": {
            "$ref": "#/components/schemas/Schema-Output",
            "default": {}
          },
          "tenant_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tenant Id"
          },
          "tag_ids": {
            "items": {
              "type": "string",
              "format": "uuid4"
            },
            "type": "array",
            "title": "Tag Ids"
          },
          "archived_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "title": "Archived At"
          }
        },
        "type": "object",
        "required": [
          "_id",
          "id",
          "name",
          "created_by"
        ],
        "title": "DatasetResponse",
        "example": {
          "_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "created_by": "1514f337-7b42-435d-bc19-99be46c13098",
          "description": "Some Dataset Description",
          "id": "Training_16101988",
          "model_version_id": "catboost_v365",
          "name": "Name for Some Dataset",
          "tags": {
            "project": "churn_prediction",
            "type": "training"
          }
        }
      },
      "DatasetTag": {
        "properties": {
          "key": {
            "type": "string",
            "title": "Key"
          },
          "value": {
            "type": "string",
            "title": "Value"
          }
        },
        "type": "object",
        "required": [
          "key",
          "value"
        ],
        "title": "DatasetTag"
      },
      "Page_DatasetResponse_Customized": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/DatasetResponse"
            },
            "type": "array",
            "title": "Items"
          },
          "total": {
            "type": "integer",
            "minimum": 0,
            "title": "Total"
          },
          "page": {
            "type": "integer",
            "minimum": 1,
            "title": "Page"
          },
          "size": {
            "type": "integer",
            "minimum": 1,
            "title": "Size"
          },
          "pages": {
            "type": "integer",
            "minimum": 0,
            "title": "Pages"
          }
        },
        "type": "object",
        "required": [
          "items",
          "total",
          "page",
          "size",
          "pages"
        ],
        "title": "Page[DatasetResponse]Customized"
      },
      "Schema-Output": {
        "properties": {
          "fields": {
            "anyOf": [
              {
                "additionalProperties": {
                  "$ref": "#/components/schemas/SchemaItem"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fields"
          },
          "key_field": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Key Field"
          }
        },
        "type": "object",
        "title": "Schema"
      },
      "SchemaItem": {
        "properties": {
          "type": {
            "$ref": "#/components/schemas/Type"
          },
          "default_value": {
            "title": "Default Value"
          }
        },
        "type": "object",
        "required": [
          "type"
        ],
        "title": "SchemaItem"
      },
      "Type": {
        "type": "string",
        "enum": [
          "numeric",
          "string",
          "boolean",
          "datetime",
          "date",
          "json",
          "image",
          "image_link"
        ],
        "title": "Type"
      }
    },
    "securitySchemes": {
      "implicit": {
        "type": "oauth2",
        "flows": {
          "implicit": {
            "authorizationUrl": "https://authentication.superwise.ai/identity/resources/auth/v1/api-token",
            "scopes": {}
          }
        }
      }
    }
  },
  "security": [
    {
      "implicit": []
    }
  ],
  "servers": [
    {
      "url": "api.superwise.ai",
      "description": "Superwise Api Gateway"
    }
  ]
}
```