---
title: "List Data Source Views"
method: GET
path: "/api/v1/w/{wId}/spaces/{spaceId}/data_source_views"
tags: ["DatasourceViews"]
---

# List Data Source Views

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

Retrieves a list of data source views for the specified space

## Path parameters

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

## Response `200`

List of data source views in the space

- object
  - `dataSourceViews` DatasourceView[]
    - `category` 'managed' | 'folder' | 'website' | 'apps' — The category of the data source view
    - `createdAt` number — Timestamp of when the data source view was created
    - `dataSource` 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
    - `editedByUser` object — The user who last edited the data source view
      - `fullName` string — Full name of the user
      - `editedAt` number — Timestamp of when the data source view was last edited by the user
    - `id` number — Unique identifier for the data source view
    - `kind` 'default' | 'custom' — The kind of the data source view
    - `parentsIn` string[], nullable — List of IDs included in this view, null if complete data source is taken
    - `sId` string — Unique string identifier for the data source view
    - `updatedAt` number — Timestamp of when the data source view was last updated
    - `spaceId` string — ID of the space containing the data source view

## Other responses

- `400` — Bad Request. Missing or invalid parameters.
- `401` — Unauthorized. Invalid or missing authentication token.
- `404` — Workspace not found.
- `500` — Internal Server Error.

---

[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/6a86efb64907/schema)
