Resolido Docs
Knowledge

Search agent knowledge

POST
/agents/{agentId}/knowledge/search

Search an agent's knowledge the same way the agent does when answering.

Authorization

bearer knowledge:read
headerAuthorizationBearer <token>

API key (rsl_live_…) from Settings → Developers.

Scope: knowledge:read

Path Parameters

agentId*string

AI agent id. Never invent ids – list resources first.

Length1 <= length <= 64

Request Body

application/json
  1. body
query*string

A customer question, e.g. 'how long does delivery to Slovakia take?'

Length1 <= length <= 2000
limit?integer
Range1 <= value <= 20
Default5

Response Body

Success

application/json
  1. 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    }  ]}