vela.corpus.query
vela.corpus.queryAsk the corpus by COORDINATE rather than keyword. Filter works by axis weights (e.g. religion ∈ {T,s} AND work ∈ {T,s} returns the God-and-Work source set across genres), controlled themes, qualities/emotions, genre, and free text. Returns card metadata: the one-line claim, themes, coordinates, qualities. FREE and read-only.
[capability: library-extraction-cards · mirrors: POST /api/corpus/query]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| axes | No | Axis → allowed weights. ALL listed axes must match. e.g. {"religion":["T","s"],"work":["T","s"]} | |
| text | No | Substring match over title / author / one-line claim. | |
| genre | No | ||
| limit | No | ||
| topic | No | Coordinate system to query (topic_configs.slug). | being-human |
| offset | No | ||
| themes | No | Cards citing ANY of these controlled themes. | |
| qualities | No | Cards carrying ANY of these qualities (emotions, for being-human). | |
| include_passages | No | Include theme-anchored passage pointers. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hits | Yes | ||
| topic | Yes | ||
| total | Yes | ||
| applied | Yes | ||
| returned | Yes | ||
| truncated | No |