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 1.10.1, released Oct 18, 2026: all 216 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).
  • 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. Every other command prints only the command name and the IDs, not the values it would send.
  • 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 and ignores the other flags. On the two create commands, the required flags are still required.
  • Deletes. Delete and remove commands need --confirm, and the CLI doesn’t prompt. Without it, the command exits with Use --confirm to confirm deletion. 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 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.

Authentication

Applications

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

Deployments

logs sends no time range, so the API returns the last hour. For an older deployment, call Get application deployment logs with from and to.

Processes

Flags

Process metrics

Environment variables

Flags

Domains

Deployment hook

Logs

Both commands send no time range or filter, so the API returns up to 1,000 entries from the last hour, oldest first. For another range, a text search or the newest entries first, call the API operation with from, to, search or order.

IP restrictions

Flags

TCP proxies

Flags

Private ports

Flags

Application metrics

Databases

Flags

Database metrics

Backups

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.

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.

Git

Users

Usage alerts

Flags

Shell completion

Command schema

In the schema, "required": true on an option means that the flag takes a value, not that you must pass it. The invocations on this page show which flags you must pass.
The source code and release notes are on GitHub.