codebench_query
Query and pivot benchmark results, filtering by run, date, or metric, to compare trends across runs or row labels.
Instructions
Query and pivot benchmark results.
group_by="row": original table shape (row_labels as rows, metrics as columns). Returns one table per run.
group_by="run": trend view (runs as rows, metrics as columns). Returns one table per row_label.
Args:
benchmark: Benchmark name to query
runs: Specific run IDs (default: all matching)
date_from: Start date filter (inclusive, YYYY-MM-DD)
date_to: End date filter (inclusive, YYYY-MM-DD)
metrics: Which metrics to include (default: all)
rows: Which row_labels to include (default: all)
group_by: Pivot axis — "row" or "run"
last_n: Limit to last N runs by date. 0 means NO runs; omit it for no limit. A negative value is an error (it used to mean "no limit").
format: Output — "json" or "csv"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | No | ||
| runs | No | ||
| format | No | json | |
| last_n | No | ||
| date_to | No | ||
| metrics | No | ||
| group_by | No | row | |
| benchmark | Yes | ||
| date_from | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||