---
title: "Get All Data Sets"
method: GET
path: "/dataSets"
tags: ["Data Set"]
---

# Get All Data Sets

`GET /dataSets`

## Request

- Base URL: `https://data.lucid.app`
- URL: `https://data.lucid.app/dataSets`
- Auth: OAuth 2
  - Authorization code: `https://lucid.app/oauth2/authorize`
  - Token URL: `https://api.lucid.co/oauth2/token` scopes: `data-service.admin`

This endpoint returns all data sets that the user has access to. The results will be paginated. If the number of data sets exceeds the pagination limit, links will be provided to get the next set of results or the previous set of results (if applicable). The range of returned values can be determined by optional start and end parameters. If the difference between the end and start values is greater than the pagination limit, the endpoint returns data sets in the range from start to start + pagination limit. Items in the response are determined based on their creation order.

## Query parameters

- `start` integer
- `end` integer

## Response `200`

OK with paginated list of Data Set objects

- object
  - `dataSets` object[]
    - `uri` string, required: URI of the data set
    - `name` string, required: Name of the data set
    - `properties` string, required: Link to get properties of the data set
    - `created` string, required: Date the data set was created
    - `modified` string, required: Date the data set was last modified
    - `creatorId` integer, required: ID of the user who created the data set
    - `dataSetGrants` string, required: Link to get grants for the data set
    - `dataSources` string, required: Link to get data sources for the data set
  - `total` integer: Total number of data sets
  - `prev` string: Link to get the previous set of data sets
  - `next` string: Link to get the next set of data sets

---

[API](https://skmtc.dev/lucid/apis/lucid-data-api.md) - [All operations](https://skmtc.dev/lucid/apis/lucid-data-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lucid/apis/lucid-data-api/revisions/c14ed29dbeab?raw)
