Skip to main content
The orriven CLI is the developer-tools drawer of the console, in a terminal. It logs in as you — never with an API key — so it can do what an Owner or Admin can do in the drawer: generate and revoke keys, register webhook endpoints, read request logs and metrics. It is a single binary for macOS, Linux and Windows.
The CLI manages the developer surface of a Business Unit. It does not create events, tickets or registrations — that is the Developer API, called with the keys the CLI issues.

Install

Check it with orriven --version.

Log in

The terminal shows a one-time code and opens the console. Compare the code on the page with the one in your terminal, then choose Approve. The terminal is signed in as your account, with your roles. No password is typed in the terminal, so an account that signs in through enterprise SSO logs in the same way.
  • The session lasts as long as a console session and appears on your account page, where it can be revoked.
  • orriven logout revokes the session and removes the credential from this machine.
  • orriven whoami shows the account and the Business Unit the current directory resolves to.
Only approve a code that matches the one in your terminal. Approving a code someone sent you signs their terminal in as you.

Point a project at a Business Unit

init logs you in if needed, asks for the organization and the Business Unit, and writes orriven.toml in the current directory. Every command run in that directory — or any directory below it — acts on that Business Unit.
The file holds scope only. It never contains a credential, so it is safe to commit. Credentials stay in your user directory. To point elsewhere, run orriven init --force, or override per command with --workspace <id> (and --org <id>). Every prompt has a non-interactive equivalent. orriven orgs list and orriven workspaces list --org <org> print the candidates, and passing both answers asks nothing:
With --non-interactive — implied when CI is set or there is no terminal — the CLI never prompts and reports a usage error where an answer is missing.

API keys

Keys accept the row id from list or the public key id (ok_… / opk_…). The rules on the API keys page apply unchanged: the secret appears once, one key serves one Business Unit, every action is audited.

Webhooks

Endpoints must be https (plain http is allowed for localhost). Disabling stops deliveries; nothing is deleted.

Request logs and metrics

Scripting

  • --json on any command prints the API’s response unchanged, so the API reference describes the fields.
  • ORRIVEN_TOKEN, ORRIVEN_ORGANIZATION, ORRIVEN_WORKSPACE and ORRIVEN_API_URL replace the login and the project file in CI. Keep ORRIVEN_TOKEN in a secret store, not in a shell profile.
  • Outside a terminal, or with --non-interactive, commands never prompt: revoke needs --yes, init needs --org and --workspace.
  • Command groups accept singular aliases: org, workspace (ws), key, webhook, log.
  • Exit codes: 1 error, 2 usage, 3 sign-in needed, 4 no Business Unit in scope.