Knowledge
Search agent knowledge
POST
Search an agent's knowledge the same way the agent does when answering.
bearer knowledge:readheader
AuthorizationBearer <token>API key (rsl_live_…) from Settings → Developers.
Scope: knowledge:read
agentId*stringAI agent id. Never invent ids – list resources first.
Length
1 <= length <= 64application/json- body
query*stringA customer question, e.g. 'how long does delivery to Slovakia take?'
Length
1 <= length <= 2000limit?integerRange
1 <= value <= 20Default
5Success
application/json- response
data*array<>curl -X POST "https://example.com/agents/string/knowledge/search" \ -H "Content-Type: application/json" \ -d '{ "query": "string" }'{ "data": [ { "sourceId": "string", "sourceName": "string", "content": "string", "similarity": 0 } ]}