Knowledge
Update knowledge
PATCH
Rename a source or replace the text of a text/Q&A source (re-indexes it). Owner/admin.
bearer knowledge:writeheader
AuthorizationBearer <token>API key (rsl_live_…) from Settings → Developers.
Scope: knowledge:write
sourceId*stringKnowledge source id. Never invent ids – list resources first.
Length
1 <= length <= 64application/json- body
name?stringLength
2 <= length <= 200content?stringNew full text (text sources).
Length
10 <= length <= 100000question?stringQ&A sources: new question.
Length
3 <= length <= 500answer?stringQ&A sources: new answer.
Length
1 <= length <= 10000Success
application/json- response
id*stringstatus*stringagentIds*array<string>selectedPages?array<string>next*stringcurl -X PATCH "https://example.com/knowledge-sources/string" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "status": "string", "agentIds": [ "string" ], "selectedPages": [ "string" ], "next": "string"}