Skip to main content
GET
List knowledge base sources

Authorizations

Authorization
string
header
required

A project API key, created in the dashboard.

Query Parameters

agent_id
string
required

ID of the agent.

Maximum string length: 64
limit
integer

The maximum number of sources to return, from 1 to 100, or 1 to 10 if include has content. Defaults to 20, or 10 with content.

Required range: 1 <= x <= 100
cursor
string

A cursor for pagination. Pass the next_cursor from the previous page, with the same filters, to fetch the next page.

Maximum string length: 4096
type
string

Only return sources of these types, comma-separated.

Pattern: ^(link|text|faq|document|zoho|zendesk|notion|sharepoint)(,(link|text|faq|document|zoho|zendesk|notion|sharepoint))*$
status
string

Only return results with these statuses, comma-separated.

Pattern: ^(pending|processing|processed|failed)(,(pending|processing|processed|failed))*$
include
enum<string>

Pass content to include each text source's full text.content.

Available options:
content

Response

A page of sources.

object
any
required
data
object[]
required
has_more
boolean
required
next_cursor
string | null
required