Routebase.Cli 2.3.0

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global Routebase.Cli --version 2.3.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local Routebase.Cli --version 2.3.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Routebase.Cli&version=2.3.0
                    
nuke :add-package Routebase.Cli --version 2.3.0
                    

Routebase CLI

Run your Routebase API tests, security scans, environment promotions and documentation sync from a terminal or a CI pipeline.

This is a client for Routebase — it needs an account and an API key. It is not a standalone testing tool.

Install

dotnet tool install --global Routebase.Cli

The command is routebase.

Configure

Create an API key under Settings → API Keys in the app, then:

routebase config set-api-key "$ROUTEBASE_API_KEY"
routebase config set-region us     # only if your organization is hosted in the US
routebase config show

Region matters. One host serves both the EU and the US region, and requests without a region signal are served from the EU. If your organization is hosted in the US, either run config set-region us or set ROUTEBASE_REGION=us — otherwise your key is looked up in the wrong region and the run fails at authentication. EU organizations need nothing. In CI the environment variable is usually the better fit; it takes precedence over the stored value.

Commands

Command What it does
routebase run <project-id> <suite-id> Runs a test suite and exits non-zero when it fails
routebase scan <project-id> <profile-id> Runs a security scan, gates on --fail-on <severity>, exports SARIF
routebase promote <spec> <version> --env <name> Pins a spec version to an environment after a deploy
routebase spec push <spec> --file <path> Pushes an OpenAPI file generated from code into the spec's draft; --dry-run previews, --overwrite lets the file win over edits made in Routebase
routebase docs pull --project <id> / docs push --project <id> Docs-as-code: sync a documentation version to and from Markdown files
routebase list suites <project-id> Lists the test suites in a project
routebase config Stores API key, base URL, region and default project

Run routebase <command> --help for the full option list.

Exit codes

Code Meaning
0 Success
1 The run failed — tests failed, or a finding tripped --fail-on
2 Configuration or input error (missing API key, bad flag, a file that is not valid OpenAPI)
3 Network error, or the run did not complete
4 Authentication error — the key is wrong, or lacks the permission or project scope
5 Project, suite, profile, spec or version not found
6 Conflict with the current state in Routebase — a page changed remotely since docs pull, a spec push met values edited in Routebase since the last push, or the spec has no single draft

Every command maps an HTTP 403 — a key without the permission the command needs — to 4, not to 3. Before 2.0.0 run and list returned 3 there, which pointed a pipeline at the network instead of at its key.

Documentation

Full guides: https://docs.routebase.dev

Licence

Proprietary. Use requires a Routebase subscription or trial — see the bundled LICENSE.md and https://routebase.dev/terms.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
2.4.1 49 11/22/2026
2.4.0 59 11/20/2026
2.3.0 111 11/17/2026
2.2.0 104 11/6/2026
2.1.1 130 10/9/2026
2.1.0 119 9/14/2026
2.0.0 126 9/1/2026
1.0.1 124 8/21/2026
1.0.0 119 8/21/2026