edx Command Reference
8 minute read
This page lists every edx command, grouped by domain. For installation, authentication, output formats, and shared conventions such as time ranges and pagination, see the edx CLI overview. Run edx <command> --help for the complete flag list of any command.
The command tree covers the three Edge Delta product areas plus supporting utilities:
graph TD A[edx] --> B[Observability] A --> C[Pipelines] A --> D[AI Team] A --> E[Utilities] B --> B1[logs, patterns, metrics,
traces, events, monitors,
dashboards, facets, service-map] C --> C1[pipelines, fleet, capture,
health, ingest] D --> D1[ai issues, threads, channels,
agents, connectors, activity] E --> E1[auth, config, api,
skills, version, update]
Global flags
These flags work on every command:
| Flag | Purpose |
|---|---|
-o, --output | Output format: json (default), yaml, table, csv, raw |
--columns | Dot-path columns for table and csv output |
--profile | Config profile to use |
--env | prod or staging (overrides the profile) |
--org | Organization ID (overrides the profile) |
--token | API token (overrides the profile) |
--timeout | HTTP request timeout (default 60s) |
-y, --yes | Skip confirmation prompts on destructive commands |
Search commands share the time and paging flags --lookback (default 1h), --from, --to, --limit, --cursor, and --order.
Authentication and configuration
Manage credentials and inspect the resolved configuration:
| Command | Description |
|---|---|
edx auth login | Save credentials to a profile: OAuth browser login by default, or --token <api-token> --org-id <org-id> |
edx auth list | List saved profiles (the default is marked with *) |
edx auth use <profile> | Set the default profile |
edx auth status | Show the active profile and verify the token against the API |
edx auth logout | Remove the stored credentials for the active profile |
edx config show | Print the resolved configuration with secrets masked (no network call) |
edx config path | Print the config file path |
Logs
Search and aggregate logs with CQL:
| Command | Description |
|---|---|
edx logs search | Search raw logs. -q/--query (empty matches all), time flags, --limit, --cursor, --order |
edx logs graph | Log count time series for a CQL filter. --group-by splits the series, for example by service.name |
For example, find recent errors from one service:
edx logs search -q 'service.name:"checkout" AND severity_text:"error"' --lookback 4h
Patterns
Work with log patterns (clustered message signatures) for anomaly hunting:
| Command | Description |
|---|---|
edx patterns list | List top patterns with counts, deltas, and sentiment. --summary returns about 50 interesting clusters; --negative filters to negative sentiment |
edx patterns samples | Fetch raw log samples scoped by --query and time |
Metrics
Discover metric names, then query them:
| Command | Description |
|---|---|
edx metrics list | List available metric names. --keyword filters with a case-insensitive substring |
edx metrics query | Aggregate a metric. --name (required, exact name), --agg (sum, avg, min, max, count, median), --filter (CQL), --group-by, --rollup (seconds), --graph-type (timeseries or table) |
Metric names must be exact in metrics query; use metrics list first when unsure.
Traces and service map
Search distributed traces and view service dependencies:
| Command | Description |
|---|---|
edx traces search | Search OpenTelemetry spans with CQL field syntax. --include-children includes child spans for full trace context |
edx service-map | Get the service dependency map derived from traces |
Events
Search events such as pattern anomalies, monitor alerts, and Kubernetes events:
| Command | Description |
|---|---|
edx events search | Search events with CQL; full-text search is supported. For example -q 'event.domain:"Monitor"' |
Monitors
Manage monitors and inspect their states:
| Command | Description |
|---|---|
edx monitors list | List monitors, optionally filtered with -q |
edx monitors get <monitor-id> | Get a monitor by ID |
edx monitors create --file monitor.json | Create a monitor from a JSON definition (- reads stdin) |
edx monitors update <monitor-id> --file monitor.json | Update a monitor from a JSON definition |
edx monitors delete <monitor-id> | Delete a monitor |
edx monitors states | List monitor states (triggered and resolved) |
edx monitors evaluate <monitor-id> | Dry-run a metric monitor’s query now and show the value against its thresholds |
Pipelines
Manage pipeline configurations through their full lifecycle: inspect, validate, save, deploy, and roll back.
| Command | Description |
|---|---|
edx pipelines list | List pipelines. --keyword filters by tag; --all includes suspended pipelines |
edx pipelines get <conf-id> | Get a pipeline definition, including the config content |
edx pipelines history <conf-id> | Show version history: who changed what, and when |
edx pipelines save <conf-id> --file pipeline.yaml | Save a new version without deploying. -d adds a change description |
edx pipelines deploy <conf-id> [version] | Deploy a saved version to the fleet, or roll back to a prior version. --latest deploys the most recently saved version; --wait waits for agents to report rollout health |
edx pipelines validate --file pipeline.yaml | Validate a configuration without saving it |
edx pipelines agents <conf-id> | List agents running this pipeline |
edx pipelines status <conf-id> | Get fleet status (running or suspended) |
edx pipelines deploy-command <conf-id> | Get the install command for this pipeline’s agents |
A typical change follows validate, save, then deploy:
edx pipelines validate --file pipeline.yaml
edx pipelines save conf-123 --file pipeline.yaml -d "Mask PII in checkout logs"
edx pipelines deploy conf-123 --latest --wait
Processor dry runs
edx pipelines test dry-runs processors against sample data without saving or deploying anything:
| Command | Description |
|---|---|
edx pipelines test ottl <conf-id> --file items.jsonl --statements '<ottl>' | Run OTTL statements against sample OTLP log items |
edx pipelines test node <conf-id> --file items.jsonl --node node.json | Run a full processor node of any type against sample items |
edx pipelines test grok <conf-id> --file logs.txt --pattern '%{COMMONAPACHELOG}' | Test a grok pattern against raw log lines |
edx pipelines test regex <conf-id> --file logs.txt --pattern '<regex>' | Test an RE2 regex against raw log lines; named groups become fields |
Fleet
View agents and deployments across all pipelines:
| Command | Description |
|---|---|
edx fleet agents | List agents across all pipelines |
edx fleet deployments [conf-id] | Show deployment status across the fleet, or for one pipeline |
Live capture
Sample real data flowing through pipeline nodes on running agents. Capture tasks are ephemeral and self-expiring, and they do not modify the pipeline. See Live Capture for the concept.
| Command | Description |
|---|---|
edx capture start <conf-id> | Start a capture task. --duration (default 2m), --nodes (default all), --max-items per node (default 20, max 100) |
edx capture task <conf-id> | Show the active capture task for a pipeline |
edx capture status <task-id> | Show per-agent status for a capture task |
edx capture results <conf-id> | Fetch captured samples, before and after each node |
Health
Inspect pipeline component health (sources, processors, destinations):
| Command | Description |
|---|---|
edx health components --host <host> | Component health entries for one host |
edx health problems | Components currently reporting problems |
Dashboards
Manage dashboards from the terminal:
| Command | Description |
|---|---|
edx dashboards list | List dashboards |
edx dashboards get <dashboard-id> | Get a dashboard definition |
edx dashboards create --file dashboard.json | Create a dashboard from a JSON definition |
edx dashboards update <dashboard-id> --file dashboard.json | Update a dashboard |
edx dashboards delete <dashboard-id> | Delete a dashboard |
Facets
Discover queryable fields and their observed values before writing CQL:
| Command | Description |
|---|---|
edx facets keys --scope <scope> | List all filterable field names for a scope (log, metric, trace, pattern, event) |
edx facets options --scope <scope> --facet <field> | List observed values for a field |
edx facets list --scope <scope> | List configured facets, built-in and user-defined |
AI Team
Work with AI Team issues, conversations, teammates, and connectors:
| Command | Description |
|---|---|
edx ai issues list | List open issues raised by AI teammates. --include-closed and --with-threads expand the output |
edx ai issues get <issue-id> | Get a single issue |
edx ai issues critical | List the most critical open issues, ranked |
edx ai issues close <issue-id> | Close an issue |
edx ai issues delete <issue-id> | Delete an issue |
edx ai issues health | Show the current health score derived from open issues |
edx ai issues timeline | Show the health score timeline over a lookback window |
edx ai channels list | List channels |
edx ai channels messages <channel-id> | List messages in a channel |
edx ai threads list --channel <channel-id> | List threads in a channel |
edx ai threads messages --channel <channel-id> <thread-id> | List messages in a thread |
edx ai agents list | List AI teammates |
edx ai agents update <agent-id> | Update a teammate from --file agent.json or with prompt flags such as --user-prompt |
edx ai connectors list | List configured connectors |
edx ai connectors specs | List available connector types and their configuration specs |
edx ai connectors update --file connector.json | Create or update a connector |
edx ai connectors delete --file connector.json | Delete a connector |
edx ai activity | Show AI teammate activity metrics (--lookback, default 24h) |
Ingestion
Inspect ingestion endpoints and tokens:
| Command | Description |
|---|---|
edx ingest endpoints | Show HTTPS ingestion endpoints with sample payloads and test commands |
edx ingest token --conf-id <conf-id> --node-name <node> | Get or create an ingestion token |
Raw API
edx api <METHOD> <path> calls any Edge Delta API endpoint directly, for endpoints without a dedicated command. The {org} placeholder is substituted automatically, and org-relative shorthand paths work too:
edx api GET /v1/orgs/{org}/users
edx api GET /tokens
edx api POST /monitors --data @monitor.json
See the API Reference for available endpoints.
Skills
Install Edge Delta skills into AI coding assistants so they know how to drive edx:
| Command | Description |
|---|---|
edx skills list | List the available skills |
edx skills show <skill> | Print a skill’s definition |
edx skills install [platform] | Install skills for claude, cursor, codex, opencode, or all (auto-detected if omitted). --project installs into the current repository |
edx skills update [platform] | Re-install skills, overwriting previously installed copies |
Version and updates
Check and update the installed version:
| Command | Description |
|---|---|
edx version | Print the installed version |
edx update | Update to the latest release. --check reports availability without installing |
See Also
- edx CLI overview - Installation, authentication, output formats, and conventions.
- Common Query Language (CQL) - Query syntax for the search commands.
- Live Capture - How live capture sampling works.
- API Reference - The REST API behind these commands.