search
Keyword search across the entire graph. Searches titles, summaries, tags, and canonical names with relevance scoring.
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Yes | — | Search query |
limit | number | No | 20 | Maximum results |
Scoring
| Match Location | Score |
|---|---|
| Title | +10 |
| Canonical name (concepts) | +10 |
| Aliases (concepts) | +7 |
| Summary | +5 |
| Tags | +3 |
Results are sorted by score descending.
Response
[ { "id": "9c4c9063760e", "type": "concept", "title": "Workspace", "summary": "A workspace is the top-level organizational unit.", "score": 10 }]Examples
// Search for workspace-related docssearch({ query: "workspace" })
// Search for onboarding workflowssearch({ query: "onboarding", limit: 5 })