---
title: "Get data sources"
method: GET
path: "/api/v1/w/{wId}/spaces/{spaceId}/data_sources"
tags: ["Datasources"]
---

# Get data sources

`GET /api/v1/w/{wId}/spaces/{spaceId}/data_sources`

Get data sources in the workspace identified by {wId}.

## Path parameters

- `wId` string, required
- `spaceId` string, required

## Response `200`

The data sources

- object
  - `data_sources` Datasource[]
    - `id` integer — Unique identifier for the datasource
    - `createdAt` integer — Timestamp of when the datasource was created
    - `name` string — Name of the datasource
    - `description` string — Description of the datasource
    - `dustAPIProjectId` string — ID of the associated Dust API project
    - `connectorId` string — ID of the connector used for this datasource
    - `connectorProvider` string — Provider of the connector (e.g., 'webcrawler')
    - `assistantDefaultSelected` boolean — Whether this datasource is selected by default for agents

## Other responses

- `404` — The workspace was not found

---

[API](https://skmtc.dev/dust-tt/apis/dust-api-documentation.md) · [All operations](https://skmtc.dev/dust-tt/apis/dust-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dust-tt/dust-api-documentation/revisions/aa52b0aedce0/schema)
