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
# Homebrew
brew install sevalla/tap/sevalla
# npm, with Node.js 24 or later
npm install -g @sevalla/cli
# Shell script: installs the macOS or Linux binary to /usr/local/bin/sevalla
bash <(curl -fsSL https://raw.githubusercontent.com/sevalla/cli/main/install.sh)
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 through the browser. The CLI saves the new API key to ~/.config/sevalla/credentials.json.
sevalla login
sevalla auth status # Authenticated (source: credentials_file)
# In CI, pass an API key instead. It takes priority over the saved key.
export SEVALLA_API_TOKEN="svl_..."
sevalla auth status # Authenticated (source: environment)
Global flags and environment variables
| Flag or variable | What it does |
|---|---|
--json | Prints JSON instead of tables. The CLI also prints JSON whenever its output isn’t a terminal: a pipe, a file or a CI log. It works before or after the command: sevalla --json apps list and sevalla apps list --json do the same. |
--api-url <url> | Uses another API base URL for one command, before or after it. It overrides SEVALLA_API_URL. |
-V, --version | Prints the version, such as 2.5.0. |
-h, --help | Prints the arguments and flags of a command or a group, for example sevalla apps deployments --help. |
SEVALLA_API_TOKEN | The API key to use. Overrides the key from sevalla login. |
SEVALLA_API_URL | The API base URL. Default https://api.sevalla.com/v3. |
SEVALLA_HIDE_HOSTNAME | Set it to any value except 0 so sevalla login doesn’t send your computer’s name. The authorize page and the API key name then leave it out. |
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 witherror: required option '--cluster <id>' not specified. An unknown flag stops it witherror: unknown option. - IDs.
<id>and names that end in-idare theidvalues 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>istrueorfalse. 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.--pagedefaults to1and--per-pageto25. The CLI sends them asoffsetandlimit, and the API accepts alimitof1to100(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>](default3600). - 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, ordesc) and[--limit <number>](1to5000, default1000). 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-runprints a JSON summary and calls nothing. Acreateorupdateright after a group name, such assevalla apps createorsevalla webhooks update, andsevalla pipelines preview updateprint the flag values you passed, or the method, path and body with--data.apps deployments cancel,apps processes update,apps env-vars updateandstatic-sites env-vars updateprint 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 createandusage-alerts updatetake--data <json>: the CLI sends that JSON as the request body. It can’t be combined with the other body flags, and with--datathe required flags aren’t required. - Confirm. Delete and remove commands, and actions that can’t be undone, such as
apps suspendorapi-keys rotate, need--confirm, and the CLI doesn’t prompt. Without it, a delete exits withUse --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-rundoesn’t need--confirm. - JSON. Every command except
login,logout,completionandschemaaccepts--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": truewith 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"}}, withcodeanddetailwhen the API sends them. See Errors. - A request that takes longer than 30 s fails.
apps processes execwaits 15 s longer than its--timeout.
Authentication
| Command | What it does | API operation |
|---|---|---|
sevalla login [--no-browser] | Signs you in through the browser. The CLI opens https://app.sevalla.com/authorize with the sign-in code filled in and shows the same code in the terminal: check that they match, then approve. The browser hands the approval back to the CLI, which saves the new API key to ~/.config/sevalla/credentials.json. With --no-browser, the CLI prints the code for you to type on the authorize page from any device, and checks every 5 s until you approve. It switches to the typed code on its own over SSH, in CI, on Linux without a graphical display (most containers) and when it can’t open a browser. The authorize page shows your computer’s name and the API key is named after it, unless SEVALLA_HIDE_HOSTNAME is set. If you’re signed in already, it warns and signs you in again. | Create device code, Exchange a device code for an API key |
sevalla logout | Deletes ~/.config/sevalla/credentials.json. The API key stays valid until you delete it under Tools > API keys. | None |
sevalla auth status | Shows where the key comes from, environment or credentials_file, and checks it with the API. JSON: {"logged_in": true, "source": "environment"}. A revoked or expired key gives "logged_in": false and "token_rejected": true. | Validate API key |
Applications
| Command | What it does | API operation |
|---|---|---|
sevalla apps list [--page <number>] [--per-page <number>] [--search <text>] [--status <status>] [--source <source>] [--project <id>] | Lists applications: ID, name and status. | List applications |
sevalla apps get <id> | Shows an application with its CDN and edge cache state and its primary domain. | Get application |
sevalla apps create --name <name> --cluster <id> --source <source> [--project <id>] [--git-type <type>] [--repository <repo>] [--branch <branch>] [--docker-registry <id>] [--docker-image <image>] [--data <json>] [--dry-run] | Creates an application with a default web process and automatic deployments off. It doesn’t deploy: run sevalla apps deployments trigger next. | Create application |
sevalla apps update <id> [--display-name <name>] [--branch <branch>] [--build-type <type>] [--dockerfile-path <path>] [--docker-image <image>] [--git-lfs-enabled <bool>] [--data <json>] [--dry-run] | Updates an application. Build changes apply at the next deployment. | Update application |
sevalla apps delete <id> --confirm [--dry-run] | Deletes an application with its processes, deployments and environment variables. Fails while a deployment is running. | Delete application |
sevalla apps activate <id> [--dry-run] | Starts a suspended application again. | Activate application |
sevalla apps suspend <id> --confirm [--dry-run] | Stops every process of an application and keeps its settings, environment variables and deployments. The application is offline until you activate it. | Suspend application |
sevalla apps clone <id> --display-name <name> [--cluster <id>] [--dry-run] | Copies an application with its processes, environment variables and settings. It doesn’t deploy the copy, but the copy keeps the automatic deployment setting: with it on, the next push deploys the copy with the same environment variables, database URLs included. | Clone application |
sevalla apps purge-cache <id> [--dry-run] | Clears the edge cache of an application. | Purge edge cache |
sevalla apps cdn-toggle <id> [--dry-run] | Turns the CDN off if it’s on, or on if it’s off, and returns the new state. | Toggle CDN |
sevalla apps edge-cache-toggle <id> [--dry-run] | Turns edge caching off if it’s on, or on if it’s off, and returns the new state. | Toggle edge cache |
sevalla apps egress-ips <app-id> | Lists the IP addresses that outbound connections from an application come from, to allow it through a firewall. They depend on the cluster. | Get egress IPs |
| Command | Flag | Type | Default | Description |
|---|---|---|---|---|
apps list | --search <text> | string | None | Only applications whose name contains this text, case-insensitive. |
apps list | --status <status> | deploymentInProgress, deploymentSuccess, deploymentFailed, deploymentCancelled, deleting or appDeletionFailed | None | Only applications with this status. |
apps list | --source <source> | privateGit, publicGit, dockerImage or app | None | Only applications with this source. app is a pipeline stage application without a repository or image. |
apps list | --project <id> | UUID | None | Only applications in this project. |
apps create | --name <name> | string | None | Required. Display name, 2 to 64 characters. |
apps create | --cluster <id> | UUID | None | Required. Location, from sevalla resources clusters. |
apps create | --source <source> | privateGit, publicGit or dockerImage | None | Required. A repository from a connected Git account, a public repository URL, or a Docker image. |
apps create | --project <id> | UUID | None | Project to add the application to. |
apps create | --git-type <type> | github, bitbucket or gitlab | Detected | Git provider, for privateGit when the API can’t detect it. |
apps create | --repository <repo> | URL | None | Repository URL. The API requires it for privateGit and publicGit. |
apps create | --branch <branch> | string | Repository default branch | Branch to deploy. |
apps create | --docker-registry <id> | UUID | None | Registry credential for a private image, from sevalla docker-registries list. |
apps create | --docker-image <image> | string | None | Image with a tag or digest, such as nginx:1.27. The API requires it for dockerImage. |
apps create, apps update | --data <json> | JSON object | None | Request body to send instead of the flags. The fields are on Create application and Update application. |
apps update | --display-name <name> | string | None | New display name, 1 to 64 characters. |
apps update | --branch <branch> | string | None | New default branch for deployments. |
apps update | --build-type <type> | ingot, dockerfile, railpack, pack or nixpacks | None | Build strategy. ingot, the default, generates a Dockerfile from the source on every build. nixpacks is retired: the API accepts it only for applications that use it already, and the CLI prints a warning. |
apps update | --dockerfile-path <path> | string | None | Dockerfile path in the repository, for the dockerfile build type. |
apps update | --docker-image <image> | string | None | Image to run, for a dockerImage application. |
apps update | --git-lfs-enabled <bool> | true or false | None | Fetches Git LFS objects at checkout, which is on by default. Any value other than true turns it off. |
apps clone | --display-name <name> | string | None | Required. Name of the copy, unique in the company. |
apps clone | --cluster <id> | UUID | Cluster of the source | Location of the copy. |
apps create doesn’t deploy, and --data sends fields that have no flag:
# Create an application from a public repository, then start its first deployment
APP_ID=$(sevalla apps create --name storefront --cluster "$CLUSTER_ID" \
--source publicGit --repository https://github.com/acme/storefront --branch main | jq -r '.id')
sevalla apps deployments trigger "$APP_ID"
# Build from a Dockerfile in a subdirectory: docker_context has no flag
sevalla apps update "$APP_ID" --data '{"build_type": "dockerfile", "dockerfile_path": "docker/Dockerfile", "docker_context": "docker"}'
Deployments
| Command | What it does | API operation |
|---|---|---|
sevalla apps deployments list --app-id <id> [--page <number>] [--per-page <number>] | Lists the deployments of an application, newest first: ID, status and creation time. | List deployments |
sevalla apps deployments get <deployment-id> --app-id <id> | Shows a deployment and its status. | Get deployment |
sevalla apps deployments trigger <app-id> [--branch <branch>] [--commit <sha>] [--skip-build-cache] [--restart] [--dry-run] | Deploys the latest commit of --branch, or of the default branch without it, and returns the new deployment. | Trigger deployment |
sevalla apps deployments rollback <app-id> [--dry-run] | Creates a deployment from the build of the most recent successful deployment of a different commit than the latest one, with no rebuild. It takes no deployment ID, and returns 404 when there’s no such deployment. | Rollback deployment |
sevalla apps deployments cancel <deployment-id> --app-id <id> [--dry-run] | Cancels a waiting or running deployment. A finished deployment returns 400. | Cancel deployment |
sevalla apps deployments logs <deployment-id> --app-id <id> [--from <date>] [--to <date>] [--search <text>] [--filters <json>] [--order <order>] [--limit <number>] | Prints the build and rollout log. Without log flags, up to 1,000 entries from the last hour, oldest first: pass --from and --to for an older deployment. | Get application deployment logs |
| Command | Flag | Type | Default | Description |
|---|---|---|---|---|
apps deployments trigger | --branch <branch> | string | Default branch | Branch to deploy. |
apps deployments trigger | --commit <sha> | full 40-character commit SHA | Latest commit on the branch | Commit to deploy. It must be on the branch. |
apps deployments trigger | --skip-build-cache | flag | Off | Rebuilds every layer instead of using the build cache, for example to pick up updated system packages. |
apps deployments trigger | --restart | flag | Off | Redeploys the build of the last successful deployment without rebuilding, for example after a runtime setting change. Can’t be combined with --commit or --skip-build-cache. |
Dockerfiles
| Command | What it does | API operation |
|---|---|---|
sevalla apps dockerfiles list --app-id <id> [--page <number>] [--per-page <number>] | Lists the Dockerfile versions an application was built from, newest first: the ones Ingot generated (source: ingot) and the ones from your repository (source: user). A build adds a version only when the Dockerfile, the .dockerignore or the source changed. | List Dockerfiles |
sevalla apps dockerfiles get <dockerfile-id> --app-id <id> | Prints a Dockerfile version and its .dockerignore. The dockerfile_id of a deployment names the version it was built from. | Get Dockerfile |
Processes
| Command | What it does | API operation |
|---|---|---|
sevalla apps processes list --app-id <id> [--page <number>] [--per-page <number>] | Lists the processes of an application: ID, key, start command, internal hostname, scaling and size. | List processes |
sevalla apps processes get <process-id> --app-id <id> | Shows a process with its cron settings and disk. | Get process |
sevalla apps processes create <app-id> --name <name> --type <type> --resource-type <id> [--command <command>] [--instances <count>] [--schedule <cron>] [--job-start-policy <policy>] [--concurrency-policy <policy>] [--max-run-time <seconds>] [--dry-run] | Creates a process with a fixed number of instances. It starts at the next deployment. | Create process |
sevalla apps processes update <process-id> --app-id <id> [--name <name>] [--command <command>] [--resource-type <id>] [--instances <count>] [--schedule <cron>] [--job-start-policy <policy>] [--concurrency-policy <policy>] [--max-run-time <seconds>] [--dry-run] | Updates a process. Size and scaling changes apply at the next deployment. | Update process |
sevalla apps processes delete <process-id> --app-id <id> --confirm | Deletes a process other than the web process. It’s removed at the next deployment. | Delete process |
sevalla apps processes trigger <process-id> --app-id <id> | Runs a cron job now, outside its schedule. The run shows in apps processes runs. | Trigger cron job |
sevalla apps processes runs --app-id <id> --process-id <id> [--page <number>] [--per-page <number>] | Lists the runs of a cron process from the last 30 days, newest first: trigger, status, failure reason, exit code and retries. | List cron runs |
sevalla apps processes exec <process-id> <command...> --app-id <id> [--timeout <seconds>] | Runs one command in a running process, prints its stdout and stderr, and exits with its exit code. There’s no shell, so pipes and redirects don’t work. A key with only read access can run read-only commands such as ls, cat and printenv. | Run a command in a process |
sevalla apps processes terminal <process-id> --app-id <id> [--shell <shell>] | Opens an interactive shell in a running process. It needs a terminal, and closes after 8 hours without input or output. | Open terminal session (WebSocket) |
| Command | Flag | Type | Default | Description |
|---|---|---|---|---|
apps processes create | --name <name> | string | None | Required. Display name, 1 to 255 characters. |
apps processes create | --type <type> | web, worker, cron or job | None | Required. An application has at most one web process. |
apps processes create | --resource-type <id> | ID | None | Required. Size, from sevalla resources process-types. |
apps processes create | --command <command> | string | Empty | Start command. |
apps processes create | --instances <count> | integer | 1 | Number of instances. The CLI always sets manual scaling. |
apps processes create | --schedule <cron> | cron expression | None | Schedule, such as 0 3 * * *. The API requires it for cron processes. |
apps processes create, apps processes update | --job-start-policy <policy> | beforeDeployment, afterSuccessDeployment or afterFailedDeployment | None | When a job runs. The API requires it for job processes. |
apps processes create, apps processes update | --concurrency-policy <policy> | Forbid or Replace | Forbid | For a cron process, what happens when a run is due while the previous one is still running: Forbid skips it, Replace stops the previous run and starts the new one. |
apps processes create, apps processes update | --max-run-time <seconds> | integer | None | Stops a cron run or a job that runs longer. On update, 0 removes the limit of a cron process, and sets a job back to the default of 600 s. |
apps processes update | --name <name> | string | None | New display name. |
apps processes update | --command <command> | string | None | New start command. |
apps processes update | --resource-type <id> | ID | None | New size, from sevalla resources process-types. |
apps processes update | --instances <count> | integer | None | Sets manual scaling with this number of instances, replacing any autoscaling. |
apps processes update | --schedule <cron> | cron expression | None | New schedule of a cron process. |
apps processes runs | --process-id <id> | UUID | None | Required. The cron process. |
apps processes exec | <command...> | argument list | None | Required. The command and its arguments. Put -- before it when it has flags of its own. |
apps processes exec | --timeout <seconds> | integer | 15 | Seconds to wait for the command, 1 to 60. |
apps processes terminal | --shell <shell> | sh, bash, dash, ksh, zsh, csh or tcsh | sh | Shell to start. It must exist in the image. |
# Add a cron job, then deploy so that it starts
sevalla apps processes create "$APP_ID" --name nightly-report --type cron \
--resource-type "$SIZE_ID" --command "npm run report" --schedule "0 3 * * *"
sevalla apps deployments trigger "$APP_ID"
# Check the free disk space of a web process: -- keeps -h from being read as a CLI flag
sevalla apps processes exec "$PROCESS_ID" --app-id "$APP_ID" -- df -h
Process disks
| Command | What it does | API operation |
|---|---|---|
sevalla apps processes disk update <process-id> --app-id <id> --resource-type <id> --mount-path <path> | Attaches a persistent disk to a web or worker process, or grows or moves its disk. A disk can grow but not shrink, and only one instance can mount it, so a process with more instances switches to one. It applies at the next deployment. | Attach or update process disk |
sevalla apps processes disk delete <process-id> --app-id <id> --confirm | Detaches the disk from a process and deletes its data, which you cannot undo. Deploy the application to finish the change. | Detach process disk |
| Command | Flag | Type | Default | Description |
|---|---|---|---|---|
apps processes disk update | --resource-type <id> | ID | None | Required. Disk size, from sevalla resources disk-types. |
apps processes disk update | --mount-path <path> | path | None | Required. Where the disk is mounted in the container, such as /data. /etc, /var, /lib, /usr/local, /mnt, /root, /app, /workspace and /layers can’t be used. |
Process metrics
| Command | What it does | API operation |
|---|---|---|
sevalla apps processes metrics cpu-usage <app-id> <process-id> [--from <date>] [--to <date>] [--interval <seconds>] | CPU used over time, in cores. | Get process CPU usage |
sevalla apps processes metrics cpu-limit <app-id> <process-id> [--from <date>] [--to <date>] [--interval <seconds>] | CPU limit over time, in cores. | Get process CPU limit |
sevalla apps processes metrics memory-usage <app-id> <process-id> [--from <date>] [--to <date>] [--interval <seconds>] | Memory used over time, in bytes. | Get process memory usage |
sevalla apps processes metrics memory-limit <app-id> <process-id> [--from <date>] [--to <date>] [--interval <seconds>] | Memory limit over time, in bytes. | Get process memory limit |
sevalla apps processes metrics instance-count <app-id> <process-id> [--from <date>] [--to <date>] [--interval <seconds>] | Running instances over time. | Get process instance count |
sevalla apps processes metrics exit-codes <app-id> <process-id> [--from <date>] [--to <date>] | Exit codes in the range, each with its time and a description when one is known. | Get process exit codes |
Environment variables
| Command | What it does | API operation |
|---|---|---|
sevalla apps env-vars list --app-id <id> [--page <number>] [--per-page <number>] [--show-values] | Lists the environment variables of an application. Values are hidden unless you pass --show-values, and a secret’s value shows as (secret). | List environment variables |
sevalla apps env-vars create <app-id> --key <key> --value <value> [--runtime <bool>] [--buildtime <bool>] [--secret] [--dry-run] | Adds an environment variable, available at build time and at runtime unless you turn one off. It applies at the next deployment. The output leaves out the value. | Create environment variable |
sevalla apps env-vars update <env-var-id> --app-id <id> [--key <key>] [--value <value>] [--runtime <bool>] [--buildtime <bool>] [--secret] [--dry-run] | Changes an environment variable. It applies at the next deployment. | Update environment variable |
sevalla apps env-vars delete <app-id> <env-var-id> --confirm [--dry-run] | Deletes an environment variable. It applies at the next deployment. | Delete environment variable |
| Command | Flag | Type | Default | Description |
|---|---|---|---|---|
apps env-vars create | --key <key> | string | None | Required. Name, 1 to 255 characters, unique in the application. |
apps env-vars create | --value <value> | string | None | Required. Up to 32,768 characters, stored encrypted. |
apps env-vars update | --key <key>, --value <value> | string | None | New name or value. An empty value isn’t sent. |
apps env-vars create, apps env-vars update | --runtime <bool>, --buildtime <bool> | true or false | true on create | Whether the variable is available at runtime and during the build. Other values are rejected. |
apps env-vars create, apps env-vars update | --secret | flag | Off | Makes the value write-only: you can replace it but never read it back. This can’t be undone. |
apps env-vars list | --show-values | flag | Off | Includes the values, decrypted. |
Domains
| Command | What it does | API operation |
|---|---|---|
sevalla apps domains list --app-id <id> [--page <number>] [--per-page <number>] | Lists the system and custom domains of an application: ID, name, status and whether it’s primary. | List application domains |
sevalla apps domains get <domain-id> --app-id <id> | Shows a domain with its verification status and DNS records. | Get application domain |
sevalla apps domains add <app-id> --name <name> [--dry-run] | Adds a custom domain, such as shop.example.com. Add the DNS records from the response: the status then moves from verification to pointing to active. | Add application domain |
sevalla apps domains update <domain-id> --app-id <id> --name <name> | Renames the subdomain of the system domain. Custom domains can’t be renamed. | Update application system domain |
sevalla apps domains delete <app-id> <domain-id> --confirm [--dry-run] | Deletes a custom domain. The system domain can’t be deleted: turn it off with toggle. | Delete application domain |
sevalla apps domains refresh-status <app-id> <domain-id> [--dry-run] | Checks the verification and DNS of a domain again, for example after you change its records. | Refresh application domain status |
sevalla apps domains set-primary <app-id> <domain-id> [--dry-run] | Makes a domain the primary domain, used for canonical URLs and redirects. | Set primary application domain |
sevalla apps domains toggle <app-id> <domain-id> [--dry-run] | Turns the system domain off or on. Custom domains can’t be toggled. | Toggle application system domain |
Deployment hook
| Command | What it does | API operation |
|---|---|---|
sevalla apps deployment-hook get <app-id> | Shows the deployment hook URL. Returns 404 when the hook is off. | Get deployment hook URL |
sevalla apps deployment-hook enable <app-id> [--dry-run] | Turns on the deployment hook and returns its URL: a POST to the URL starts a deployment. If the hook is on already, returns the same URL. | Enable deployment hook |
sevalla apps deployment-hook regenerate <app-id> --confirm [--dry-run] | Returns a new hook URL. The old URL stops working at once. | Regenerate deployment hook |
sevalla apps deployment-hook disable <app-id> --confirm [--dry-run] | Turns off the deployment hook. Its URL stops working at once. | Disable deployment hook |
Logs
| Command | What it does | API operation |
|---|---|---|
sevalla apps logs runtime <app-id> [--from <date>] [--to <date>] [--search <text>] [--filters <json>] [--order <order>] [--limit <number>] | Prints what the processes write to stdout and stderr. | Get application runtime logs |
sevalla apps logs access <app-id> [--from <date>] [--to <date>] [--search <text>] [--filters <json>] [--order <order>] [--limit <number>] | Prints the HTTP requests the application handled. | Get application access logs |
IP restrictions
| Command | What it does | API operation |
|---|---|---|
sevalla apps ip-restriction get <app-id> | Shows the IP restriction: type, whether it’s on and the IP list. Without one, returns type deny, off, with an empty list. | Get IP restriction |
sevalla apps ip-restriction update <app-id> --type <type> --ip-list <ips> --enabled <bool> | Replaces the IP restriction of an application. | Update IP restriction |
| Command | Flag | Type | Default | Description |
|---|---|---|---|---|
apps ip-restriction update | --type <type> | allow or deny | None | Required. allow lets only the listed addresses in, and deny blocks them. |
apps ip-restriction update | --ip-list <ips> | list | None | Required. IP addresses or CIDR ranges, such as 203.0.113.10,198.51.100.0/24. |
apps ip-restriction update | --enabled <bool> | true or false | None | Required. Whether the restriction applies. Other values are rejected. |
TCP proxies
| Command | What it does | API operation |
|---|---|---|
sevalla apps tcp-proxies list --app-id <id> [--page <number>] [--per-page <number>] | Lists the TCP proxies of an application: ID, port and status. | List TCP proxies |
sevalla apps tcp-proxies create <app-id> --process-id <id> --port <port> [--dry-run] | Exposes a container port of a process on a public hostname and port for direct TCP connections. | Create TCP proxy |
sevalla apps tcp-proxies delete <app-id> <tcp-proxy-id> --confirm [--dry-run] | Deletes a TCP proxy and releases its public hostname and port. | Delete TCP proxy |
| Command | Flag | Type | Default | Description |
|---|---|---|---|---|
apps tcp-proxies create | --process-id <id> | UUID | None | Required. Process to expose, from sevalla apps processes list. |
apps tcp-proxies create | --port <port> | integer | None | Required. Container port, 1 to 65535. |
Private ports
| Command | What it does | API operation |
|---|---|---|
sevalla apps private-ports list --app-id <id> [--page <number>] [--per-page <number>] | Lists the private ports of an application: ID, port and protocol. | List private ports |
sevalla apps private-ports create <app-id> --process-id <id> --port <port> [--dry-run] | Exposes a container port of a process to other services in the cluster, with no public access. | Create private port |
sevalla apps private-ports delete <app-id> <private-port-id> --confirm [--dry-run] | Deletes a private port. | Delete private port |
| Command | Flag | Type | Default | Description |
|---|---|---|---|---|
apps private-ports create | --process-id <id> | UUID | None | Required. Process to expose, from sevalla apps processes list. |
apps private-ports create | --port <port> | integer | None | Required. Container port, 1 to 65535. |
Internal connections
| Command | What it does | API operation |
|---|---|---|
sevalla apps internal-connections list --app-id <id> | Lists the internal connections of an application, as source or target, including the ones created from a database. | List internal connections |
sevalla apps internal-connections create <app-id> --target-id <id> [--target-type <type>] [--dry-run] | Connects the application to another application or a database in the same cluster, over the private network. A connection works both ways, and covers every process. | Create internal connection |
sevalla apps internal-connections delete <app-id> <connection-id> --confirm [--dry-run] | Deletes an internal connection. | Delete internal connection |
| Command | Flag | Type | Default | Description |
|---|---|---|---|---|
apps internal-connections create | --target-id <id> | UUID | None | Required. Application or database to connect. |
apps internal-connections create | --target-type <type> | app or database | app | Type of the target. |
Maintenance mode
| Command | What it does | API operation |
|---|---|---|
sevalla apps maintenance-mode get <app-id> | Shows whether maintenance mode is on, and the URL of the custom maintenance page. | Get maintenance mode |
sevalla apps maintenance-mode update <app-id> --enabled <bool> [--page-url <url>] | Turns maintenance mode on or off. While it’s on, every domain of the application answers with the maintenance page and status 503, and the application keeps running. It can take 5 minutes to reach every edge location. | Update maintenance mode |
| Command | Flag | Type | Default | Description |
|---|---|---|---|---|
apps maintenance-mode update | --enabled <bool> | true or false | None | Required. Turns maintenance mode on or off. |
apps maintenance-mode update | --page-url <url> | HTTPS URL | Default Sevalla page | Page to serve instead, such as a static site. Every update replaces it: without the flag, or with "", the default page is served. |
Repository
Therepository 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.
| Command | What it does | API operation |
|---|---|---|
sevalla apps repository get <app-id> | Shows the repository, its provider and default branch, and the commit currently deployed. | Get application repository |
sevalla apps repository tree <app-id> [--ref <ref>] [--path <path>] [--recursive] | Lists the files and directories at a path. | List application repository tree |
sevalla apps repository contents <app-id> --path <path> [--ref <ref>] | Prints a file. Binary files and files over 1 MB have no content. | Read application repository file |
sevalla apps repository search <app-id> --query <text> | Searches the code on the default branch: path, line and preview of each match. Repositories with a publicGit source return no matches. | Search application repository code |
| Command | Flag | Type | Default | Description |
|---|---|---|---|---|
repository tree, repository contents | --ref <ref> | branch, tag or commit SHA | Deployed commit | What to read. Without a successful deployment, the default branch. |
repository tree | --path <path> | path | Repository root | Directory to list. |
repository tree | --recursive | flag | Off | Lists everything under the path, not only its children. A large tree can be cut short. |
repository contents | --path <path> | path | None | Required. File to print, such as src/index.ts. |
repository search | --query <text> | string | None | Required. Text to search for. |
Application metrics
| Command | What it does | API operation |
|---|---|---|
sevalla apps metrics requests-per-minute <id> [--from <date>] [--to <date>] [--interval <seconds>] | Requests per minute over time. | Get application requests per minute |
sevalla apps metrics response-time <id> [--from <date>] [--to <date>] [--interval <seconds>] [--percent <number>] | Response time over time. --percent returns a percentile from 1 to 99, such as 95 for p95. | Get application response time |
sevalla apps metrics response-time-avg <id> [--from <date>] [--to <date>] [--interval <seconds>] | Average response time over the range, in milliseconds, as one value. | Get application average response time |
sevalla apps metrics status-codes <id> [--from <date>] [--to <date>] [--interval <seconds>] | Requests per HTTP status code over time. | Get application status code breakdown |
sevalla apps metrics top-status-codes <id> [--from <date>] [--to <date>] [--interval <seconds>] | The 10 most frequent status codes, by request count. | Get application top status codes |
sevalla apps metrics top-countries <id> [--from <date>] [--to <date>] [--interval <seconds>] | The 10 countries that send the most requests, with their average response time. | Get application top countries |
sevalla apps metrics slowest-requests <id> [--from <date>] [--to <date>] [--interval <seconds>] | The 10 slowest paths by average response time, with method and request count. | Get application slowest requests |
sevalla apps metrics top-pages <id> [--from <date>] [--to <date>] [--interval <seconds>] | The 10 most requested paths. | Get application top pages |
Databases
| Command | What it does | API operation |
|---|---|---|
sevalla databases list [--page <number>] [--per-page <number>] [--search <text>] [--status <status>] [--type <type>] [--project <id>] | Lists databases: ID, name, type and status. | List databases |
sevalla databases get <id> | Shows a database with its hostnames, status and whether TLS is on. | Get database |
sevalla databases create --name <name> --type <type> --db-version <version> --cluster <id> --resource-type <id> --db-name <name> --db-password <password> [--project <id>] [--db-user <user>] [--dry-run] | Creates a database. Its status is creating until it’s ready. | Create database |
sevalla databases update <id> [--display-name <name>] [--resource-type <id>] [--dry-run] | Renames a database or changes its size. A size change runs in the background. | Update database |
sevalla databases delete <id> --confirm [--dry-run] | Deletes a database and its data. Fails while it’s creating, updating, deleting or backing up. | Delete database |
sevalla databases activate <id> [--dry-run] | Starts a suspended database again. | Activate database |
sevalla databases suspend <id> --confirm [--dry-run] | Stops a database and keeps its settings and data. The database is offline until you activate it. | Suspend database |
sevalla databases restart <id> [--dry-run] | Restarts a database and keeps its data. The status is updating until it’s ready again. Works when the status is ready, error, passwordChangeFailed or restoringFailed, the database isn’t suspended and no backup is running. | Restart database |
sevalla databases reset-password <id> --confirm --new-password <password> [--dry-run] | Sets a new password for the database user, which breaks every connection that uses the old one. The status is passwordChange until it’s ready again. | Reset database password |
sevalla databases enable-tls <id> --confirm [--dry-run] | Turns on TLS for a database on an OCI cluster that was created without it. TLS can’t be turned off again, and the database restarts once. On Redis and Valkey, external clients must switch to rediss://. | Enable database TLS |
| Command | Flag | Type | Default | Description |
|---|---|---|---|---|
databases list | --search <text> | string | None | Only databases whose name contains this text, case-insensitive. |
databases list | --status <status> | status, such as ready or error | None | Only databases with this status. |
databases list | --type <type> | postgresql, mysql, mariadb, redis or valkey | None | Only databases of this type. |
databases list | --project <id> | UUID | None | Only databases in this project. |
databases create | --name <name> | string | None | Required. Display name, 2 to 64 characters. |
databases create | --type <type> | postgresql, mysql, mariadb, redis or valkey | None | Required. Engine. The CLI help also lists mongodb, which the API doesn’t accept. |
databases create | --db-version <version> | string | None | Required. Engine version available for the type and cluster, such as 16 for PostgreSQL, from sevalla resources db-versions. |
databases create | --cluster <id> | UUID | None | Required. Location, from sevalla resources clusters. |
databases create | --resource-type <id> | ID | None | Required. Size, from sevalla resources db-types. |
databases create | --db-name <name> | string | None | Required. Name of the database inside the server: 2 to 100 letters, digits, _, - or +. |
databases create | --db-password <password> | string | None | Required. 4 to 100 letters, digits or _?<>#@-=+ characters. |
databases create | --project <id> | UUID | None | Project to add the database to. |
databases create | --db-user <user> | string | Engine default user | User name, 2 to 32 characters, not root or postgres. |
databases update | --display-name <name> | string | None | New display name, 2 to 64 characters. |
databases update | --resource-type <id> | ID | None | New size, from sevalla resources db-types. |
databases reset-password | --new-password <password> | string | None | Required. Same rules as --db-password. |
Database metrics
| Command | What it does | API operation |
|---|---|---|
sevalla databases metrics cpu-usage <id> [--from <date>] [--to <date>] [--interval <seconds>] | CPU used over time, in cores. | Get database CPU usage |
sevalla databases metrics cpu-limit <id> [--from <date>] [--to <date>] [--interval <seconds>] | CPU limit over time, in cores. | Get database CPU limit |
sevalla databases metrics memory-usage <id> [--from <date>] [--to <date>] [--interval <seconds>] | Memory used over time, in bytes. | Get database memory usage |
sevalla databases metrics memory-limit <id> [--from <date>] [--to <date>] [--interval <seconds>] | Memory limit over time, in bytes. | Get database memory limit |
sevalla databases metrics storage-usage <id> [--from <date>] [--to <date>] [--interval <seconds>] | Storage used over time, in bytes. | Get database storage usage |
sevalla databases metrics storage-limit <id> [--from <date>] [--to <date>] [--interval <seconds>] | Storage limit over time, in bytes. | Get database storage limit |
sevalla databases metrics all-storage <id> | Total storage allocated now, in bytes. | Get database total storage |
sevalla databases metrics used-storage <id> | Storage used now, in bytes. | Get database used storage |
Backups
| Command | What it does | API operation |
|---|---|---|
sevalla databases backups list --db-id <id> [--type <type>] | Lists the backups of a database: daily backups, kept 7 days, and manual backups, kept 14 days. --type daily or --type manual lists one kind. | List database backups |
sevalla databases backups create <db-id> --name <name> [--dry-run] | Starts a manual backup, kept 14 days. It appears in the list when it’s done. | Create database backup |
sevalla databases backups delete <db-id> <backup-id> --confirm [--dry-run] | Deletes a backup. | Delete database backup |
sevalla databases backups restore <db-id> <backup-id> --confirm [--dry-run] | Restores a backup into the same database and replaces its current data. To restore into another database, call the API operation with target_database_id. | Restore database backup |
| Command | Flag | Type | Default | Description |
|---|---|---|---|---|
databases backups create | --name <name> | string | None | Required. Backup name. |
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.
| Command | What it does | API operation |
|---|---|---|
sevalla databases backup-targets list --db-id <id> | Lists the backup targets of a database: name, bucket, schedule and retention. | List database backup targets |
sevalla databases backup-targets create <db-id> --name <name> [--schedule <cron>] [--enabled <bool>] [--retention-days <days>] [--manual-retention-days <days>] [--prefix <prefix>] [--object-storage <id>] [--bucket <name>] [--endpoint <url>] [--region <region>] [--access-key <key>] [--secret-key <key>] [--dry-run] | Adds a backup target. Scheduled backups start once the database applies it. | Create database backup target |
sevalla databases backup-targets update <db-id> <target-id> [--name <name>] [--schedule <cron>] [--enabled <bool>] [--retention-days <days>] [--manual-retention-days <days>] [--prefix <prefix>] [--object-storage <id>] [--bucket <name>] [--endpoint <url>] [--region <region>] [--access-key <key>] [--secret-key <key>] [--dry-run] | Updates a backup target. Only the flags you pass change. | Update database backup target |
sevalla databases backup-targets delete <db-id> <target-id> --confirm [--dry-run] | Detaches a backup target. The dump files already uploaded stay in the bucket. Fails while a backup or restore that uses it runs. | Delete database backup target |
| Command | Flag | Type | Default | Description |
|---|---|---|---|---|
databases backup-targets create, databases backup-targets update | --name <name> | string | None | Required on create. Backup target name. |
databases backup-targets create, databases backup-targets update | --schedule <cron> | cron expression in UTC | Daily, at a time between 00:00 and 05:59 UTC | When scheduled backups run, at most every 30 minutes. On update, "" goes back to the default. |
databases backup-targets create, databases backup-targets update | --enabled <bool> | true or false | true | Whether scheduled backups run. |
databases backup-targets create, databases backup-targets update | --retention-days <days> | integer | 7 | Days scheduled backups are kept. |
databases backup-targets create, databases backup-targets update | --manual-retention-days <days> | integer | 14 | Days manual backups are kept. 0 keeps them forever. |
databases backup-targets create, databases backup-targets update | --prefix <prefix> | string | A folder per database | Key prefix of the dump files. The database folder is added to a custom prefix. On update, "" goes back to the default. |
databases backup-targets create, databases backup-targets update | --object-storage <id> | UUID | None | Sevalla bucket to upload to. Pass it or the external bucket flags, not both. |
databases backup-targets create, databases backup-targets update | --bucket <name>, --access-key <key>, --secret-key <key> | string | None | External bucket and its keys, which are stored encrypted and never returned. |
databases backup-targets create, databases backup-targets update | --endpoint <url>, --region <region> | string | None | Endpoint and region of the external storage. The endpoint must resolve to public IP addresses. |
External backups
External backups are the dump files in the backup target buckets.| Command | What it does | API operation |
|---|---|---|
sevalla databases external-backups list --db-id <id> [--type <type>] | Lists the dump backups in every backup target: name, type, size and expiration. --type automatic or --type manual lists one kind. | List external database backups |
sevalla databases external-backups create <db-id> --name <name> [--target-id <id>] [--dry-run] | Dumps the database to a backup target. The backup is listed once the upload completes. A target holds at most 5 manual backups. | Create external database backup |
sevalla databases external-backups restore <db-id> <backup-id> --confirm [--target-db <id>] [--dry-run] | Replays a dump backup into the database, or into another database of the same type in the same cluster with --target-db, and replaces its data. The database status shows the progress. | Restore external database backup |
sevalla databases external-backups download-url <db-id> <backup-id> | Prints a download URL for a dump backup, valid for 2 minutes. | Get external backup download URL |
sevalla databases external-backups delete <db-id> <backup-id> --confirm [--dry-run] | Deletes a dump backup from its bucket. | Delete external database backup |
| Command | Flag | Type | Default | Description |
|---|---|---|---|---|
databases external-backups create | --name <name> | string | None | Required. Backup name. |
databases external-backups create | --target-id <id> | UUID | The only target | Backup target to upload to. Required when the database has more than one. |
databases external-backups restore | --target-db <id> | UUID | Same database | Database to restore into instead. |
Connections
| Command | What it does | API operation |
|---|---|---|
sevalla databases connections internal-list --db-id <id> | Lists the internal connections of a database, as source or target. | List internal connections |
sevalla databases connections internal-create <db-id> --target-id <id> [--target-type <type>] [--dry-run] | Connects the database to an application or another database in the same cluster. A connection to an application covers all its processes. | Create internal connection |
sevalla databases connections internal-delete <db-id> <connection-id> --confirm [--dry-run] | Deletes an internal connection. | Delete internal connection |
sevalla databases connections external-toggle <db-id> [--dry-run] | Turns access from outside the cluster on or off. | Toggle external connection |
| Command | Flag | Type | Default | Description |
|---|---|---|---|---|
databases connections internal-create | --target-id <id> | UUID | None | Required. Application or database to connect. |
databases connections internal-create | --target-type <type> | app or database | app | Type of the target. |
Database IP restrictions
| Command | What it does | API operation |
|---|---|---|
sevalla databases ip-restriction get <db-id> | Shows the IP restriction of a database. Without one, returns type deny, off, with an empty list. | Get database IP restriction |
sevalla databases ip-restriction update <db-id> --type <type> --ip-list <ips> --enabled <bool> | Replaces the IP restriction. It applies to external connections only. | Update database IP restriction |
--type, --ip-list and --enabled take the same values as in IP restrictions for applications.
Static sites
| Command | What it does | API operation |
|---|---|---|
sevalla static-sites list [--page <number>] [--per-page <number>] | Lists static sites: ID, name and status. | List static sites |
sevalla static-sites get <id> | Shows a static site. | Get static site |
sevalla static-sites create --name <name> --repository <repo> --branch <branch> [--project <id>] [--source <source>] [--git-type <type>] [--build-command <command>] [--publish-directory <dir>] [--node-version <version>] [--allow-deploy-paths <paths>] [--ignore-deploy-paths <paths>] [--dry-run] | Creates a static site from a Git repository and starts its first deployment. | Create static site |
sevalla static-sites update <id> [--display-name <name>] [--branch <branch>] [--build-command <command>] [--publish-directory <dir>] [--allow-deploy-paths <paths>] [--ignore-deploy-paths <paths>] [--git-lfs-enabled <bool>] [--dry-run] | Updates a static site. Build changes apply at the next deployment. | Update static site |
sevalla static-sites delete <id> --confirm [--dry-run] | Deletes a static site with its deployments and custom domains. | Delete static site |
sevalla static-sites purge-cache <id> [--dry-run] | Clears the edge cache of a static site. | Purge edge cache |
sevalla static-sites pretty-url-toggle <id> [--dry-run] | Turns pretty URLs on or off and prints the new state. With pretty URLs, /about serves /about/index.html or /about.html. | Toggle pretty URLs |
| Command | Flag | Type | Default | Description |
|---|---|---|---|---|
static-sites create | --name <name> | string | None | Required. Display name, 2 to 64 characters. |
static-sites create | --repository <repo> | URL | None | Required. Repository URL. |
static-sites create | --branch <branch> | string | None | Required. Branch to deploy. |
static-sites create | --project <id> | UUID | None | Project to add the static site to. |
static-sites create | --source <source> | privateGit or publicGit | API default: privateGit | A repository from a connected Git account, or a public repository URL. |
static-sites create | --git-type <type> | github, bitbucket or gitlab | Detected | Git provider, for privateGit when the API can’t detect it. |
static-sites create, static-sites update | --build-command <command> | string | None | Build command, such as npm run build. |
static-sites create, static-sites update | --publish-directory <dir> | string | None | Directory with the built files, such as dist. |
static-sites create | --node-version <version> | string | None | Node.js version for the build. |
static-sites create, static-sites update | --allow-deploy-paths <paths> | list of glob patterns | None | Only commits that touch these paths start an automatic deployment. Can’t be combined with --ignore-deploy-paths. |
static-sites create, static-sites update | --ignore-deploy-paths <paths> | list of glob patterns | None | Commits that touch only these paths don’t start an automatic deployment. |
static-sites update | --display-name <name> | string | None | New display name, 1 to 64 characters. |
static-sites update | --branch <branch> | string | None | New default branch. |
static-sites update | --git-lfs-enabled <bool> | true or false | None | Fetches Git LFS objects at checkout, which is on by default. Any value other than true turns it off. |
Static site deployments
| Command | What it does | API operation |
|---|---|---|
sevalla static-sites deployments list --site-id <id> [--page <number>] [--per-page <number>] | Lists the deployments of a static site, newest first. | List static site deployments |
sevalla static-sites deployments get <deployment-id> --site-id <id> | Shows a deployment and its status. | Get static site deployment |
sevalla static-sites deployments trigger <site-id> [--branch <branch>] [--dry-run] | Deploys the latest commit of --branch, or of the default branch without it. | Deploy static site |
sevalla static-sites deployments cancel <deployment-id> --site-id <id> | Cancels a waiting or running deployment. | Cancel static site deployment |
sevalla static-sites deployments logs <deployment-id> --site-id <id> [--from <date>] [--to <date>] [--search <text>] [--filters <json>] [--order <order>] [--limit <number>] | Prints the build and publish log. Without log flags, up to 1,000 entries from the last hour, oldest first. | Get static site deployment logs |
deployment_id.
Static site domains
| Command | What it does | API operation |
|---|---|---|
sevalla static-sites domains list --site-id <id> [--page <number>] [--per-page <number>] | Lists the system and custom domains of a static site: ID, name, status and whether it’s primary. | List static site domains |
sevalla static-sites domains get <domain-id> --site-id <id> | Shows a domain with its verification status and DNS records. | Get static site domain |
sevalla static-sites domains add <site-id> --name <name> [--dry-run] | Adds a custom domain, such as shop.example.com. Add the DNS records from the response: the status then moves from verification to pointing to active. | Add static site domain |
sevalla static-sites domains update <domain-id> --site-id <id> --name <name> | Renames the subdomain of the system domain. Custom domains can’t be renamed. | Update static site system domain |
sevalla static-sites domains delete <site-id> <domain-id> --confirm [--dry-run] | Deletes a custom domain. The system domain can’t be deleted: turn it off with toggle. | Delete static site domain |
sevalla static-sites domains refresh-status <site-id> <domain-id> [--dry-run] | Checks the verification and DNS of a domain again. | Refresh static site domain status |
sevalla static-sites domains set-primary <site-id> <domain-id> [--dry-run] | Makes a domain the primary domain, used for canonical URLs and redirects. | Set primary static site domain |
sevalla static-sites domains toggle <site-id> <domain-id> [--dry-run] | Turns the system domain off or on. Custom domains can’t be toggled. | Toggle static site system domain |
Static site environment variables
| Command | What it does | API operation |
|---|---|---|
sevalla static-sites env-vars list --site-id <id> [--page <number>] [--per-page <number>] [--show-values] | Lists the environment variables of a static site. Values are hidden unless you pass --show-values. | List static site environment variables |
sevalla static-sites env-vars create <site-id> --key <key> --value <value> [--dry-run] | Adds an environment variable for production and preview deployments on every branch. It applies at the next deployment. The output leaves out the value. | Create static site environment variable |
sevalla static-sites env-vars update <env-var-id> --site-id <id> [--key <key>] [--value <value>] [--dry-run] | Changes the key or the value of an environment variable. An empty value isn’t sent. | Update static site environment variable |
sevalla static-sites env-vars delete <site-id> <env-var-id> --confirm [--dry-run] | Deletes an environment variable. It applies at the next deployment. | Delete static site environment variable |
--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
| Command | What it does | API operation |
|---|---|---|
sevalla static-sites repository get <site-id> | Shows the repository, its provider and default branch, and the commit currently deployed. | Get static site repository |
sevalla static-sites repository tree <site-id> [--ref <ref>] [--path <path>] [--recursive] | Lists the files and directories at a path. | List static site repository tree |
sevalla static-sites repository contents <site-id> --path <path> [--ref <ref>] | Prints a file. Binary files and files over 1 MB have no content. | Read static site repository file |
sevalla static-sites repository search <site-id> --query <text> | Searches the code on the default branch. | Search static site repository code |
Static site logs
| Command | What it does | API operation |
|---|---|---|
sevalla static-sites logs access <site-id> [--from <date>] [--to <date>] [--search <text>] [--filters <json>] [--order <order>] [--limit <number>] | Prints the HTTP requests the static site served. Without log flags, up to 1,000 entries from the last hour, oldest first. | Get static site access logs |
Static site metrics
| Command | What it does | API operation |
|---|---|---|
sevalla static-sites metrics requests-per-minute <id> [--from <date>] [--to <date>] [--interval <seconds>] | Requests per minute over time. | Get static site requests per minute |
sevalla static-sites metrics response-time <id> [--from <date>] [--to <date>] [--interval <seconds>] [--percent <number>] | Response time over time. --percent returns a percentile from 1 to 99. | Get static site response time |
sevalla static-sites metrics response-time-avg <id> [--from <date>] [--to <date>] [--interval <seconds>] | Average response time over the range, in milliseconds, as one value. | Get static site average response time |
sevalla static-sites metrics status-codes <id> [--from <date>] [--to <date>] [--interval <seconds>] | Requests per HTTP status code over time. | Get static site status code breakdown |
sevalla static-sites metrics top-status-codes <id> [--from <date>] [--to <date>] [--interval <seconds>] | The 10 most frequent status codes, by request count. | Get static site top status codes |
sevalla static-sites metrics top-countries <id> [--from <date>] [--to <date>] [--interval <seconds>] | The 10 countries that send the most requests. | Get static site top countries |
sevalla static-sites metrics slowest-requests <id> [--from <date>] [--to <date>] [--interval <seconds>] | The 10 slowest paths by average response time. | Get static site slowest requests |
sevalla static-sites metrics top-pages <id> [--from <date>] [--to <date>] [--interval <seconds>] | The 10 most requested paths. | Get static site top pages |
Load balancers
| Command | What it does | API operation |
|---|---|---|
sevalla load-balancers list [--page <number>] [--per-page <number>] | Lists load balancers, newest first: ID, name and status. | List load balancers |
sevalla load-balancers get <id> | Shows a load balancer with its routing type. | Get load balancer |
sevalla load-balancers create --name <name> [--project <id>] [--type <type>] [--dry-run] | Creates a load balancer with no destinations. | Create load balancer |
sevalla load-balancers update <id> [--display-name <name>] [--type <type>] [--dry-run] | Renames a load balancer or changes its routing type. | Update load balancer |
sevalla load-balancers delete <id> --confirm [--dry-run] | Deletes a load balancer and its destinations. | Delete load balancer |
| Command | Flag | Type | Default | Description |
|---|---|---|---|---|
load-balancers create | --name <name> | string | None | Required. Display name, 2 to 64 characters. |
load-balancers create | --project <id> | UUID | None | Project to add the load balancer to. |
load-balancers create, load-balancers update | --type <type> | DEFAULT or GEO | API default on create: DEFAULT | DEFAULT routes round-robin or by weight. GEO routes by client location. |
load-balancers update | --display-name <name> | string | None | New display name, 2 to 64 characters. |
Destinations
| Command | What it does | API operation |
|---|---|---|
sevalla load-balancers destinations list --lb-id <id> [--page <number>] [--per-page <number>] | Lists the destinations of a load balancer. | List load balancer destinations |
sevalla load-balancers destinations create <lb-id> --service-type <type> [--service-id <id>] [--url <url>] [--weight <weight>] [--latitude <lat>] [--longitude <lng>] [--dry-run] | Adds a destination. It’s on and receives traffic at once. | Create load balancer destination |
sevalla load-balancers destinations delete <lb-id> <destination-id> --confirm [--dry-run] | Deletes a destination. | Delete load balancer destination |
sevalla load-balancers destinations toggle <lb-id> <destination-id> [--dry-run] | Turns a destination off or on. | Toggle load balancer destination |
| Command | Flag | Type | Default | Description |
|---|---|---|---|---|
load-balancers destinations create | --service-type <type> | APP, STATIC_SITE, OBJECT_STORAGE, EXTERNAL or LOAD_BALANCER | None | Required. What receives the traffic: an application, a static site, a bucket, an external URL or another load balancer. |
load-balancers destinations create | --service-id <id> | ID | None | The service. Required for every type except EXTERNAL. |
load-balancers destinations create | --url <url> | URL | None | External URL. Required for EXTERNAL. |
load-balancers destinations create | --weight <weight> | integer | None | Share of traffic for weighted routing, 0 to 10000. A higher weight gets more traffic. |
load-balancers destinations create | --latitude <lat> | number | None | Latitude for GEO routing, -90 to 90. |
load-balancers destinations create | --longitude <lng> | number | None | Longitude for GEO routing, -180 to 180. |
# Send 80% of the traffic to an application and 20% to an external URL
sevalla load-balancers destinations create "$LB_ID" --service-type APP --service-id "$APP_ID" --weight 80
sevalla load-balancers destinations create "$LB_ID" --service-type EXTERNAL --url https://legacy.example.com --weight 20
Load balancer domains
| Command | What it does | API operation |
|---|---|---|
sevalla load-balancers domains list --lb-id <id> [--page <number>] [--per-page <number>] | Lists the system and custom domains of a load balancer: ID, name, status and whether it’s primary. | List load balancer domains |
sevalla load-balancers domains get <domain-id> --lb-id <id> | Shows a domain with its verification status and DNS records. | Get load balancer domain |
sevalla load-balancers domains add <lb-id> --name <name> [--dry-run] | Adds a custom domain, such as shop.example.com. Add the DNS records from the response: the status then moves from verification to pointing to active. | Add load balancer domain |
sevalla load-balancers domains update <domain-id> --lb-id <id> --name <name> | Renames the subdomain of the system domain. Custom domains can’t be renamed. | Update load balancer system domain |
sevalla load-balancers domains delete <lb-id> <domain-id> --confirm [--dry-run] | Deletes a custom domain. The system domain can’t be deleted: turn it off with toggle. | Delete load balancer domain |
sevalla load-balancers domains refresh-status <lb-id> <domain-id> [--dry-run] | Checks the verification and DNS of a domain again. | Refresh load balancer domain status |
sevalla load-balancers domains set-primary <lb-id> <domain-id> [--dry-run] | Makes a domain the primary domain, used for canonical URLs. | Set primary load balancer domain |
sevalla load-balancers domains toggle <lb-id> <domain-id> [--dry-run] | Turns the system domain off or on. Custom domains can’t be toggled. | Toggle load balancer system domain |
Object storage
| Command | What it does | API operation |
|---|---|---|
sevalla object-storage list [--page <number>] [--per-page <number>] | Lists buckets: ID, name and status. | List object storage buckets |
sevalla object-storage get <id> | Shows a bucket with its S3-compatible endpoint, access keys and CDN domain. | Get object storage bucket |
sevalla object-storage create --name <name> [--project <id>] [--location <location>] [--dry-run] | Creates a bucket and returns its S3-compatible credentials. | Create object storage bucket |
sevalla object-storage update <id> [--display-name <name>] [--dry-run] | Renames a bucket. | Update object storage bucket |
sevalla object-storage purge-cache <id> [--dry-run] | Purges the cached objects from the CDN domain of a bucket, for example after you replace objects. It takes effect within seconds. | Purge CDN cache |
sevalla object-storage delete <id> --confirm [--dry-run] | Schedules a bucket for deletion: Sevalla deletes its objects, revokes its keys and removes it in the background. Its status is deleting meanwhile. | Delete object storage bucket |
sevalla object-storage rotate-credentials <id> --confirm [--old-keys-ttl-hours <hours>] [--dry-run] | Creates a new access key and secret key, and stops the current ones (at once, or after --old-keys-ttl-hours). The response is the only time you see the new ones. | Rotate object storage credentials |
| Command | Flag | Type | Default | Description |
|---|---|---|---|---|
object-storage create | --name <name> | string | None | Required. Display name, 2 to 64 characters. |
object-storage create | --project <id> | UUID | None | Project to add the bucket to. |
object-storage create | --location <location> | apac, eeur, enam, oc, weur or wnam | API default: enam | Where most access happens: Asia-Pacific, Eastern Europe, Eastern North America, Oceania, Western Europe or Western North America. |
object-storage update | --display-name <name> | string | None | New display name, 2 to 64 characters. |
object-storage rotate-credentials | --old-keys-ttl-hours <hours> | integer | API default: 0 | Hours the previous keys keep working, 0 to 168. 0 stops them at once. |
CDN domain
| Command | What it does | API operation |
|---|---|---|
sevalla object-storage cdn-domain enable <bucket-id> [--dry-run] | Turns on a public CDN domain that serves the objects of the bucket. Fails if one is on already. | Enable CDN domain |
sevalla object-storage cdn-domain disable <bucket-id> [--dry-run] | Turns off the CDN domain. Objects are no longer served from it. | Disable CDN domain |
CORS policies
| Command | What it does | API operation |
|---|---|---|
sevalla object-storage cors-policies list --bucket-id <id> | Lists the CORS rules of a bucket. | List CORS policies |
sevalla object-storage cors-policies create <bucket-id> --origins <origins> --methods <methods> [--headers <headers>] [--dry-run] | Adds a CORS rule after the existing ones. | Create CORS policy |
sevalla object-storage cors-policies update <policy-id> --bucket-id <id> --origins <origins> --methods <methods> [--headers <headers>] | Replaces a CORS rule, so pass every origin, method and header to keep. | Update CORS policy |
sevalla object-storage cors-policies delete <bucket-id> <policy-id> --confirm [--dry-run] | Deletes a CORS rule. Deleting the last rule removes the CORS configuration. | Delete CORS policy |
| Command | Flag | Type | Default | Description |
|---|---|---|---|---|
object-storage cors-policies create, object-storage cors-policies update | --origins <origins> | list | None | Required. Allowed origins, such as https://shop.example.com. |
object-storage cors-policies create, object-storage cors-policies update | --methods <methods> | list of GET, PUT, POST, DELETE or HEAD | None | Required. Allowed methods. |
object-storage cors-policies create, object-storage cors-policies update | --headers <headers> | list | None | Allowed request headers. |
Objects
| Command | What it does | API operation |
|---|---|---|
sevalla object-storage objects list --bucket-id <id> | Lists the first 25 objects of a bucket: key, size and last change. The CLI has no flags for a prefix or the next page. | List objects |
sevalla object-storage objects delete <bucket-id> --keys <keys> --confirm [--dry-run] | Deletes objects by key, up to 1,000 keys per command. | Delete objects |
| Command | Flag | Type | Default | Description |
|---|---|---|---|---|
object-storage objects delete | --keys <keys> | list | None | Required. Keys of the objects to delete. |
Pipelines
| Command | What it does | API operation |
|---|---|---|
sevalla pipelines list [--page <number>] [--per-page <number>] [--search <text>] [--type <type>] [--project <id>] | Lists pipelines: ID, name and status. | List pipelines |
sevalla pipelines get <id> | Shows a pipeline with its stages and preview settings. | Get pipeline |
sevalla pipelines create --name <name> --type <type> [--project <id>] [--dry-run] | Creates a pipeline with two stages, Dev and Production. | Create pipeline |
sevalla pipelines update <id> [--name <name>] [--dry-run] | Renames a pipeline. | Update pipeline |
sevalla pipelines delete <id> --confirm [--dry-run] | Deletes a pipeline and its stages. Its applications stay, and its preview apps are deleted. | Delete pipeline |
sevalla pipelines promote <id> --source-app-id <id> --target-app-ids <ids> [--dry-run] | Deploys the latest successful build of the source application to the target applications, with no rebuild. | Promote pipeline |
| Command | Flag | Type | Default | Description |
|---|---|---|---|---|
pipelines list | --search <text> | string | None | Only pipelines whose name contains this text, case-insensitive. |
pipelines list | --type <type> | trunk or branch | None | Only pipelines of this type. |
pipelines list | --project <id> | UUID | None | Only pipelines in this project. |
pipelines create | --name <name> | string | None | Required. Display name, 1 to 255 characters. |
pipelines create | --type <type> | trunk or branch | None | Required. With trunk, every stage uses the same repository and branch settings. With branch, each stage can use its own branch. |
pipelines create | --project <id> | UUID | None | Project to add the pipeline to. |
pipelines update | --name <name> | string | None | New display name. |
pipelines promote | --source-app-id <id> | UUID | None | Required. Application to promote from. |
pipelines promote | --target-app-ids <ids> | list of UUIDs | None | Required. Applications to promote to. |
# Promote the latest successful build of staging to production
sevalla pipelines promote "$PIPELINE_ID" --source-app-id "$STAGING_APP_ID" --target-app-ids "$PRODUCTION_APP_ID"
Stages
| Command | What it does | API operation |
|---|---|---|
sevalla pipelines stages create <pipeline-id> --name <name> [--insert-before <order>] [--dry-run] | Adds a stage at a position. Stages at that position and after it move up one. | Create pipeline stage |
sevalla pipelines stages delete <pipeline-id> <stage-id> --confirm [--dry-run] | Deletes a stage. Its applications stay, and the other stages close the gap. | Delete pipeline stage |
sevalla pipelines stages apps add <pipeline-id> <stage-id> <app-id> | Adds an application to a stage. The application can’t be in another pipeline, and it takes the project of the pipeline. | Add application to pipeline stage |
sevalla pipelines stages apps remove <pipeline-id> <stage-id> <app-id> --confirm | Removes an application from a stage without deleting it. Without --confirm, exits with Use --confirm to confirm removal. | Remove application from pipeline stage |
| Command | Flag | Type | Default | Description |
|---|---|---|---|---|
pipelines stages create | --name <name> | string | None | Required. Stage name, 1 to 255 characters. |
pipelines stages create | --insert-before <order> | integer | 0 | Position of the new stage, 0 to 50. |
Preview apps
| Command | What it does | API operation |
|---|---|---|
sevalla pipelines preview enable <pipeline-id> [--repo-url <url>] [--auto-create-app <bool>] [--delete-stale-apps <bool>] [--stale-app-days <days>] [--preview-app <json>] [--dry-run] | Turns on preview apps for pull requests. | Enable pipeline preview |
sevalla pipelines preview disable <pipeline-id> [--dry-run] | Turns off preview apps, deletes the existing ones and removes the preview stage. | Disable pipeline preview |
sevalla pipelines preview update <pipeline-id> [--repo-url <url>] [--auto-create-app <bool>] [--delete-stale-apps <bool>] [--stale-app-days <days>] [--preview-app <json>] [--dry-run] | Changes the preview settings or the connected repository. | Update pipeline preview settings |
sevalla pipelines preview create-app <pipeline-id> --branch <branch> [--pull-request <number>] [--dry-run] | Creates a preview app for a branch from the preview app settings and starts its first deployment. Each preview app is a separate billed application. | Create preview app |
| Command | Flag | Type | Default | Description |
|---|---|---|---|---|
pipelines preview enable, pipelines preview update | --repo-url <url> | URL | None | Repository to connect. enable needs it when the pipeline has no repository. |
pipelines preview enable, pipelines preview update | --auto-create-app <bool> | true or false | API default on enable: false | Creates a preview app when a pull request opens. |
pipelines preview enable, pipelines preview update | --delete-stale-apps <bool> | true or false | API default on enable: false | Deletes preview apps with no deployment for --stale-app-days. |
pipelines preview enable, pipelines preview update | --stale-app-days <days> | integer | API default on enable: 5 | Days after the last deployment before a preview app is stale, 1 to 365. |
pipelines preview enable, pipelines preview update | --preview-app <json> | JSON object | None | Preview app settings: location, build, processes, disks, TCP proxies and environment variables. It replaces the saved settings. The fields are on Update pipeline preview settings. |
pipelines preview create-app | --branch <branch> | string | None | Required. Branch the preview app is built from and redeployed on every push. |
pipelines preview create-app | --pull-request <number> | integer | None | Pull request the preview app belongs to. The app is named after it and deleted when it’s merged or closed. |
Registry credentials
Thedocker-registries commands manage the credentials Sevalla uses to pull private Docker images.
| Command | What it does | API operation |
|---|---|---|
sevalla docker-registries list [--page <number>] [--per-page <number>] | Lists registry credentials. Secrets are never returned. | List Docker registry credentials |
sevalla docker-registries get <id> | Shows a registry credential, without its secret. | Get Docker registry credential |
sevalla docker-registries create --name <name> --username <username> --secret <secret> [--registry <registry>] [--dry-run] | Saves a registry credential. The secret is stored encrypted. | Create Docker registry credential |
sevalla docker-registries update <id> [--name <name>] [--registry <registry>] [--username <username>] [--secret <secret>] [--dry-run] | Updates a registry credential. | Update Docker registry credential |
sevalla docker-registries delete <id> --confirm [--dry-run] | Deletes a registry credential. Applications that use it can no longer pull their private images. | Delete Docker registry credential |
| Command | Flag | Type | Default | Description |
|---|---|---|---|---|
docker-registries create | --name <name> | string | None | Required. Display name, 1 to 255 characters. |
docker-registries create | --username <username> | string | None | Required. User name or access key for the registry. |
docker-registries create | --secret <secret> | string | None | Required. Password or access token. |
docker-registries create, docker-registries update | --registry <registry> | dockerHub, gcr, ecr, github, gitlab, digitalOcean or custom | API default on create: dockerHub | Registry: Docker Hub, Google Container Registry, Amazon ECR, GitHub, GitLab, DigitalOcean or another registry. |
docker-registries update | --name <name>, --username <username>, --secret <secret> | string | None | New values. |
Webhooks
| Command | What it does | API operation |
|---|---|---|
sevalla webhooks list [--page <number>] [--per-page <number>] | Lists webhooks. A company can have up to 10. | List webhooks |
sevalla webhooks get <id> | Shows a webhook with its events, endpoint and signing secret. | Get webhook |
sevalla webhooks create --endpoint <url> --events <events> [--description <text>] [--dry-run] | Creates a webhook. It receives events at once, and the response includes its signing secret. | Create webhook |
sevalla webhooks update <id> [--endpoint <url>] [--events <events>] [--description <text>] [--dry-run] | Updates a webhook. Changes apply to the next delivery. | Update webhook |
sevalla webhooks delete <id> --confirm [--dry-run] | Deletes a webhook. | Delete webhook |
sevalla webhooks toggle <id> [--dry-run] | Turns a webhook off or on. A disabled webhook gets no deliveries. | Toggle webhook |
sevalla webhooks roll-secret <id> --confirm [--expire-in-hours <hours>] [--dry-run] | Creates a new signing secret. Both secrets verify signatures until the old one expires. | Roll webhook secret |
| Command | Flag | Type | Default | Description |
|---|---|---|---|---|
webhooks create, webhooks update | --endpoint <url> | URL | None | Required on create. Where Sevalla sends events with POST. |
webhooks create, webhooks update | --events <events> | list | None | Required on create. Any of APP_CREATE, APP_UPDATE, APP_DELETE, APP_DEPLOY, DATABASE_CREATE, DATABASE_UPDATE, DATABASE_DELETE, STATIC_SITE_CREATE, STATIC_SITE_UPDATE, STATIC_SITE_DELETE and STATIC_SITE_DEPLOY. Payloads are on Webhook events. |
webhooks create, webhooks update | --description <text> | string | None | Description, up to 255 characters. |
webhooks roll-secret | --expire-in-hours <hours> | integer | 0 | Hours the old secret stays valid, 0 to 24. 0 expires it at once. |
Webhook deliveries
| Command | What it does | API operation |
|---|---|---|
sevalla webhooks deliveries list --webhook-id <id> [--page <number>] [--per-page <number>] | Lists the deliveries of a webhook, newest first. | List webhook event deliveries |
sevalla webhooks deliveries get <delivery-id> --webhook-id <id> | Shows a delivery: the payload, the response, its status code and the response time. | Get webhook event delivery |
Projects
| Command | What it does | API operation |
|---|---|---|
sevalla projects list [--page <number>] [--per-page <number>] [--search <text>] | Lists projects. --search keeps the ones whose name contains the text, case-insensitive. | List projects |
sevalla projects get <id> | Shows a project. | Get project |
sevalla projects create --name <name> [--dry-run] | Creates a project. | Create project |
sevalla projects update <id> --name <name> [--dry-run] | Renames a project. | Update project |
sevalla projects delete <id> --confirm [--dry-run] | Deletes a project. Its services stay, outside any project, and API key permissions limited to the project are removed. | Delete project |
--name on create and update is required and takes 1 to 64 characters.
Project services
| Command | What it does | API operation |
|---|---|---|
sevalla projects services add <project-id> --service-id <id> [--service-type <type>] [--dry-run] | Adds an application, database, pipeline or bucket to a project. Adding a pipeline also moves the applications in its stages. | Add service to project |
sevalla projects services remove <project-id> <service-id> [--service-type <type>] --confirm [--dry-run] | Removes a service from a project without deleting it. Removing a pipeline also removes the applications in its stages. | Remove service from project |
| Command | Flag | Type | Default | Description |
|---|---|---|---|---|
projects services add | --service-id <id> | UUID | None | Required. The service to add. |
projects services add, projects services remove | --service-type <type> | app, database, pipeline or object-storage | app | Type of the service. The API accepts only these four. |
API keys
| Command | What it does | API operation |
|---|---|---|
sevalla api-keys list [--page <number>] [--per-page <number>] | Lists API keys, newest first, with masked tokens. | List API keys |
sevalla api-keys get <id> | Shows an API key with its roles and capabilities. | Get API key |
sevalla api-keys create --name <name> [--capabilities <permissions>] [--expires-at <date>] [--dry-run] | Creates an API key. The response shows the token once. | Create API key |
sevalla api-keys update <id> [--name <name>] [--dry-run] | Renames an API key. | Update API key |
sevalla api-keys delete <id> --confirm [--dry-run] | Deletes an API key, which revokes it at once. | Delete API key |
sevalla api-keys toggle <id> [--dry-run] | Turns an API key off or on. A disabled key can’t authenticate. | Toggle API key |
sevalla api-keys rotate <id> --confirm [--ttl <hours>] [--dry-run] | Creates a new token for an API key. The response shows it once. | Rotate API key |
sevalla api-keys validate | Checks the key the CLI uses and shows its name, company, expiration and status. | Validate API key |
sevalla api-keys current | Shows the key the CLI uses with its masked token and everything it can do: the permissions of its roles and its own capabilities. Any valid key can run it. | Get current API key |
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
| Command | Flag | Type | Default | Description |
|---|---|---|---|---|
api-keys create | --name <name> | string | None | Required. Name, 1 to 255 characters. |
api-keys create | --capabilities <permissions> | list | None | Permissions in RESOURCE:ACTION form, such as APP:READ,APP:UPDATE, from sevalla resources rbac-permissions. The API needs at least one capability or role, and the CLI can’t assign roles, so pass this flag. |
api-keys create | --expires-at <date> | ISO 8601 timestamp in UTC | Never expires | Expiration, such as 2026-12-31T23:59:59Z. |
api-keys update | --name <name> | string | None | New name. |
api-keys rotate | --ttl <hours> | integer | 0 | Hours the old token keeps working, 0 to 168. 0 stops it at once. |
# A key for a CI job that deploys applications. Without --capabilities, the API rejects the request.
sevalla api-keys create --name ci-deploy --capabilities APP:READ,APP:UPDATE --expires-at 2026-12-31T23:59:59Z
Resources
| Command | What it does | API operation |
|---|---|---|
sevalla resources clusters | Lists the clusters (locations) for applications and databases: ID, name and location. | List clusters |
sevalla resources db-types | Lists the database sizes for --resource-type on databases create and databases update. | List database resource types |
sevalla resources db-versions --cluster <id> [--type <type>] | Lists the database versions for --db-version on databases create. They differ between clusters. --type lists one database type. | List database versions |
sevalla resources disk-types | Lists the disk sizes for --resource-type on apps processes disk update, smallest first. | List disk resource types |
sevalla resources process-types | Lists the process sizes for --resource-type on apps processes create and apps processes update. | List process resource types |
sevalla resources rbac-permissions | Lists the API key permissions for api-keys create --capabilities. | List API key permissions |
sevalla resources rbac-roles | Lists the predefined API key roles. | List API key roles |
Global environment variables
| Command | What it does | API operation |
|---|---|---|
sevalla global-env-vars list [--page <number>] [--per-page <number>] [--show-values] | Lists the global environment variables. Values are hidden unless you pass --show-values, and a secret’s value shows as (secret). | List global environment variables |
sevalla global-env-vars create --key <key> --value <value> [--runtime <bool>] [--buildtime <bool>] [--secret] [--dry-run] | Adds a variable that every application in the company inherits, at build time and at runtime unless you turn one off. An application variable with the same key overrides it. It applies at the next deployment of each application. | Create global environment variable |
sevalla global-env-vars update <id> [--key <key>] [--value <value>] [--runtime <bool>] [--buildtime <bool>] [--secret] [--dry-run] | Changes a global variable. An empty value isn’t sent. | Update global environment variable |
sevalla global-env-vars delete <id> --confirm [--dry-run] | Deletes a global variable. It applies at the next deployment of each application. | Delete global environment variable |
--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
| Command | What it does | API operation |
|---|---|---|
sevalla git providers | Lists the Git providers (GitHub, Bitbucket and GitLab) with the URLs that connect a Git account. | List Git providers |
Users
| Command | What it does | API operation |
|---|---|---|
sevalla users list | Lists the users of the company: ID, email, name and role. | List company 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 theBILLING:READ permission. Run these commands one after another: they are rate limited, and a company’s usage requests run one at a time.
| Command | What it does | API operation |
|---|---|---|
sevalla usage periods [--limit <number>] [--project <id>] [--services <ids>] [--types <types>] | Lists the billing periods, newest first, each with its total cost and the cost per usage type. The first one is the current period, which is still open. Without an active subscription the list is empty. | List usage periods |
sevalla usage summary [--period-start <datetime> --period-end <datetime>] [--project <id>] [--services <ids>] [--types <types>] [--include <parts>] | Shows one billing period: the total cost and the usage, unit price and cost per usage type. Without the two period flags it shows the current period. | Get usage summary |
sevalla usage range --start-date <date> --end-date <date> [--project <id>] [--services <ids>] [--types <types>] [--include <parts>] | Shows the same figures for any range of whole UTC days, such as a calendar month. | Get usage for a date range |
| Command | Flag | Type | Default | Description |
|---|---|---|---|---|
usage periods | --limit <number> | number | 12 | How many billing periods to list, from 1 to 24. The list isn’t paginated. |
usage summary | --period-start <datetime>, --period-end <datetime> | ISO 8601 date and time | Current period | Start and end of the billing period, as usage periods prints them. Pass both or neither. |
usage range | --start-date <date>, --end-date <date> | YYYY-MM-DD | None | Required. First and last day of the range, both included, in UTC. A range covers at most 366 days. |
usage periods, usage summary, usage range | --project <id> | UUID | All projects | Limits the result to one project’s services. |
usage periods, usage summary, usage range | --services <ids> | list | All services | Limits the result to these service IDs, separated by commas. |
usage periods, usage summary, usage range | --types <types> | list | All usage types | Limits the result to these usage types, separated by commas, such as appCompute,db. |
usage summary, usage range | --include <parts> | list | None | Adds the cost per day (days), per service (services) or both (days,services). |
# What November cost, per service
sevalla usage range --start-date 2026-11-01 --end-date 2026-11-30 --include services
Usage alerts
| Command | What it does | API operation |
|---|---|---|
sevalla usage-alerts list [--project-id <id>] [--page <number>] [--per-page <number>] | Lists usage alerts: the company-wide alert and the project alerts. --project-id limits the list to one project. | List usage alert configs |
sevalla usage-alerts get <id> | Shows a usage alert with its limit, recipients and triggers. | Get usage alert config |
sevalla usage-alerts create --limit-usd <amount> --emails <list> --triggers <list> [--project-id <id>] [--data <json>] [--dry-run] | Creates a usage alert for the company or for one project. Sevalla checks it every hour against the current billing period, and the highest trigger reached emails the recipients once per period. | Create usage alert config |
sevalla usage-alerts update <id> [--limit-usd <amount>] [--emails <list>] [--triggers <list>] [--data <json>] [--dry-run] | Updates a usage alert. Its project can’t change. | Update usage alert config |
sevalla usage-alerts delete <id> --confirm [--dry-run] | Deletes a usage alert. | Delete usage alert config |
| Command | Flag | Type | Default | Description |
|---|---|---|---|---|
usage-alerts create, usage-alerts update | --limit-usd <amount> | number | None | Required on create. Spending limit in USD, at least 0.01. |
usage-alerts create, usage-alerts update | --emails <list> | list | None | Required on create. Recipients. |
usage-alerts create, usage-alerts update | --triggers <list> | list of percentages | None | Required on create. Percentages of the limit, up to 10, such as 50,80,100. A trailing % is accepted. On update, replaces all triggers. |
usage-alerts create | --project-id <id> | UUID | Company-wide | Project the alert covers. A company has one company-wide alert and one alert per project. |
usage-alerts create, usage-alerts update | --data <json> | JSON object | None | Request body to send instead of the flags. |
# Email two people at 50%, 80% and 100% of USD 500 in a billing period
sevalla usage-alerts create --limit-usd 500 --emails ops@example.com,finance@example.com --triggers 50,80,100
Shell completion
| Command | What it does | API operation |
|---|---|---|
sevalla completion <shell> | Prints the completion script for bash, zsh or fish. | None |
eval "$(sevalla completion zsh)" # add to ~/.zshrc
eval "$(sevalla completion bash)" # add to ~/.bashrc
sevalla completion fish | source # add to ~/.config/fish/config.fish
Command schema
| Command | What it does | API operation |
|---|---|---|
sevalla schema [command] | Prints the command tree as JSON: each command with its path, description, arguments and options with defaults. command is a dot path, such as apps.deployments.trigger. It needs no sign-in. | None |
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.
sevalla schema apps.deployments.trigger | jq -r '.options[].long'