Search active Memory entries

POST
/v1/memory/search

Retrieve relevant active Memory entries within one explicit application scope.

Authorization

BearerAuth
AuthorizationBearer <token>

Static bearer token used when local Server authentication is enabled.

In: header

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

curl -X POST "https://example.com/v1/memory/search" \  -H "Content-Type: application/json" \  -d '{    "scope_id": "string",    "query": "string"  }'
{  "memory": {    "family": "string",    "artifact_id": "string",    "revision": 1  },  "mode": "fts",  "hits": [    {      "citation": {        "memory_ref": {          "family": "string",          "artifact_id": "string",          "revision": 1        },        "entry_id": "string",        "entry_version_id": "string"      },      "text": "string",      "score": 0,      "matched_by": [        "fts"      ]    }  ]}