Search Gnosari
gnosari_searchSearch across Gnosari entities with optional text query and filters.
When entity='all', searches agents, traits, templates, and knowledge sources in parallel and groups results by type. When a specific entity is selected, returns only that type.
Uses OpenSearch hybrid search when available, with transparent SQL
fallback. The search_mode field in the response indicates which
backend produced the results.
The access_level filter applies only to agents and is silently ignored for other entity types.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | Number of results to skip (pagination offset) | |
| limit | No | Maximum number of results per entity type | |
| query | No | Text search query. None returns all results using structured filters only | |
| entity | No | Entity type to search: agents, traits, templates, knowledge, or all | agents |
| sort_by | No | Field to sort results by | updated_at |
| sort_order | No | Sort direction | desc |
| access_level | No | Filter agents by access level. Ignored for non-agent entities |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |