Commands

Top-level commands

up0 commands that are not part of a command group.

Top-level commands

Commands invoked directly as up0 <command>, with no group prefix.

up0 tail

Short-poll and stream your organization's telemetry logs or traces.

Logs and traces are both selected with --type; the old up0 logs and up0 traces commands are retired.

Usage: up0 tail [OPTIONS]
NameTypeDefaultDescription
--typechoice (logs, traces)logsSignal to stream: logs or traces
--query / -qstring-Free-text filter, sent to the server as q
--viewstring-Resolve a named DataView (an org-scoped saved query) and apply its query/range as defaults; the presentation half is ignored and any other flag passed alongside --view overrides it
--sincestring-Initial lookback, e.g. 5m, 1h, 24h, 7d (default 5m)
--servicestring-Filter by service_name
--statusstring-Filter by severity (--type logs, case-insensitive) or status_code (--type traces)
--jsonbooleanfalseEmit newline-delimited JSON, one record per line
--follow / -f / --no-followboolean-Keep polling after the first batch. Defaults to on when writing to a terminal, off when piped, redirected, or --json
--limit / -ninteger-Max records rendered per poll (default 20)
--org-idstring-Organization ID (or set UP0_ORG_ID) (env: UP0_ORG_ID)

up0 whoami

Show who you are, which profile is active, and what it points at.

Usage: up0 whoami [OPTIONS]
NameTypeDefaultDescription
--outputstring-Set to 'json' for JSON output

up0 import

Snapshot this org's current live state into up0/*.yaml manifests.

One-time, not scheduled — re-running it after manual dashboard changes is a valid way to pull drift back into the repo, but that's a deliberate choice each time, not automatic (GITOPS_ARCHITECTURE.md §4.6). Existing files under the target up0/ tree are overwritten; nothing outside the paths this command writes is touched.

Usage: up0 import [OPTIONS]
NameTypeDefaultDescription
--output-dirstring.Directory the up0/ manifest tree is written under (default: cwd)
--org-idstring-Organization ID (or set UP0_ORG_ID) (env: UP0_ORG_ID)
--jsonbooleanfalseEmit a JSON summary instead of the file list

up0 stats

Organization statistics: current held totals per signal, the real retention horizon, and -- once a range is given via --from/--to/--bucket -- a bucketed series (#623's GET /me/statistics, in one call).

Usage: up0 stats [OPTIONS]
NameTypeDefaultDescription
--fromstring-Range start, ISO 8601. With --to/--bucket, prints the bucketed series in addition to the totals; omitted entirely, up0 stats shows only current held totals and the retention horizon.
--tostring-Range end, ISO 8601 (exclusive)
--bucketstring-Bucket granularity for the series: hour or day (default: day)
--group-bystring-Break totals/series down by service or token
--outputstringtableOutput format: table (default) or json
--org-idstring-Organization ID (or set UP0_ORG_ID) (env: UP0_ORG_ID)

up0 health

Check API health

Usage: up0 health [OPTIONS]

On this page