Get a knowledge source
One knowledge source, with the text the agent uses.
Its agent is resolved from the source. Missing, unlinked and other organizations’ sources
answer 404. A source that’s turned off is still returned with is_active false.
Authorizations
An org API key: Authorization: Bearer phk_…
Headers
Optional. Must be the key's org.
Path Parameters
The knowledge source's ID.
Response
Successful Response
Something an agent knows: a document, an uploaded file or a website page.
The agent it belongs to.
The text the agent uses, in Markdown. null when there is none, as for most uploaded files.
The knowledge source's ID.
Whether the agent uses it on calls. A source can be turned off without deleting it.
The name shown in the web app. null when it has none.
The type of this object, always knowledge_source.
"knowledge_source"document is text written in the web app, file an uploaded file, website a scraped web page. Known values: document, file, website. More can be added, so handle values you don't recognize.
The page's address, for a website. null for other types.

