Docs
Checking Raims account

Command reference

Look up syntax and options for Raims CLI commands.

Look up syntax, arguments, and options for each command. Use raims COMMAND --help to read the help in your terminal.

Global options

CLI commands inherit these options. A command-specific option with the same name keeps the definition shown on that command.

  • --color string default: auto
    • Terminal colors: auto, on or off (JSON and completion stay uncolored)
  • --debug bool default: false
    • Write diagnostic JSON events to stderr without credentials or command arguments
  • --environment string default: empty
    • Select sandbox or production for OAuth or an OAuth dry run; API keys determine their own environment
  • --map string default: empty
    • List the command tree without executing a command: tree, compact, paths or json
  • --no-input bool default: false
    • Disable interactive prompts (also enforced in CI and without a terminal)
  • --output, -o string default: text
    • Output format: text or json
  • --profile string default: empty
    • Use a profile for this command (overrides RAIMS_PROFILE and the saved default)

API commands

raims accounts

Inspect account details and configure checkout appearance

raims

Raims command-line interface

Shell
raims [flags]

Example 1

Shell
raims --map

Example 2

Shell
raims charges --map=compact

Example 3

Shell
raims --map=json

Execution options

  • --help, -h bool default: false
    • help for raims
  • --version, -v bool default: false
    • version for raims

Subcommands: raims accounts, raims auth, raims balances, raims charges, raims completion, raims config, raims customers, raims disputes, raims docs, raims doctor, raims help, raims licenses, raims login, raims logout, raims mcp, raims open, raims payment-links, raims profile, raims refunds, raims simulations, raims statements, raims update, raims version, raims webhook-event-types, raims webhooks, raims withdrawal-destinations, raims withdrawals.

raims auth

Check API authentication for the selected profile

Shell
raims auth [flags]

Execution options

  • --help, -h bool default: false
    • help for auth

See global options.

Subcommands: raims auth check, raims auth status.

raims auth check

Validate the selected credential with a read-only account request

Shell
raims auth check [flags]

Execution options

  • --help, -h bool default: false
    • help for check
  • --show-headers bool default: false
    • Show public response headers without credentials or cookies
  • --timeout duration default: 1m0s
    • Total request timeout, including retries and waits

See global options.

raims auth status

Inspect local authentication metadata without reading credentials or using the network

Shell
raims auth status [flags]

Execution options

  • --help, -h bool default: false
    • help for status

See global options.

raims completion

Generate the autocompletion script for the specified shell

Shell
raims completion [flags]

Execution options

  • --help, -h bool default: false
    • help for completion

See global options.

Subcommands: raims completion bash, raims completion fish, raims completion powershell, raims completion setup, raims completion zsh.

raims completion bash

Generate the autocompletion script for bash

Shell
raims completion bash

Execution options

  • --help, -h bool default: false
    • help for bash
  • --no-descriptions bool default: false
    • disable completion descriptions

See global options.

raims completion fish

Generate the autocompletion script for fish

Shell
raims completion fish [flags]

Execution options

  • --help, -h bool default: false
    • help for fish
  • --no-descriptions bool default: false
    • disable completion descriptions

See global options.

raims completion powershell

Generate the autocompletion script for powershell

Shell
raims completion powershell [flags]

Execution options

  • --help, -h bool default: false
    • help for powershell
  • --no-descriptions bool default: false
    • disable completion descriptions

See global options.

raims completion setup

Plan shell completion setup or save a new completion script

Shell
raims completion setup [flags]

Example 1

Shell
raims completion setup

Example 2

Shell
raims completion setup --shell powershell --save raims-completion.ps1 --dry-run

Example 3

Shell
raims completion setup --shell bash --save raims-completion.bash

Example 4

Shell
raims --output json completion setup --shell zsh

Execution options

  • --dry-run bool default: false
    • Show the completion setup plan without writing a file
  • --help, -h bool default: false
    • help for setup
  • --save string default: empty
    • Save a new completion script to PATH without changing shell profiles
  • --shell string default: auto
    • Shell for completion: auto, powershell, bash, zsh or fish

See global options.

raims completion zsh

Generate the autocompletion script for zsh

Shell
raims completion zsh [flags]

Execution options

  • --help, -h bool default: false
    • help for zsh
  • --no-descriptions bool default: false
    • disable completion descriptions

See global options.

raims config

Inspect local CLI configuration

Shell
raims config [flags]

Execution options

  • --help, -h bool default: false
    • help for config

See global options.

Subcommands: raims config path.

raims config path

Show the configuration file path without creating it

Shell
raims config path [flags]

Execution options

  • --help, -h bool default: false
    • help for path

See global options.

raims docs

Read public Raims documentation in the terminal

Shell
raims docs [PATH] [flags]

Example 1

Shell
raims docs

Example 2

Shell
raims docs cli/configuration

Example 3

Shell
raims docs /en/cli --language en

Example 4

Shell
raims --output json docs cli/automation --offline

