AgentConnect
Agents

Search unified memory entries

Returns bounded hits with snippets for a query through a daemon supporting memory-entries-search-v1. The result names the search kind and coverage; it is never an enumeration.

POST
/v1/orgs/{orgId}/agents/{id}/memory/entries/search

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

orgId*string
id*string

Query Parameters

channelKey?string
Length1 <= length <= 256

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/orgs/string/agents/string/memory/entries/search" \  -H "Content-Type: application/json" \  -d '{    "query": "string"  }'
{  "hits": [    {      "entry": {        "ref": "string",        "label": "string",        "description": "string",        "format": "markdown",        "byteSize": 0,        "createdAt": "string",        "updatedAt": "string",        "revision": "string",        "origin": "active",        "editable": true      },      "snippet": "string"    }  ],  "kind": "lexical",  "coverage": "complete"}