query_log
Retrieve past questions with their interpretation, SQL, parameters, evidence, warnings, and cost. Filter by recent, errors, diverging interpretations, or empty results.
Instructions
Look back at earlier questions: interpretation, QuerySpec, SQL and parameters, result count, evidence ids, warnings, stage times, tokens and cost.
view: recent (last n) | warnings (answers that carried warnings) | errors |
diverging (the same question pattern answered with different SQL — the interpretation moved) |
path (only questions answered by `path`: fast | cache | llm | structured | entity | none) |
empty (answers that found nothing — check whether the reading was wrong; with `path`, e.g.
cache, only those).
since: only entries asked at or after this time (ISO 8601).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| path | No | ||
| view | No | recent | |
| since | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||