Skip to main content
GET
List data sources

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

agentId
string
required

Unique identifier of the agent

Example:

"clx1234567890abcdef"

source
enum<string>

Filter by source type to get specific data source types

Available options:
WEBSITE,
TEXT,
QA,
PDF,
DOCX,
IMAGE,
ALL
Example:

"ALL"

page
integer

Page number for pagination (default: 1)

Required range: x >= 1
Example:

1

limit
integer

Number of data sources per page (default: 10, max: 100)

Required range: 1 <= x <= 100
Example:

10

Search query to filter data sources. Searches different fields based on source type: URL for websites, title for files (PDF/DOCX/IMAGE), title and content for text and Q&A sources, title and URL for YouTube videos.

Example:

"product guide"

Response

Successfully retrieved data sources list

status
string
Example:

"success"

data
object