nb api dynamic commands
In addition to nb api resource, nb api includes commands generated from the NocoBase app's OpenAPI Schema. These commands are generated and cached the first time you run nb env add or nb env update.
Common Groups
Available groups and commands depend on the connected NocoBase app version and enabled plugins. Run the following commands to inspect the commands supported by the current app:
Request Body Parameters
Dynamic commands with request bodies support:
--body and --body-file are mutually exclusive.
Dynamic API commands also support:
--env,-e: CLI env name to send the request to; when omitted, the current env is used--yes,-y: When an explicitly passed--envtargets a different env than the current env, skip the interactive confirmation prompt
If you explicitly pass --env and it differs from the current env, the CLI asks for confirmation first. In non-interactive terminals or AI agent sessions, add --yes yourself or run nb env use <name> first and try again.

