Knowledge
Add text knowledge
Create or replace a text knowledge source. To edit, read get_knowledge_source(includeInactive=true), then pass its text sourceId with the complete replacement text; omitted sourceId uses existing deterministic text ingestion identity. Never use a file/URL/website ID to edit text. Creation/replacement embeds content and can store it inactive on quota; read result active/quotaExceeded and follow get_knowledge_source/get_knowledge_usage. Reconcile sources after ambiguous failures; do not invent a replacement ID. Required permission: knowledge:write.
post/knowledge/text
Request
- Base URLhttps://platform-api.visitoai.com/m2m/v1
- AuthHTTP bearer
Request body
Example request
{
"title": "Store hours",
"text": "Our store is open Monday through Friday, from 9 AM to 6 PM."
}Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.