oc login, OPENCOMPUTER_API_KEY, or --api-key.1234oc agent invoke <id|name> \ [--data '<json>' | --file <path> | --stdin] \ [--idempotency-key <key>] \ [--json]
--data defaults to {}. The CLI rejects non-JSON input locally, calls exact
POST / with the configured org key, and prints the accepted session id plus
follow/steer commands. It generates one idempotency key and keeps it stable
across automatic retries; supply your own key when separate command runs must
converge.--json, the output is the complete acceptance receipt, including the
one-hour session client token and canonical event/message links. Treat that
output as a session-scoped credential.oc session create instead when you need model, source, destination, or
per-session limit overrides.12oc agent hook create <name> --agent <id|name> \ [--expires-at <rfc3339>] [--json]
--agent is
omitted, the CLI resolves the agent from agent.toml in the current directory.12oc agent hooks --agent <id|name> \ [--include-revoked] [--cursor <cursor>] [--limit <n>] [--json]
--limit at 100.1oc agent hook get <hook-id|name> --agent <id|name> [--json]
1oc agent hook revoke <hook-id|name> --agent <id|name> [--yes] [--json]