Documentation Index
Fetch the complete documentation index at: https://docs.auvy.ai/llms.txt
Use this file to discover all available pages before exploring further.
Search API
Search is the unified brain-scoped discovery API. The samePOST /v1/search route serves native-tool search (match-only query: type/pattern or bare term) and grep (additionally: list type / type/, or match + optional keywords / grep_keywords for extra AND filters on path/title/snippet — rejected with 400 when combined with list-only query). Keyword matching runs over indexed resource_chunks (and catalog heads for synapse kinds); when a vector index is configured, results merge dense retrieval with lexical signals (RRF).
Search requires brain scope. Send
X-Brain-Id or configure getBrainId in the public SDK.Searchable Types
The current unified search bundle is:assets, artifacts, stakeholder_maps, meetings, cortex_action_plans, receptors, pathways, neurons, reflexes
- Synapse catalog (
receptors,pathways,neurons,reflexes): keyword over catalog rows plus optional vector search on the search-resource index (reflexesare keyword-only today). - Document lane (
assets,artifacts): lexicalresource_chunksplus chunk-level vectors in the same search-resource namespace when embedded. - Structured catalog heads (
meetings,stakeholder_maps,cortex_action_plans): lexicalresource_chunksplus per-head search vectors whensearch-resource-embeddinghas indexed those resources.
POST /v1/search
Synchronous single-facet search. The server enqueues the same search job internally, waits for completion, and returns a browse-compatible hit shape plus optionalnormalized rows.
| Field | Type | Required | Description |
|---|---|---|---|
query | string | Yes | search: match only — type/pattern or bare term (mapped to neurons/…). grep: also type or type/ to list that facet. |
search_mode | string | No | hybrid (default), lexical (keyword only), or vector (dense-first; still hydrates from the spine). |
filters | object | No | is_active, visibility where supported. |
path_prefix / pathPrefix | string | No | Folder scope on resource heads for assets/artifacts (normalized server-side). |
keywords | string | string[] | No | grep match only: extra AND terms (string is whitespace-split). Not allowed with list-only query. |
grep_keywords | string[] | No | Same as keywords as an explicit array (max 12). Not allowed with list-only query. |
GET /v1/search
Asynchronous multi-facet search. The response contains ajob_id; poll Jobs or use SDK streaming helpers.
| Parameter | Type | Description |
|---|---|---|
q | string | Required search text. |
types | string or JSON array | Optional subset of searchable path plurals. Defaults to the full unified bundle. |
type | string | Single type alternative to types. |
limit | number | Max results per type. |
offset | number | Offset per type. |
is_active | boolean | Catalog active filter where supported. |
search_mode | string | Optional hybrid, lexical, or vector. |
SDK Helpers
auvy.search is an alias of auvy.resources.search; prefer the resources namespace in new code. Use searchSemantic for match-only POST; use grepSemantic when you need list-by-type or match + grep_keywords.
Related
- Browse — list-only by type (
POST /v1/browse) - Assets and Artifacts — document-lane storage
- Recollections — owner-scoped memory retrieval
- Search guide — examples and choosing the right mode