• Start
Sign In

surrealctl

/

Commands

Overview

A map of every surrealctl command group and leaf command, with links to the page documenting each one.

surrealctl groups its commands by noun. A group on its own prints its own help; the leaf commands below do the work. Every command accepts the global flags, and every command except token create accepts --json.

GroupLeaf commands
authlogin, logout, status, refresh, scopes
orglist, get, create, update, archive, use, roles, permissions, usage, spend, plans
instancelist, get, create, update, delete, pause, resume, watch, status, endpoint, token, jwks, sql, import, export, metrics, logs, usage, estimate, capabilities get, capabilities set, backup list, backup create, backup policy get, backup policy set
teamlist, get, invite, update, remove
invitelist, create, delete
tokenlist, create, delete, scopes
catalogregions, instance-types, storage-types, instance-versions, billing-countries
spectroncontext, key, scoped-key, access-token, principal, package, scopes, verbs, providers, usage, config
configlist, get, set, unset, path, edit
contextshow, use, list
Other commandswhoami, api, open, status, version, completion

Plural spellings of the group nouns work, and so do two verb aliases. Nothing else is aliased.

AliasMeans
orgs, instances, teams, invites, tokens, contextsThe singular group
lslist
rmdelete — and team remove
doctorstatus

Each leaf command gets a usage block, a table of its arguments, a table of its own options, at least one runnable example, and a note on how it refuses.

Usage blocks are notation, not commands: <NAME> is a value you must supply, [NAME] one you may, [OPTIONS] any number of flags, and ... marks something repeatable. Copy from the examples instead.

Flags shared across many commands are documented once:

  • The global flags, accepted everywhere.

  • The list presentation flags--columns, --wide, --no-header, --sort, --reverse and --limit — carried by every list-shaped command.

  • The wait flags--wait, --no-wait and --wait-timeout — carried by five instance commands.

For queries, imports, exports and running a server, use the surreal CLI instead. See the overview for where that boundary sits.

Was this page helpful?