OneOS Docs
Genesis 0.3.3 Console

genesis gears

Gears: durable workflows, runs, signals and run lifecycle; the workflow engine (flows, flow-runs, tasks)

36 commands, from the help of @onesi/genesis-cli@0.3.3. Every command also takes the global options, including --json. The operations behind them: Gears API.

genesis gears workflows

genesis gears workflows [options] [command]

genesis gears workflows list

List registered workflow definitions (GET /v1/gears/workflows)

genesis gears workflows list [options]

genesis gears workflows get

Get a workflow definition (GET /v1/gears/workflows/{id})

genesis gears workflows get [options] <id>

genesis gears workflows register

Register a workflow definition (POST /v1/gears/workflows)

genesis gears workflows register [options]

Options

  • --body-file <path>

    JSON request body, up to 1 MiB

  • --idempotency-key <key>

    Optional stable key; a retry with it returns the original result

genesis gears workflows delete

Delete (archive) a workflow (DELETE /v1/gears/workflows/{id})

genesis gears workflows delete [options] <id>

genesis gears runs

genesis gears runs [options] [command]

genesis gears runs list

List workflow runs (GET /v1/gears/runs)

genesis gears runs list [options]

genesis gears runs get

Get a workflow run (GET /v1/gears/runs/{id})

genesis gears runs get [options] <id>

genesis gears runs history

Read a run's journal history (GET /v1/gears/runs/{id}/history)

genesis gears runs history [options] <id>

genesis gears runs start

Start a workflow run (POST /v1/gears/runs)

genesis gears runs start [options]

Options

  • --body-file <path>

    JSON request body, up to 1 MiB

  • --idempotency-key <key>

    Optional stable key; a retry with it returns the original result

genesis gears runs signal

Send a signal to a running workflow (POST /v1/gears/runs/{id}/signals)

genesis gears runs signal [options] <id>

Options

  • --body-file <path>

    JSON request body, up to 1 MiB

  • --idempotency-key <key>

    Optional stable key; a retry with it returns the original result

genesis gears runs cancel

Cancel a running workflow run (POST /v1/gears/runs/{id}/cancel)

genesis gears runs cancel [options] <id>

Options

  • --idempotency-key <key>

    Optional stable key; a retry with it returns the original result

genesis gears runs resume

Resume a run by replaying its Flowers execution (POST /v1/gears/runs/{id}/resume)

genesis gears runs resume [options] <id>

genesis gears runs complete

Complete a running workflow run with its output (POST /v1/gears/runs/{id}/complete)

genesis gears runs complete [options] <id>

Options

  • --body-file <path>

    JSON request body, up to 1 MiB

  • --idempotency-key <key>

    Optional stable key; a retry with it returns the original result

genesis gears runs fail

Fail a running workflow run with its error (POST /v1/gears/runs/{id}/fail)

genesis gears runs fail [options] <id>

Options

  • --body-file <path>

    JSON request body, up to 1 MiB

  • --idempotency-key <key>

    Optional stable key; a retry with it returns the original result

genesis gears runs timers

genesis gears runs timers [options] [command]

genesis gears runs timers start

Start a durable timer on a run (POST /v1/gears/runs/{id}/timers)

genesis gears runs timers start [options] <id>

Options

  • --body-file <path>

    JSON request body, up to 1 MiB

  • --idempotency-key <key>

    Optional stable key; a retry with it returns the original result

genesis gears runs retries

genesis gears runs retries [options] [command]

genesis gears runs retries schedule

Schedule a retry of a run step (POST /v1/gears/runs/{id}/retries)

genesis gears runs retries schedule [options] <id>

Options

  • --body-file <path>

    JSON request body, up to 1 MiB

  • --idempotency-key <key>

    Optional stable key; a retry with it returns the original result

genesis gears runs retries execute

Execute a scheduled retry attempt and record its outcome (POST /v1/gears/runs/{id}/retries/{stepId}/{attempt}/execute)

genesis gears runs retries execute [options] <id> <stepId> <attempt>

Options

  • --body-file <path>

    JSON request body, up to 1 MiB

  • --idempotency-key <key>

    Optional stable key; a retry with it returns the original result

genesis gears runs step-refs

genesis gears runs step-refs [options] [command]

genesis gears runs step-refs record

Record the Lanes and Stations references a run step composed (POST /v1/gears/runs/{id}/step-refs)

genesis gears runs step-refs record [options] <id>

Options

  • --body-file <path>

    JSON request body, up to 1 MiB

  • --idempotency-key <key>

    Optional stable key; a retry with it returns the original result

