Skip to navigation

Command Reference

View as Markdown

This reference is generated from the CLI command tree, so command names, arguments, and flags stay aligned with the installed bctrl binary.

For command-specific help in a terminal, run:

bctrl --help
bctrl <command> --help
bctrl <command> <subcommand> --help

Global output flags

Most data commands return JSON by default and support these formatting flags:

FlagDescription
--json [fields]Output JSON with optional comma-separated field projection.
--jq <expression>Filter JSON output using a jq expression.
--template <template>Format JSON output using a Handlebars template.
--no-colorDisable color output.

Pagination (-L, --limit and --cursor), confirmation (-y, --yes), and request override flags (--params, --body) appear on the generated command pages where supported.

Command groups

GroupCommandsDescription
versionversionShow bctrl version
authauthManage BCTRL authentication
accountaccountManage account
agentsagentsManage agents
aiaiManage ai
api-keysapi-keysManage api-keys
browserbrowserManage browser
browsersbrowsersManage browsers
conversationsconversationsManage conversations
drainsdrainsManage drains
eventseventsManage events
filesfilesManage files
helphelpReturn global API, SDK, and CLI help, or help for one named topic. Use query parameters so help is easy to call from browsers, CLI tools, SDKs, and plain HTTP clients.
locationslocationsManage locations
notification-recipientsnotification-recipientsManage notification-recipients
proxiesproxiesManage proxies
runsrunsManage runs
sandboxessandboxesManage sandboxes
secretssecretsManage secrets
spacesspacesManage spaces
subaccountssubaccountsManage subaccounts
taskstasksManage tasks
tool-callstool-callsManage tool-calls
toolstoolsManage tools
tracestracesManage traces
usageusageManage usage
viewsviewsManage views
webhookswebhooksManage webhooks

Top-level commands

version, auth, account, agents, ai, api-keys, browser, browsers, conversations, drains, events, files, help, locations, notification-recipients, proxies, runs, sandboxes, secrets, spaces, subaccounts, tasks, tool-calls, tools, traces, usage, views, webhooks