Last updated: 2026-09-06This section documents every
orca command, flag, and default, verified against the source of cli-v0.5.0. For the narrative guides (install, sign in, scripting), start at the CLI overview.
Global flags
These flags are accepted by every command, before or after the subcommand.
There is no
--api-key flag; the key comes from the config file or ORCA_API_KEY. There is no --tenant flag either, since the tenant is derived from the key. orca chat is the one exception: it talks to the public gateway with a chat key and takes --tenant and --key.
Conventions
<arg>is a required positional.[arg]is optional: in an interactive terminal the CLI opens a picker when it is omitted; in a pipe or script it is required and omitting it exits2.[prompt...]collects every remaining argument into one prompt, so quoting is optional unless the prompt contains shell metacharacters.- Destructive subcommands (
delete,remove,rm,unpublish,keys revoke,workflows cancel,billing cap set) ask for confirmation in a terminal and require--yesin a script.runs cancelandagents keys revokeact immediately with no prompt, andauth logout --revokeproceeds without--yesin a script rather than refusing. - Repeatable flags (
--member,--header,--read, and so on) may be passed any number of times. - Options that take values accept both
--flag valueand--flag=value.
Shared paging flags
List commands marked “paged” below accept:
See Pagination for the exceptions.
Exit codes
0 ok, 1 failure, 2 usage, 3 auth, 4 not found, 130 interrupted. Details in Output and scripting.