Skip to main content
GET
Get a knowledge source with its full content

Authorizations

Authorization
string
header
required

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

Path Parameters

sourceId
string
required

Response

id
string
required
Example:

"clx1source"

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
processingError
string | null
required
title
string | null
required

Text sources.

question
string | null
required

Q&A sources.

url
string | null
required

Link and sitemap sources.

parentSourceId
string | null
required

For links found through a sitemap: the sitemap source.

managedByIntegration
boolean
required

Created by an integration (e.g. product sync). Read-only through the API.

characterCount
number
required
lastCrawledAt
string<date-time> | null
required

Link and sitemap sources: when the page was last fetched.

contentHash
string | null
required

Hash of the fetched content; it changes when the page changes.

validFrom
string<date-time> | null
required

The agent uses the source only from this time.

validUntil
string<date-time> | null
required

The agent stops using the source after this time.

createdAt
string<date-time>
required
updatedAt
string<date-time>
required
text
string | null
required

Text sources.

answer
string | null
required

Q&A sources.