---
title: "Get Lyro data sources"
method: GET
path: "/lyro/data-sources"
tags: ["Lyro"]
---

# Get Lyro data sources

`GET /lyro/data-sources`

Returns a paginated list of data sources used by the Lyro AI Agent.

Data sources provide knowledge that Lyro uses to answer customer questions.

## Structure

Data sources are organized in a two-level hierarchy based on their `kind`:

- **`folder`** – top-level containers grouping scraped or imported QA pairs as children.
  Includes websites, Zendesk Help Centers articles, PDF files, and more.
  The `type` field reflects the specific source type (e.g. `website`, `zendesk_hc`).
  The `content` field is always `null` for folders.
  Folder items of `type=website` additionally populate `source_url`, `skip_auto_sync`, `manual_sync_available_at`, and `next_auto_sync_at`.

- **`qa`** – individual question-answer pairs. Can be:
  - Standalone (manually created) — `parent_id` is `null`
  - Children of a folder (scraped/imported) — `parent_id` links to the parent folder's `id`

  The `content` field is populated for QA items.

By default, the list includes both top-level folders and all QA items (including children).
Use the `kind` and `parent_id` filters to narrow results.

## Sorting

Results are sorted by `updated_at` descending by default.

## Pagination

Use the `cursor` value from the `meta` object to fetch the next page. When `meta.cursor` is `null`, there are no more pages.

## Query parameters

- `cursor` string
- `kind` string[]
- `parent_id` string, uuid
- `order` 'asc' | 'desc'

## Response `200`

Paginated list of data sources

## Other responses

- `400` — Invalid cursor
- `422` — Unprocessable Entity

---

[API](https://skmtc.dev/tidio/apis/tidio-openapi.md) · [All operations](https://skmtc.dev/tidio/apis/tidio-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tidio/tidio-openapi/revisions/60b2d5edc91f/schema)
