Oko/Docs

Command reference

oko subscriptions snapshot

Which subscriptions this machine's agent has and what they cost. The model router, asked signed as Oko through Brama, is the source of truth together with the Weles subscription service; the local cost catalogue is read only when the router is not configured.

Invocation#

Command
oko subscriptions snapshot [--json] [--config PATH] [--weles-subscriptions-url URL]

Inputs and options#

  • --config names the router configuration file; --weles-subscriptions-url the subscription service.

Output and state effect#

  • Writes the snapshot where planning reads it and prints it as a table, or as JSON with --json; every source carries the status it answered.

Refusals and safe exits#

  • `oko subscriptions takes snapshot; got <verb>` (exit 2); `subscription router config must be a JSON object`; the retired configuration keys are refused with the reason the declaration states; `could not create <directory>: <error>`.

CLI reference#