Query a channel
query_channelRun a retrieval-augmented query against a channel's indexed knowledge base and return a generated answer with citations. Maps to POST /v1/query. Requires the key's query scope and access to the channel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The natural-language question. | |
| top_k | No | Chunks to retrieve (default 5). | |
| channel_id | Yes | Channel to query. The key must be scoped to it. | |
| session_id | No | Optional session for multi-turn continuity. | |
| source_types | No | Restrict retrieval to these source types. | |
| idempotency_key | No | Idempotency-Key for safe retries. |