ctxQueryTraces
Query approval, enrichment, and recipe-run trails across sources. Filter by trace type, time window, or natural key to uncover why events occurred.
Instructions
Unified query over approval / enrichment / recipe-run trails. Filter by traceType, time window, or natural key. Answers 'why did X happen' across sources.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| traceType | No | Optional filter — restrict to one source. Omit to get all. | |
| key | No | Exact key match (sessionId:toolName / sha:ref / taskId). Substring match on the key; case-sensitive. | |
| q | No | Case-insensitive substring search across the trace summary and serialized body. Use for free-form lookup when the key schema doesn't fit. | |
| tag | No | Restrict to decision traces carrying this tag (exact match, case-sensitive). Other trace types don't have tags and will be excluded when this filter is set. | |
| since | No | Only return traces with ts > this ms-epoch value. | |
| limit | No | Max results after filtering. Default 100. |