---
title: "Get All Data Sources"
method: GET
path: "/dataSources"
tags: ["Data Source"]
---

# Get All Data Sources

`GET /dataSources`

## Request

- Base URL: `https://data.lucid.app`
- URL: `https://data.lucid.app/dataSources`
- 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 sources that the user has access to. The results will be paginated. If the number of data sources 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 sources 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 Source objects

- object
  - `dataSources` object[]
    - `uri` string, required: URI of the data source
    - `name` string, required: Name of the data source
    - `adapterType` string, required: Type of adapter used to create the data source. Valid values are `CSV`, `DATA_API`, and `UNKNOWN`
    - `collections` string, required: Link to get collections for the data source
    - `created` string, required: Date the data source was created
    - `lastModified` string, required: Date the data source was last modified
    - `pending` boolean, required: If a data source is marked pending it won't be availble for users to select within Lucid
    - `dataSet` string, required: Link to get the data set for the data source
    - `linkParameters` object: Link parameters for the data source
    - `deleted` string: Date the data source was deleted
  - `total` integer: Total number of data sources
  - `prev` string: Link to get the previous set of data sources
  - `next` string: Link to get the next set of data sources

---

[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)
