API Reference
Programmatic access to workspaces and memories. Organize, version, and serve project context to any LLM via REST.
Authentication
All API requests require a Bearer token in the Authorization header.
Content-Type: application/json. Responses use the same content type.
Read-Only Token
Access GET endpoints only. Perfect for AI tools that consume context.
Full Access Token
Access all endpoints — GET, POST, PATCH, DELETE. For management and automation.
Rate Limiting
API requests are limited to 100 requests per minute per token, counted separately for each kind of resource. A 429 carries a Retry-After: 60 header.
Requests with a token that isn't valid get a 401. Past 60 of those in a minute from one address, they get a 429 instead, here and on MCP. A valid token from the same address keeps working.
{
"error": {
"code": "RATE_LIMITED",
"message": "Too many requests",
"status": 429
}
}Error Handling
All errors follow a consistent JSON structure with a code, message, and HTTP status.
{
"error": {
"code": "ERROR_CODE",
"message": "Human-readable description",
"details": { ... }, // optional, for validation errors
"status": 4xx
}
}| Status | Code | Description |
|---|---|---|
400 | BAD_REQUEST | The request body isn't valid JSON, or the query string isn't valid UTF-8 |
401 | UNAUTHORIZED | Invalid or missing access token |
403 | FORBIDDEN | Insufficient permissions, an inactive workspace, changing in place, deleting, archiving or restoring something you neither own nor administer, or removing a link only an admin or its creator can remove |
404 | NOT_FOUND | Resource or path not found |
406 | NOT_ACCEPTABLE | The endpoint has no JSON representation |
422 | VALIDATION_ERROR | Invalid request data (may include details) |
429 | RATE_LIMITED | Rate limit exceeded |
500 | INTERNAL_SERVER_ERROR | Something went wrong on the server |
Pagination and Limits
Lists report their position in X-Page, X-Per-Page, X-Total, X-Total-Pages and Link headers. A page past the end returns an empty list. A page that isn't a positive integer is a 422, and so is any query parameter sent as a list or an object, such as tags[]=x; only include also accepts a list. A per_page or limit that isn't a positive integer falls back to its default. A limit applies to a value you set: a new version can carry forward an older value over it.
| Field | Limit |
|---|---|
workspace[name] | 100 characters |
workspace[description] | 500 characters |
memory[title] | 255 characters |
memory[content] | 1 MB |
memory[source] | 255 characters |
memory[tags] | 50 tags, each up to 100 characters |
Workspaces
List Workspaces
Returns all active workspaces for the current account.
| Name | Type | Description |
|---|---|---|
| page | integer | Page number (default: 1) |
[
{
"id": 1,
"name": "Project Alpha",
"description": "Main project workspace",
"memories_count": 42,
"archived": false,
"created_at": "2026-01-15T10:30:00Z",
"updated_at": "2026-02-04T14:22:00Z",
"url": "https://recuerd0.ai/workspaces/1"
}
]X-Page, X-Per-Page, X-Total, X-Total-Pages, and Link are included in all list responses.
Get Workspace
Returns a single workspace with memory count, state and pinned status. state is active or archived; a deleted workspace answers 404.
{
"id": 1,
"name": "Project Alpha",
"description": "Main project workspace",
"memories_count": 42,
"archived": false,
"state": "active",
"created_at": "2026-01-15T10:30:00Z",
"updated_at": "2026-02-04T14:22:00Z",
"url": "https://recuerd0.ai/workspaces/1",
"pinned": true,
"pinned_at": "2026-02-01T09:00:00Z",
"pin_origin": "user"
}Get Workspace Context
Returns a compact "wake-up" snapshot of a workspace for AI agents — workspace metadata, a small set of orienting memories, and stats. If the requesting user chose any pins in the workspace, you get those, and context_source is pins. If their only pins are ones recuerd0 placed, such as the seeded Map, those come first, followed by the workspace's most recently updated memories up to limit. With no pins at all, you get the most recently updated memories. Both of those report recent, unless the workspace holds nothing beyond its placed pins. Supports HTTP caching via ETag.
| Name | Type | Default | Description |
|---|---|---|---|
| limit | integer | 10 | Maximum memories to return (1–50). |
| include_body | boolean | true | Whether to include each memory's body content. |
| max_body_chars | integer | 500 | Maximum characters of body to return per memory (100–5000). Longer bodies are truncated. |
| category | string | Filter memories to one category. See Memory Categories. | |
| include | string | Pass obsolete to include retired memories, and on search and pinned inactive for archived/deleted workspaces. See Obsolete Memories. |
{
"workspace": {
"id": 1,
"name": "Project Alpha",
"description": "Main project workspace",
"memories_count": 42,
"state": "active",
"updated_at": "2026-04-01T12:00:00Z",
"url": "https://recuerd0.ai/workspaces/1"
},
"memories": [
{
"id": 17,
"title": "Architecture Notes",
"source": "manual",
"category": "decision",
"tags": ["design", "core"],
"pinned_at": "2026-03-28T09:14:00Z",
"updated_at": "2026-04-01T11:42:00Z",
"url": "https://recuerd0.ai/workspaces/1/memories/17",
"body": "# Architecture\n\nThe system is split into…",
"body_truncated": true,
"links_count": 3
}
],
"context_source": "pins",
"stats": {
"total_memories": 42,
"total_pinned": 3,
"returned": 1,
"returned_pinned": 1
},
"generated_at": "2026-04-06T10:00:00Z"
}
The pinned_memories array and stats.returned_pinned remain as deprecated aliases of memories and stats.returned. stats.total_memories is the workspace's total and does not change with include; the memories returned and stats.total_pinned do.
Create Workspace
Creates a new workspace. It starts with a seeded, auto-pinned Map memory explaining how to use it, so memories_count is 1. Pass start_with_map: false to start empty. The Location header holds the new workspace's URL.
| Name | Type | Description | |
|---|---|---|---|
| workspace[name] | string | required | Workspace name (max 100 characters) |
| workspace[description] | string | Workspace description (max 500 characters) | |
| workspace[start_with_map] | boolean | false skips the seeded Map (default: true) |
{
"workspace": {
"name": "New Project",
"description": "A new workspace for the team"
}
}{
"id": 2,
"name": "New Project",
"description": "A new workspace for the team",
"memories_count": 1,
"archived": false,
"state": "active",
"created_at": "2026-02-04T15:00:00Z",
"updated_at": "2026-02-04T15:00:00Z",
"url": "https://recuerd0.ai/workspaces/2"
}Update Workspace
Updates an existing workspace. Only its owner or an account admin can do this; anyone else gets 403.
| Name | Type | Description |
|---|---|---|
| workspace[name] | string | Workspace name |
| workspace[description] | string | Workspace description |
Delete Workspace
Soft-deletes a workspace and everything in it. From then on the workspace, its memories and everything under them answer 404 over the API. The export keeps working, so you can still take a copy.
Pass or Take Ownership
Workspaces and memories report an owner_id, which starts as whoever created them; null means the account admin. The owner can pass a record to anyone still on the account. An admin who doesn't own it can only name themselves, and can pass it on once they do. Anyone else gets 403. The receiver doesn't have to accept, and passing a workspace leaves the owners of the memories in it unchanged.
| Name | Type | Description |
|---|---|---|
| user_id | integer | Who receives it (required) |
Archive Workspace
Archives a workspace. Archived workspaces become read-only. Only the workspace's owner or an account admin can archive or delete it; anyone else gets 403.
Export Workspace
Returns every memory in a workspace, with all its versions, as one JSON document. Available at any time and not subject to the monthly limit on full account exports.
Unarchive Workspace
Restores an archived workspace.
Get Workspace Stats
Returns counts and trends for a workspace, computed server-side, without shipping memory bodies. Takes the same include parameter as the lists.
{
"workspace": { "id": 1, "name": "Engineering", "url": "https://recuerd0.ai/workspaces/1" },
"total_memories": 495,
"total_versions": 631,
"total_links": 42,
"counts_by_category": { "decision": 120, "discovery": 88, "preference": 15, "general": 272 },
"top_tags": [ { "tag": "api", "count": 37 } ],
"memories_by_week": { "2026-18": 12 },
"generated_at": "2026-07-15T12:00:00Z"
}Get Merge Candidates
Returns clusters of likely-duplicate memories, scored by shared tags and title similarity. These are read-only suggestions: merging stays a manual action. Takes min_score (0–1, default 0.5; anything else is a 422) and include.
{
"workspace": { "id": 1, "name": "Engineering", "url": "https://recuerd0.ai/workspaces/1" },
"candidates": [
{
"score": 0.82,
"reasons": ["similar title", "shared tags"],
"memories": [ /* two or more memories */ ]
}
],
"generated_at": "2026-07-15T12:00:00Z"
}Memories
Memory Categories
Every memory carries exactly one category from a locked four-value enum. Category defaults to general and is used to filter list, search, and workspace context endpoints. Versions inherit the parent memory's category unless overridden.
| Value | Label | Purpose |
|---|---|---|
decision | Decision | Architecture choices, library picks, tradeoffs with stated reasoning |
discovery | Discovery | Non-obvious findings — gotchas, root causes, patterns, library quirks |
preference | Preference | User-stated rules ("always X", "never Y") |
general | General | Catch-all and default |
category query parameter is supported on list, search, and workspace context endpoints to filter results to a single category.
Obsolete Memories
A memory tagged obsolete, superseded, or deprecated is retired knowledge. Those three tags are excluded by default from search, listings, workspace context, stats, and merge candidates — so an agent loading context is never woken on a decision that was already reversed. Matching is case-insensitive and whole-tag: Superseded counts, deprecated-api is an ordinary tag.
| Behavior | Detail |
|---|---|
| Default | Obsolete memories are hidden from /search.json, both memory list endpoints, workspace context, stats, and merge candidates |
| Opt in | Pass include=obsolete on any of those endpoints to get them back |
| Unknown tokens | Ignored, never an error — include=obsolete,future_token behaves exactly as include=obsolete |
| Filtering by the tag | The flag is still required: ?tags=obsolete alone returns [], ?tags=obsolete&include=obsolete returns the memories |
| Fetching by identity | Never filtered — /memories.json?ids=1,2,3 and the single-memory endpoint always return what you asked for |
| Counting what was hidden | /search.json reports the withheld count as obsolete_hidden |
| Inactive workspaces | A second default filter: memories in an archived or deleted workspace are hidden from /search.json and /memories/pinned.json. Pass include=inactive to review them; the withheld count is inactive_hidden, and the two counts never overlap. Tokens compose: include=obsolete,inactive |
| Status in the payload | Every memory carries obsolete, current, root_id and workspace.state (active, archived, deleted), so you can gate context injection without parsing tags |
GET /search.json?q=rollout # current memories only
GET /search.json?q=rollout&include=obsolete # plus the retired ones
GET /workspaces/1/stats.json?include=obsolete # every figure counts them
GET /search.json?q=rollout&include=inactive # plus archived/deleted workspacesMemory Links
Memory links — also called "tunnels" — are undirected, unlabeled "see also" connections between two memories within the same account. They cross workspace boundaries: a memory in your rails-app workspace can link to a memory in your mobile-app workspace. Use them to express that two memories cover the same topic without duplicating content.
| Method | Path | Description |
|---|---|---|
GET | /workspaces/:workspace_id/memories/:memory_id/links.json | List linked memories with their workspace info |
POST | /workspaces/:workspace_id/memories/:memory_id/links.json | Create a link to another memory by id |
DELETE | /workspaces/:workspace_id/memories/:memory_id/links/:id.json | Remove a link. :id is the other memory's id, not a join row id |
422. Storage is undirected: linking A↔B is the same as B↔A and the server normalizes the pair so the link is only created once. There is no cardinality limit, links carry no labels or metadata, and deleting a memory cascades to remove all of its links. The DELETE endpoint identifies the link by the other memory's id, not a join row id. Memory and pinned-memory JSON responses include a links_count field showing how many links a memory has.
List Memory Links
Returns all memories linked to a given memory, with each linked memory's workspace embedded.
[
{
"id": 118,
"title": "Auth strategy (mobile)",
"category": "decision",
"tags": ["auth", "mobile"],
"source": "manual",
"updated_at": "2026-03-22T11:05:00Z",
"url": "https://recuerd0.ai/workspaces/2/memories/118",
"workspace": {
"id": 2,
"name": "mobile-app",
"url": "https://recuerd0.ai/workspaces/2"
}
},
{
"id": 204,
"title": "Auth migration runbook",
"category": "discovery",
"tags": ["auth", "infra"],
"source": "manual",
"updated_at": "2026-04-02T08:30:00Z",
"url": "https://recuerd0.ai/workspaces/5/memories/204",
"workspace": {
"id": 5,
"name": "infra",
"url": "https://recuerd0.ai/workspaces/5"
}
}
]Create Memory Link
Creates an undirected link between this memory and another memory in the same account.
| Name | Type | Description | |
|---|---|---|---|
| to_memory_id | integer | required | The id of the other memory to link to. Must belong to the same account. |
{
"to_memory_id": 118
}{
"id": 118,
"title": "Auth strategy (mobile)",
"category": "decision",
"tags": ["auth", "mobile"],
"source": "manual",
"updated_at": "2026-03-22T11:05:00Z",
"url": "https://recuerd0.ai/workspaces/2/memories/118",
"workspace": {
"id": 2,
"name": "mobile-app",
"url": "https://recuerd0.ai/workspaces/2"
}
}422 if to_memory_id belongs to a different account, references the same memory, or the link already exists. Returns 403 if either memory's workspace is archived.
Delete Memory Link
Removes a link between two memories. The path :id is the other memory's id — not a separate join row id. Only an admin or the person who created the link can remove it; anyone else gets 403. A link with no recorded creator belongs to the admin. Links can't be removed while either memory's workspace is archived, which also returns 403.
List Memories
Returns all memories (latest versions only) for a workspace. Supports filtering by title pattern, tags, and source.
| Name | Type | Description |
|---|---|---|
| page | integer | Page number (default: 1) |
| per_page | integer | Items per page (1–100, default: 25) |
| title | string | Glob pattern for title matching. * matches any characters, ? matches one. Every other character, including % and _, means itself |
| tags | string | Comma-separated tag list, ignoring case. Returns memories with ALL specified tags. A tag that itself contains a comma can't be filtered on |
| source | string | Exact match on source field |
| category | string | Filter to one category. See Memory Categories. |
| sort | string | Sort field: updated_at (default), created_at, title. Anything else is a 422 |
| direction | string | Sort direction: desc (default), asc. Anything else is a 422 |
| include | string | Pass obsolete to include retired memories, and on search and pinned inactive for archived/deleted workspaces. See Obsolete Memories. |
GET /workspaces/1/memories.json?title=Meeting*
GET /workspaces/1/memories.json?tags=api,design&sort=title&direction=asc
GET /workspaces/1/memories.json?category=decision&per_page=50[
{
"id": 1,
"title": "Meeting Notes",
"tags": ["meetings", "q1"],
"source": "manual",
"category": "decision",
"version": 1,
"version_label": "v1",
"has_versions": false,
"obsolete": false,
"current": true,
"root_id": 1,
"links_count": 0,
"created_at": "2026-01-20T09:00:00Z",
"updated_at": "2026-02-03T16:45:00Z",
"url": "https://recuerd0.ai/workspaces/1/memories/1",
"workspace": { "id": 1, "name": "Project Alpha", "state": "active", "url": "https://recuerd0.ai/workspaces/1" },
"pinned": false,
"pinned_at": null,
"pin_origin": null
}
]id, while root_id stays the same, so root_id is the one to store if you want to refer to the memory across saves.
Browse Memories
Returns memories across all active workspaces for the current account. Supports the same filtering parameters as List Memories. JSON-only endpoint.
| Name | Type | Description |
|---|---|---|
| page | integer | Page number (default: 1) |
| per_page | integer | Items per page (1–100, default: 25) |
| workspace_id | integer | Filter to a specific workspace |
| ids | string | Comma-separated memory ids. Batch-fetches exactly those memories, still account-scoped and paginated. An old version's id returns its memory, as the current version |
| title | string | Glob pattern for title matching. * matches any characters, ? matches one. Every other character, including % and _, means itself |
| tags | string | Comma-separated tag list, ignoring case. Returns memories with ALL specified tags. A tag that itself contains a comma can't be filtered on |
| source | string | Exact match on source field |
| category | string | Filter to one category. See Memory Categories. |
| sort | string | Sort field: updated_at (default), created_at, title. Anything else is a 422 |
| direction | string | Sort direction: desc (default), asc. Anything else is a 422 |
| include | string | Pass obsolete to include retired memories, and on search and pinned inactive for archived/deleted workspaces. See Obsolete Memories. |
GET /memories.json?title=*architecture*
GET /memories.json?tags=api,design&sort=title&direction=asc
GET /memories.json?workspace_id=1&source=manualGet Memory
Returns a memory with its content. Supports line range parameters to read specific portions.
| Name | Type | Description |
|---|---|---|
| line_start | integer | First line to return (1-based, inclusive). Default: 1. Must be a positive integer |
| line_end | integer | Last line to return (1-based, inclusive). Default: last line. Must be a positive integer |
GET /workspaces/1/memories/1.json
GET /workspaces/1/memories/1.json?line_start=1&line_end=20
GET /workspaces/1/memories/1.json?line_start=50&line_end=75{
"id": 1,
"title": "Meeting Notes",
"version": 1,
"source": "manual",
"category": "decision",
"tags": ["meetings", "q1"],
"created_at": "2026-01-20T09:00:00Z",
"updated_at": "2026-02-03T16:45:00Z",
"url": "https://recuerd0.ai/workspaces/1/memories/1",
"content": {
"body": "# Meeting Notes\n\nDiscussed Q1 goals...",
"total_lines": 142,
"line_start": 1,
"line_end": 142
},
"links_count": 3,
"workspace": {
"id": 1,
"name": "Project Alpha",
"url": "https://recuerd0.ai/workspaces/1"
}
}content object always includes total_lines, line_start, and line_end. When line range parameters are provided, body contains only the requested lines. A line_start past the last line returns an empty body, because a memory can shrink between two reads. Returns 422 if line_start > line_end.
| Name | Type | Description |
|---|---|---|
| mode | string | Set to grep to search within the memory |
| q | string | Search query required |
| context | integer | Lines before and after each match (0–10, default: 0) |
| before | integer | Lines before match, overrides context (0–10) |
| after | integer | Lines after match, overrides context (0–10) |
GET /workspaces/1/memories/1.json?mode=grep&q=architecture
GET /workspaces/1/memories/1.json?mode=grep&q=design&context=2{
"id": 1,
"title": "Meeting Notes",
...
"content": {
"total_lines": 142,
"matches": [
{
"line_number": 12,
"line": "Discussed architecture decisions.",
"context_before": ["## Design"],
"context_after": ["The team agreed on microservices."]
}
]
}
}content object returns matches and total_lines instead of body. Returns 422 if q parameter is missing.
For large memories, prefer a two-step read: call grep mode first to find each match's line_number, then call again with line_start/line_end to fetch a window of surrounding context.
GET /workspaces/1/memories/1.json?mode=grep&q=TODO{
"content": {
"total_lines": 412,
"matches": [
{ "line_number": 47, "line": "TODO: revisit caching" }
]
}
}GET /workspaces/1/memories/1.json?line_start=40&line_end=55head= or tail= parameter. Head is line_start=1&line_end=N; tail is line_start=(total_lines - N + 1)&line_end=total_lines. Because total_lines is echoed on every response, clients can compute tail without an extra round trip.
Create Memory
Creates a new memory with content.
| Name | Type | Description |
|---|---|---|
| memory[title] | string | Memory title (max 255 characters) |
| memory[content] | string | Memory body (Markdown, max 1 MB) |
| memory[source] | string | Source identifier (max 255 characters) |
| memory[tags] | array | Array of tag strings (max 50 tags, 100 characters each). A value of the wrong type is a 422 naming the field. |
| memory[category] | string | One of decision, discovery, preference, general (defaults to general). See Memory Categories. |
{
"memory": {
"title": "API Documentation",
"content": "# Overview\n\nThis document describes...",
"category": "decision",
"tags": ["docs", "api"]
}
}Update Memory
Updates an existing memory in place. Only its owner or an account admin can do this; anyone else gets 403 and can add a version instead.
| Name | Type | Description |
|---|---|---|
| memory[title] | string | Memory title |
| memory[content] | string | Memory body |
| memory[source] | string | Source identifier |
| memory[tags] | array | Array of tags |
| memory[category] | string | One of decision, discovery, preference, general. See Memory Categories. |
Delete Memory
Deletes a memory and all its versions. Only the memory's owner, its workspace's owner or an account admin can do this; anyone else gets 403. Use the memory's root id or its current version's id: an older version's id returns 422 and deletes nothing.
List Pinned Memories
Returns the current user's pinned memories across all workspaces, in the same shape as List Memories. The list isn't paginated, because the number of pins a user can have is capped. Obsolete pins and pins in archived or deleted workspaces are hidden unless you pass include=obsolete,inactive.
Memory Versions
List Versions
Lists every version of a memory, oldest to newest, in the same shape as List Memories without the pin fields. :memory_id can be any version's id.
Get Version
Returns a single version with its content, in the same shape as Get Memory.
Create Version
Creates a new version of a memory. Omitted fields come from its current version. Given the id of a specific version, they come from that version instead. A result identical to the current version is refused with 422; a change note alone is not a change. Sending content blank is also a 422, because it would wipe the memory's current text.
| Name | Type | Description |
|---|---|---|
| version[title] | string | Version title (defaults to the current version) |
| version[content] | string | Version body (defaults to the current version) |
| version[source] | string | Source identifier (defaults to the current version) |
| version[tags] | array | Tags (defaults to the current version) |
| version[change_note] | string | Why this version exists, in one line (optional, max 280 characters) |
| version[category] | string | Category (defaults to the current version). See Memory Categories. |
{
"version": {
"content": "# Updated Content\n\nRevised version..."
}
}{
"id": 5,
"title": "Meeting Notes",
"version": 2,
"source": "manual",
"category": "decision",
"tags": ["meetings", "q1"],
"created_at": "2026-02-04T16:00:00Z",
"updated_at": "2026-02-04T16:00:00Z",
"url": "https://recuerd0.ai/workspaces/1/memories/5",
"content": {
"body": "# Updated Content\n\nRevised version..."
},
"workspace": {
"id": 1,
"name": "Project Alpha",
"url": "https://recuerd0.ai/workspaces/1"
}
}Search
REST Search Memories
Full-text search across all memories in active workspaces, with FTS5 query operators plus case-insensitive whole-tag matches. It shares one search contract with the web UI and MCP, requires at least three characters, and returns each memory as its current version. When a query finds fewer than three keyword matches, up to five memories close in meaning follow them, marked match: "related" with a similarity.
| Name | Type | Description | |
|---|---|---|---|
| q | string | required | Search query (3–100 characters) |
| page | integer | Page number (default: 1) | |
| workspace_id | integer | Filter results to a specific workspace | |
| category | string | Filter results to one category. See Memory Categories. | |
| mode | string | Response mode: snippet (default) or grep | |
| context | integer | Lines before and after each match, like grep -C (0–10, default: 0). Only with mode=grep | |
| before | integer | Lines before each match, like grep -B (0–10). Overrides context. Only with mode=grep | |
| after | integer | Lines after each match, like grep -A (0–10). Overrides context. Only with mode=grep | |
| include | string | Pass obsolete to include retired memories, and on search and pinned inactive for archived/deleted workspaces. See Obsolete Memories. |
| Operator | Example | Description |
|---|---|---|
| Term | architecture | Matches documents containing the substring |
| AND | architecture AND design | Both terms must appear |
| OR | meeting OR standup | Either term can appear |
| NOT | design NOT draft | First term must appear, second must not |
| Phrase | "project timeline" | Exact phrase match |
| Column | title:architecture | Search only in title field |
| Column | body:implementation | Search only in body field |
| Grouping | (meeting OR standup) AND notes | Parentheses for precedence |
release notes matches memories containing both words, or tagged exactly release notes — the same results as MCP and workspace search. Punctuation inside a word is searched literally (deploy.sh).
{
"query": "architecture AND design",
"ignored_words": [],
"total_results": 3,
"related_results": 0,
"obsolete_hidden": 1,
"inactive_hidden": 2,
"results": [
{
"id": 1,
"title": "Design Doc",
"version": 1,
"version_label": "v1",
"has_versions": false,
"category": "decision",
"tags": ["design"],
"source": "manual",
"match": "keyword",
"snippet": "Initial architecture overview...",
"workspace": { ... }
}
]
}GET /search.json?q=architecture&mode=grep&context=1
{
"query": "architecture",
"ignored_words": [],
"total_results": 2,
"results": [
{
"id": 1,
"title": "Design Doc",
...
"total_lines": 45,
"matches": [
{
"line_number": 12,
"line": "The architecture uses a layered approach.",
"context_before": ["## System Design"],
"context_after": ["Each layer communicates through interfaces."]
}
],
"workspace": { ... }
}
]
}kamal OR) is searched as its words ANDed rather than rejected. Unquoted words under three characters can't be searched, so they are left out and listed in ignored_words: how to deploy searches how and deploy. A quoted phrase stays exact.
matches and total_lines instead of snippet. FTS5 finds candidate memories, then line-level matching extracts specific lines with context.