Knowledge

Retrieve a knowledge source

Read current indexed/extracted text and source metadata using sourceId from list_knowledge_sources, website pages, or saved RAG receipts. includeInactive=true is needed for inactive knowledge and diagnosis; inactive or asset-only sources are not eligible answer knowledge. Text is current, not a historical version. Asset-only files can have empty text; use get_knowledge_original_file for original bytes. For why an old answer occurred, first use get_conversation_answer_trace and disclose linkage/capture gaps. Required permission: knowledge:read.

get/knowledge/sources/{sourceId}

Request

  • Base URL
    https://platform-api.visitoai.com/m2m/v1
  • Auth
    HTTP bearer

Path parameters

sourceIdstring required

Copy sourceId from list_knowledge_sources; it belongs to the connected business. Do not derive it from a title, URL or external provider ID.

Query parameters

includeInactiveboolean

Set true to inspect inactive sources. Omission excludes inactive knowledge.

Response

Success

sourceIdstring required
sourceType'text' | 'file' | 'url' required
titlestring
activeboolean required
updatedAtstring date-time
textstring
urlstring
chunkCountinteger required
activeTokensinteger
scope'global' | 'property'
propertyIdstring
propertyNamestring
previewstring
createdAtstring
websiteIdstring
websiteGenerationIdstring
canonicalUrlstring
websiteGenerationState'staging' | 'current' | 'superseded'

Changes

No recorded changes to this operation across all 1 revision of this API.