Skip to main content

crewship metrics

Fetch mission performance metrics or pull a metric timeseries. Without flags, returns the mission summary — success rate, p50/p99 durations, total runs over the last default window. With --series <name>, switches to a timeseries endpoint and returns time-bucketed points.
Requires an authenticated session and a selected workspace (requireAuthAndWorkspace). The output is always structured JSON (or YAML with --format yaml). Pipe through jq or use --filter for ad-hoc shapes — there is no canonical table form for the records returned.

Flags

The global --format flag (table / json / yaml / ndjson / quiet) is honoured. The default is indented JSON because the data here is structured records without a single canonical “table” shape.

Endpoints

Examples

Mission summary

Active-runs timeseries over the last hour

Week-long window

Pull a single field via jq

YAML output

Pipe to a chart

See also