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. Thetypefield reflects the specific source type (e.g.website,zendesk_hc). Thecontentfield is alwaysnullfor folders. Folder items oftype=websiteadditionally populatesource_url,skip_auto_sync,manual_sync_available_at, andnext_auto_sync_at. -
qa– individual question-answer pairs. Can be:- Standalone (manually created) —
parent_idisnull - Children of a folder (scraped/imported) —
parent_idlinks to the parent folder'sid
The
contentfield is populated for QA items. - Standalone (manually created) —
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.