Example 5

Shell
raims docs search webhooks

Execution options

  • --help, -h bool default: false
    • help for docs
  • --language string default: br
    • Documentation language: br or en
  • --offline bool default: false
    • Read only an existing documentation cache, including an older copy
  • --refresh bool default: false
    • Download fresh public documentation instead of reading the cache
  • --timeout duration default: 1m0s
    • Documentation request timeout (for example 30s or 2m)

See global options.

Subcommands: raims docs search.

Search public Raims documentation

Shell
raims docs search QUERY... [flags]

Example 1

Shell
raims docs search webhooks

Example 2

Shell
raims docs search "chaves de API" --offline

Example 3

Shell
raims --output json docs search checkout --language en --limit 5

Execution options

  • --help, -h bool default: false
    • help for search
  • --limit int default: 10
    • Maximum documentation search results (1-50)

See global options.

raims doctor

Check local configuration, permissions, installation and update policy

Shell
raims doctor [flags]

Execution options

  • --help, -h bool default: false
    • help for doctor

See global options.

raims help

Help about any command

Shell
raims help [command] [flags]

Execution options

  • --help, -h bool default: false
    • help for help

See global options.

raims licenses

Read the third-party notices included in this executable

Shell
raims licenses [flags]

Execution options

  • --help, -h bool default: false
    • help for licenses

See global options.

raims login

Connect a profile through browser sign-in

Shell
raims login [flags]

Example 1

Shell
raims login --profile personal --environment sandbox

Example 2

Shell
raims login --profile personal --environment sandbox --no-browser

Execution options

  • --help, -h bool default: false
    • help for login
  • --no-browser bool default: false
    • Print the sign-in URL instead of launching a browser; keep this terminal open for the local callback

See global options.

raims logout

Revoke an OAuth connection and remove its local profile

Shell
raims logout [flags]

Execution options

  • --help, -h bool default: false
    • help for logout

See global options.

raims mcp

Configure an AI client for the Raims MCP server

Shell
raims mcp [flags]

Execution options

  • --help, -h bool default: false
    • help for mcp

See global options.

Subcommands: raims mcp setup.

raims mcp setup

Show MCP setup instructions or save a new configuration snippet

Shell
raims mcp setup [flags]

Example 1

Shell
raims mcp setup

Example 2

Shell
raims mcp setup --client codex

Example 3

Shell
raims mcp setup --client cursor --save raims-mcp.json --dry-run

Example 4

Shell
raims mcp setup --client claude-code

Example 5

Shell
raims --output json mcp setup --client codex

Execution options

  • --client string default: all
    • MCP client: all, codex, claude-code or cursor
  • --dry-run bool default: false
    • Validate and show the setup plan without writing a file
  • --help, -h bool default: false
    • help for setup
  • --save string default: empty
    • Save a new standalone configuration snippet to PATH

See global options.

raims open

Open Raims documentation and Dashboard pages

Shell
raims open [shortcut] [flags]

Example 1

Shell
raims open docs

Example 2

Shell
raims open api

Example 3

Shell
raims open webhooks

Example 4

Shell
raims --no-input --output json open docs

Execution options

  • --help, -h bool default: false
    • help for open

See global options.

raims profile

Manage local profiles without storing API keys

Shell
raims profile [flags]

Execution options

  • --help, -h bool default: false
    • help for profile

See global options.

Subcommands: raims profile list, raims profile remove, raims profile set, raims profile show, raims profile use.

raims profile list

List configured profiles

Shell
raims profile list [flags]

Execution options

  • --help, -h bool default: false
    • help for list

See global options.

raims profile remove

Remove a local profile without revoking its API key

Shell
raims profile remove NAME [flags]

Example 1

Shell
raims profile remove old-project

Example 2

Shell
raims --output json profile remove old-project

Execution options

  • --help, -h bool default: false
    • help for remove

See global options.

raims profile set

Save a profile using an API key environment variable name

Shell
raims profile set NAME --api-key-env VARIABLE [flags]

Execution options

  • --api-key-env string required default: empty
    • API key environment variable name (uppercase letters, digits and underscores)
  • --help, -h bool default: false
    • help for set

See global options.

raims profile show

Show a profile, or the selected profile when no name is given

Shell
raims profile show [name] [flags]

Execution options

  • --help, -h bool default: false
    • help for show

See global options.

raims profile use

Select the default local profile

Shell
raims profile use NAME [flags]

Execution options

  • --help, -h bool default: false
    • help for use

See global options.

raims update

Inspect automatic updates

Shell
raims update [flags]

Execution options

  • --help, -h bool default: false
    • help for update

See global options.

Subcommands: raims update status.

raims update status

Show the automatic update policy and installed versions

Shell
raims update status [flags]

Execution options

  • --help, -h bool default: false
    • help for status

See global options.

raims version

Show the CLI version and build information

Shell
raims version [flags]

Execution options

  • --help, -h bool default: false
    • help for version

See global options.