---
title: "(BETA) List data sources of an AILake Database instance"
method: GET
path: "/api/v1/ailake/database/instances/{instanceId}/dataSources"
tags: ["AI Lake - Databases"]
---

# (BETA) List data sources of an AILake Database instance

`GET /api/v1/ailake/database/instances/{instanceId}/dataSources`

## Request

- Base URL: `https://www.gooddata.ai`
- URL: `https://www.gooddata.ai/api/v1/ailake/database/instances/{instanceId}/dataSources`
- Auth: none declared

(BETA) Returns data source associations for the specified AI Lake database instance.

## Path parameters

- `instanceId` string, required: Database instance identifier. Accepts the database name (preferred) or UUID.

## Query parameters

- `page` integer: Zero-based page number.
- `size` integer: Number of items per page.
- `metaInclude` string[]

## Response `200`

Data sources successfully retrieved

- JsonApiListDocumentDataSourceInfo: JSON:API-compatible list response envelope
  - `data` JsonApiItemDataSourceInfo[], required: Array of resource items
    - `attributes` DataSourceInfo, required: A single data source association for an AI Lake Database instance
      - `dataSourceId` string, required: Identifier of the data source in metadata-api.
      - `dataSourceName` string, required: Display name of the data source in metadata-api.
      - `id` string, required: Id of the data source association record.
    - `id` string, required: Resource identifier
    - `type` string, required: Resource type
  - `links` JsonApiListLinks, required: Links object for a list response
    - `self` string, required: The URL of this response
  - `meta` JsonApiListMeta: Metadata for a paginated list response
    - `page` JsonApiPageInfo, required: Pagination information
      - `number` integer, required: Zero-based page number
      - `size` integer, required: Page size
      - `totalElements` integer: Total number of elements; only present when metaInclude=page was requested
      - `totalPages` integer: Total number of pages; only present when metaInclude=page was requested

---

[API](https://skmtc.dev/gooddata/apis/gooddata-cn-oapi-all-api.md) - [All operations](https://skmtc.dev/gooddata/apis/gooddata-cn-oapi-all-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gooddata/apis/gooddata-cn-oapi-all-api/revisions/c728ef303bfb?raw)
