---
title: "List Data Sources"
method: GET
path: "/v1/dataSources"
tags: ["Cloud"]
---

# List Data Sources

`GET /v1/dataSources`

List all data sources on your Lucid account.

## Response `200`

OK. Returns a list of data sources.

- DataSourceObject[]
  - union
    - AwsDataSourceObject
      - `dataSourceId` string, required — AWS data source ID
      - `type` 'aws', required
      - `params` object, required
        - `name` string, required
        - `importType` 'crossAccount' | 'cliJson', required
        - `awsAccountId` string — The ID of the linked AWS account (only for crossAccount import types)
        - `regions` string[] — List of AWS regions selected for the data source (only for crossAccount import types)
        - `resourceSelection` string[] — List of AWS resources included in the data source (only for crossAccount import types)
    - AzureDataSourceObject
      - `dataSourceId` string, required — Azure data source ID
      - `type` 'azure', required
      - `params` object, required
        - `name` string, required
        - `importType` 'adApp' | 'cliJson', required
        - `subscriptionId` string — The ID of the linked Azure subscription (only for adApp import types)
        - `resourceSelection` string[] — List of Azure resources included in the data source (only for adApp import types)
    - GoogleCloudDataSourceObject
      - `dataSourceId` string, required — Google Cloud data source ID
      - `type` 'googleCloud', required
      - `params` object, required
        - `name` string, required
        - `importType` 'serviceAccount' | 'cliJson', required
        - `projectIds` string[] — The ID of the linked Google Cloud project (only for serviceAccount import types)
        - `resourceSelection` string[] — List of Google Cloud resources included in the data source (only for serviceAccount import types)

---

[API](https://skmtc.net/lucid/apis/lucid-rest-api.md) · [All operations](https://skmtc.net/lucid/apis/lucid-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lucid/lucid-rest-api/revisions/6a32cb9e1aa7/schema)
