Reference / Reports and analytics

Run a saved report

run_reportocmgr reports runPOST /v1/reports/{id}/runREAD

Run saved SQL with bound parameter overrides. Return rows, vega (validated spec + named rows side by side; null spec for tables), CSV, SVG or an 800 by 450 PNG with the shared chart theme. Use compact for a 552 by 224 preview with axes and legends, without export framing. Exports have the same 10,000-row cap. Explore permits json and vega only.

Parameters

idstring (uuid)REQUIRED
paramsobjectdefault {}

Positional SQL parameter overrides (keys "1", "2", … for $1, $2, …) for this run; omitted values use the saved report parameters.

compactboolean

Render a 552 by 224 chart preview with axes and legends, without export framing.

format"json" | "csv" | "svg" | "png" | "vega"default "json"
theme"light" | "dark"default "light"
palette"categorical" | "sequential" | "diverging"default "categorical"

Chart colors: categorical = Distinct series; sequential = Light to dark; diverging = Two-sided scale.

CLI flags

--param <k=v...>

--format <format>default json

json, csv, svg, png or vega (validated spec + rows)

--theme <theme>default light

light or dark

--compact

Render a 552 by 224 chart preview with axes and legends

--palette <palette>default categorical

categorical (Distinct series), sequential (Light to dark) or diverging (Two-sided scale)

--out <path>

Write the result to this file (0600); an existing one is refused unless --force

--force

Replace an existing --out file (atomically, owner-only)

Also in Reports and analytics