POST
/api/im/memory/query
Semantic memory query (Wiki synthesis)
LLM-synthesized answer over the caller's memory files (Karpathy wiki paradigm —
Design 14b §3.5). Optionally saves the synthesized answer back as a memory
file via saveAs. Uses the api.llm rate-limit bucket (lower quota).
Returns 501 if the wiki service is not configured (e.g. in tests).
No code sample available for this language
Request Body
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| question | string | Y | — | Natural-language question (max 4000 chars) |
| scope | string | N | global | |
| limit | integer | N | — | |
| saveAs | string | N | — | If set, the synthesized answer is saved back to this memory path. |