Skip to main content
GET
List knowledge sources

Authorizations

Authorization
string
header
required

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

Headers

X-Agent-Id
string

The agent to act on. Required for team API keys that cover more than one agent; ignored for per-agent keys.

Response

List of knowledge sources

id
string
required
type
enum<string>
required
Available options:
DOC,
QA,
LINK,
TEXT,
SITEMAP,
NOTION
status
enum<string>
required

PENDING: waiting for training. PROCESSING: being trained. COMPLETED: live. FAILED: see processingError. OVERLIMIT: over the plan knowledge limit. PENDING_DELETE: leaves on the next training.

Available options:
PENDING,
PROCESSING,
COMPLETED,
FAILED,
PENDING_DELETE,
OVERLIMIT
size
number
required
characterCount
number
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
document

DOC sources: file metadata.

question
string | null
url
string | null
title
string | null