Skip to main content
The Sevalla CLI, sevalla, runs the Sevalla API v3 from a terminal or a CI job. A command sends a request with your API key and prints the result as a table or as JSON. This reference covers version 2.5.0, released Nov 27, 2026: all 256 commands with their arguments, flags and defaults, and the API operation each one calls. To install the CLI, sign in and see the commands you use most, read Sevalla CLI in the platform docs.

Install and sign in

On Windows, download sevalla-windows-x64.exe from the latest release and put it on your PATH. To update or remove the CLI, see Update or uninstall.
Sign in and Use an API key in CI explain both ways.

Global flags and environment variables

How commands work

  • Syntax. <value> is a value you supply. A flag in brackets, such as [--branch <branch>], is optional. A flag without brackets is required: without it, the command stops with error: required option '--cluster <id>' not specified. An unknown flag stops it with error: unknown option.
  • IDs. <id> and names that end in -id are the id values that list commands print. Services, deployments and most other objects have UUIDs, and the dashboard shows a service ID on its Settings tab.
  • Values. <bool> is true or false. Plural values, such as <ips>, <keys>, <events> or <list>, are comma-separated lists without spaces: --ip-list 203.0.113.10,198.51.100.0/24. <date> is an ISO 8601 timestamp in UTC: 2026-10-18T09:00:00Z. Quote values that contain spaces.
  • Parent IDs. A command on part of a service takes the parent ID as an argument (sevalla apps domains delete <app-id> <domain-id>) or as a flag (sevalla apps domains get <domain-id> --app-id <id>). Each invocation below shows which.
  • Pages. List commands with [--page <number>] [--per-page <number>] return one page. --page defaults to 1 and --per-page to 25. The CLI sends them as offset and limit, and the API accepts a limit of 1 to 100 (see Pagination). List commands without these flags print what the API returns in one response.
  • Metrics. Time-series commands take [--from <date>] (default 24 hours ago), [--to <date>] (default now) and [--interval <seconds>] (default 3600).
  • Logs. Log commands take [--from <date>] (default 1 hour before --to), [--to <date>] (default now), [--search <text>] (a case-insensitive match on the message), [--filters <json>], [--order <order>] (asc, the default, or desc) and [--limit <number>] (1 to 5000, default 1000). When more entries match than --limit, the most recent ones are returned. The filter keys and operators are on Get application access logs.
  • Dry run. --dry-run prints a JSON summary and calls nothing. A create or update right after a group name, such as sevalla apps create or sevalla webhooks update, and sevalla pipelines preview update print the flag values you passed, or the method, path and body with --data. apps deployments cancel, apps processes update, apps env-vars update and static-sites env-vars update print the method, path and body. Every other command prints only the command name and the IDs, not the values it would send. Passwords, secrets and environment variable values show as ********.
  • Raw body. apps create, apps update, usage-alerts create and usage-alerts update take --data <json>: the CLI sends that JSON as the request body. It can’t be combined with the other body flags, and with --data the required flags aren’t required.
  • Confirm. Delete and remove commands, and actions that can’t be undone, such as apps suspend or api-keys rotate, need --confirm, and the CLI doesn’t prompt. Without it, a delete exits with Use --confirm to confirm deletion. and an action says what you would lose: Suspending takes the application offline until it is activated again. Use --confirm to proceed. A --dry-run doesn’t need --confirm.
  • JSON. Every command except login, logout, completion and schema accepts --json. See Global flags and environment variables for when it applies.

Output and errors

  • With JSON output, a list command prints the array of items and the other commands print the object the API returns. A delete prints "deleted": true with the IDs, and an action that gets no response body prints {"success": true}.
  • In a terminal, the CLI prints a table or a short list of fields, and a list ends with a line such as Showing 1-25 of 140. Use --page 2 for the next page. With JSON output, that line goes to stderr when more pages follow, so stdout stays a plain array. Use JSON output to get every field.
  • Errors go to stderr and the command exits with status 1. With JSON output, an API error prints {"error": {"status": 404, "message": "Not Found"}}, with code and detail when the API sends them. See Errors.
  • A request that takes longer than 30 s fails. apps processes exec waits 15 s longer than its --timeout.

Authentication

Applications

Flags apps create doesn’t deploy, and --data sends fields that have no flag:

Deployments

Flags

Dockerfiles

Processes

Flags

Process disks

Flags

Process metrics

Environment variables

Flags

Domains

Deployment hook

Logs

Without log flags, both commands return up to 1,000 entries from the last hour, oldest first.

IP restrictions

Flags

TCP proxies

Flags

Private ports

Flags

Internal connections

Flags

Maintenance mode

Flags

Repository

The repository commands read the Git repository of an application, or of a static site with sevalla static-sites repository. They work for privateGit and publicGit sources, and return 422 for others. Flags

Application metrics

Databases

Flags

Database metrics

Backups

Flags

Backup targets

A backup target is an S3-compatible bucket that receives dump backups of a database, on a schedule and on demand: a Sevalla bucket (--object-storage) or an external one (--bucket, --access-key and --secret-key). A database can have up to 5. Flags

External backups

External backups are the dump files in the backup target buckets. Flags

Connections

Flags

Database IP restrictions

--type, --ip-list and --enabled take the same values as in IP restrictions for applications.

Static sites

Flags

Static site deployments

The CLI has no rollback command for static sites. To redeploy an earlier deployment, call Deploy static site with deployment_id.

Static site domains

Static site environment variables

--key takes 1 to 255 characters and --value up to 32,768 characters, as for applications. --show-values on list includes the values, decrypted.

Static site repository

The flags are the same as for applications.

Static site logs

Static site metrics

Load balancers

Flags

Destinations

Flags

Load balancer domains

Object storage

Flags

CDN domain

CORS policies

Flags

Objects

Flags

Pipelines

Flags

Stages

Flags

Preview apps

Flags

Registry credentials

The docker-registries commands manage the credentials Sevalla uses to pull private Docker images. Flags

Webhooks

Flags

Webhook deliveries

Projects

--name on create and update is required and takes 1 to 64 characters.

Project services

Flags

API keys

The API refuses update, delete, toggle and rotate on the key that sends the request, so run them with another key. The CLI can’t assign a role or limit a capability to one resource: do that in the dashboard (see API keys) or with Create API key. Flags

Resources

Global environment variables

--key takes 1 to 255 characters, unique among the global variables, and --value up to 32,768 characters. --runtime, --buildtime, --secret and --show-values work as for application environment variables.

Git

Users

Usage

Three commands show what the company’s services used and cost. Amounts are estimates in USD at current prices, before tax, credits and discounts. The API key needs the BILLING:READ permission. Run these commands one after another: they are rate limited, and a company’s usage requests run one at a time. Flags

Usage alerts

Flags

Shell completion

Command schema

In the schema, takesValue says whether a flag takes a value, and mandatory whether Commander requires it. --confirm and the flags that --data can replace have "mandatory": false because the CLI checks them itself: the invocations on this page show which flags you must pass.
The source code and release notes are on GitHub.