Ai agents
Search prompts
GET
Search the agents' instructions for a text and return each match with surrounding context – without downloading whole prompts.
bearer agents:readheader
AuthorizationBearer <token>API key (rsl_live_…) from Settings → Developers.
Scope: agents:read
query*stringText to look for (case-insensitive).
Length
1 <= length <= 2000agentIds?array<>Limit to these agents (comma-separated in the query string).
Items
items <= 100limit?integerSnippets per agent.
Range
1 <= value <= 20Default
5Success
application/json- response
data*array<>curl -X GET "https://example.com/agents/prompt-search?query=string"{ "data": [ { "agentId": "string", "name": "string", "length": 0, "updatedAt": 0, "count": 0, "snippets": [ { "position": 0, "snippet": "string" } ] } ]}