genesis gears runs children

genesis gears runs children [options] [command]

genesis gears runs children start

Start a child workflow run under a parent run (POST /v1/gears/runs/{id}/children)

genesis gears runs children start [options] <id>

Options

  • --body-file <path>

    JSON request body, up to 1 MiB

genesis gears runs compensations

genesis gears runs compensations [options] [command]

genesis gears runs compensations register

Register a compensation (saga undo step) on a run (POST /v1/gears/runs/{id}/compensations)

genesis gears runs compensations register [options] <id>

Options

  • --body-file <path>

    JSON request body, up to 1 MiB

genesis gears runs compensations rollback

Run a run's registered compensations in reverse order (POST /v1/gears/runs/{id}/compensations/rollback)

genesis gears runs compensations rollback [options] <id>

Options

  • --body-file <path>

    JSON request body, up to 1 MiB

genesis gears runtime

Describe the Flowers durable runtime behind Gears (GET /v1/gears/runtime/flowers)

genesis gears runtime [options]

genesis gears records

Read meter, audit, evidence, replay and probe records (GET /v1/gears/operations/records)

genesis gears records [options]

genesis gears flows

genesis gears flows [options] [command]

genesis gears flows list

List your workflow engine definitions (gears.flow/v1, gears.dynamic/v1) (GET /v1/gears/flows)

genesis gears flows list [options]

genesis gears flows get

Get one of your definitions (GET /v1/gears/flows/{workflow}/{version})

genesis gears flows get [options] <workflow> <version>

genesis gears flows push

Register a workflow engine definition (immutable per version) (POST /v1/gears/flows)

genesis gears flows push [options]

Options

  • --body-file <path>

    JSON request body, up to 1 MiB

genesis gears flows validate

Check a definition without registering it (POST /v1/gears/flows/validate)

genesis gears flows validate [options]

Options

  • --body-file <path>

    JSON request body, up to 1 MiB

genesis gears flow-runs

genesis gears flow-runs [options] [command]

genesis gears flow-runs list

List your engine runs, oldest first (GET /v1/gears/flow-runs)

genesis gears flow-runs list [options]

Options

  • --limit <value>
  • --after <value>

genesis gears flow-runs get

Get one of your engine runs (status, steps, output) (GET /v1/gears/flow-runs/{id})

genesis gears flow-runs get [options] <id>

genesis gears flow-runs history

The run's hash-chained event history (GET /v1/gears/flow-runs/{id}/history)

genesis gears flow-runs history [options] <id>

genesis gears flow-runs start

Start a run of one of your definitions (POST /v1/gears/flow-runs)

genesis gears flow-runs start [options]

Options

  • --body-file <path>

    JSON request body, up to 1 MiB

  • --idempotency-key <key>

    Optional stable key; a retry with it returns the original result

genesis gears flow-runs append

Append steps to a gears.dynamic/v1 run (seal = no more come) (POST /v1/gears/flow-runs/{id}/steps)

genesis gears flow-runs append [options] <id>

Options

  • --body-file <path>

    JSON request body, up to 1 MiB

genesis gears flow-runs cancel

Cancel a run (leased work is asked to stop; the run ends when every step closed) (POST /v1/gears/flow-runs/{id}/cancel)

genesis gears flow-runs cancel [options] <id>

Options

  • --body-file <path>

    JSON request body, up to 1 MiB

genesis gears tasks

genesis gears tasks [options] [command]

genesis gears tasks poll

Take tasks from one of your queues (long poll up to 20 s) (POST /v1/gears/tasks/poll)

genesis gears tasks poll [options]

Options

  • --body-file <path>

    JSON request body, up to 1 MiB

genesis gears tasks heartbeat

Extend a lease you hold; answers whether the run asked you to stop (POST /v1/gears/tasks/{id}/heartbeat)

genesis gears tasks heartbeat [options] <id>

Options

  • --body-file <path>

    JSON request body, up to 1 MiB

genesis gears tasks complete

Report that the attempt you hold succeeded (POST /v1/gears/tasks/{id}/complete)

genesis gears tasks complete [options] <id>

Options

  • --body-file <path>

    JSON request body, up to 1 MiB

genesis gears tasks fail

Report that the attempt you hold failed (code `cancelled` after a cancel request) (POST /v1/gears/tasks/{id}/fail)

genesis gears tasks fail [options] <id>

Options

  • --body-file <path>

    JSON request body, up to 1 MiB

L1fe AI Inc. · Built from Genesis 0.3.3 and the live gateway on 2026-10-25. Support