CommandsOrchestrator

Orchestrator Commands

Inspect workflows, executions, metrics, and usage data for Skytells Orchestrator from the CLI.

The Orchestrator CLI commands give you visibility into automated workflow execution — without opening the Console. Use them in CI/CD pipelines to gate deployments on workflow health, or from a terminal to diagnose execution failures.

For a conceptual overview of the Orchestrator product, see Orchestrator.

Commands on this page

CommandDescription
skytells workflows lsList available workflows
skytells orchestrator overviewAggregated execution stats
skytells orchestrator executionsList individual executions
skytells orchestrator inspectInspect a specific execution
skytells orchestrator metricsTime-series performance metrics
skytells orchestrator usageResource consumption over a period

skytells workflows ls

Lists all workflows defined in the linked project.

Syntax

skytells workflows ls [--json]

Example

skytells workflows ls
┌──────────────┬────────────────────────┬────────────┐
│ ID           │ Name                   │ Trigger    │
├──────────────┼────────────────────────┼────────────┤
│ wf_001       │ data-ingestion         │ scheduled  │
│ wf_002       │ report-generator       │ webhook    │
│ wf_003       │ ml-inference-pipeline  │ manual     │
└──────────────┴────────────────────────┴────────────┘

skytells orchestrator overview

Returns an aggregated summary of workflow execution health: total runs, success rate, failure rate, and average duration.

Syntax

skytells orchestrator overview [--hours <n>] [--json]

Flags

FlagDescription
--hours <n>Lookback window in hours. Default: 24.
--jsonOutput as JSON.

Example

skytells orchestrator overview
skytells orchestrator overview --hours 72
skytells orchestrator overview --json | jq '.failure_rate'

skytells orchestrator executions

Lists individual execution records, with optional filtering by workflow and status.

Syntax

skytells orchestrator executions [--workflow <id>] [--status <status>] [--limit <n>] [--json]

Flags

FlagDescription
--workflow <id>Filter by workflow ID.
--status <status>Filter by status: running, completed, failed, cancelled.
--limit <n>Number of results to return. Default: 20.
--jsonOutput as JSON.

Examples

# All recent executions
skytells orchestrator executions

# Failures only
skytells orchestrator executions --status failed

# Executions for a specific workflow
skytells orchestrator executions --workflow wf_001 --limit 50

# Extract IDs of recent failures for investigation
skytells orchestrator executions --status failed --json | jq -r '.[].id'

skytells orchestrator inspect

Returns the full execution record for a single run — input, output, step trace, duration, and error details.

Syntax

skytells orchestrator inspect <id> [--json]

Example

skytells orchestrator inspect exec_abc123

# Get the error reason from a failed execution
skytells orchestrator inspect exec_abc123 --json | jq '.error'

skytells orchestrator metrics

Returns performance metrics over a time range as a time series.

Syntax

skytells orchestrator metrics [--from <date>] [--to <date>] [--json]

Flags

FlagDescription
--from <date>Start date (ISO 8601 format, e.g. 2026-03-01).
--to <date>End date. Defaults to now.
--jsonOutput as JSON.

Example

skytells orchestrator metrics --from 2026-03-01 --to 2026-03-18
skytells orchestrator metrics --json | jq '.series[] | "\(.timestamp) \(.success_count) \(.failure_count)"'

skytells orchestrator usage

Returns resource consumption statistics over a period — compute time, execution counts, and costs.

Syntax

skytells orchestrator usage [--from <date>] [--to <date>] [--json]

Example

skytells orchestrator usage --from 2026-03-01 --to 2026-03-18
skytells orchestrator usage --json | jq '.total_compute_seconds'

Alert on failures in CI/CD

#!/bin/bash
# Fail the build if the orchestrator has a high failure rate
FAILURE_RATE=$(skytells orchestrator overview --json | jq '.failure_rate')
THRESHOLD=0.05  # 5%

if (( $(echo "$FAILURE_RATE > $THRESHOLD" | bc -l) )); then
  echo "Orchestrator failure rate $FAILURE_RATE exceeds threshold $THRESHOLD"
  exit 1
fi
echo "Orchestrator health OK"

How is this guide?

On this page