---
title: "List data sources"
method: GET
path: "/datasources"
tags: ["datasources"]
---

# List data sources

`GET /datasources`

Lists files and folders in the business's data sources directory with optional prefix filtering

## Query parameters

- `prefix` string
- `max_results` integer
- `page_token` string
- `status` string
- `search` string

## Response `200`

OK

- ModelsDataSourcesListResponse
  - `bucket_name` string
  - `continuation_token` string
  - `enable_unzip` boolean
  - `is_truncated` boolean
  - `items` ModelsDataSourceItem[]
    - `content_type` string
    - `key` string
    - `last_modified` string
    - `name` string
    - `size` integer
    - `type` string — "file" or "folder"
  - `prefix` string

## Other responses

- `401` — Unauthorized
- `500` — Internal Server Error

---

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