Skip to content
Job kinds The catalog of on-box job kinds (about 390 in 46 domains) dispatched through POST /v1/servers/{id}/jobs — how a kind becomes an mz argv, the domain map, token risk classes, RBAC groups and plan gates.

Job kinds

Almost everything the panel does on a server is a job kind: a named, whitelisted action such as site.create, stack.deploy or ssl.issue. The control plane validates the fields, builds a fixed mz argv and sends it to the server’s agent, which runs it in its native engine. The control plane holds about 390 kinds in 46 domains.

Authoritative, always-current list: GET /v1/api/operations → job_kinds[] (type, level, scope, min_tier, rbac_group, fields). The schema of one kind is at GET /v1/api/job-kinds/{type} (MCP: jobs_schema {type}). For the dispatch, poll and stream lifecycle, see Jobs.

  1. Validate. The body {type, …fields} is checked against the kind’s schema (domain format, enums, ranges). Unknown keys are rejected for API tokens. You can’t send a raw command.
  2. Build the argv. Each kind builds a fixed mz argv. Usually it mirrors the kind (ssl.issue → ssl issue <domain> --json), but not always: site.list → sites --json, and stack.deploy → stack create <name> --compose-b64 … --json, where the API base64-encodes the compose file for you.
  3. Gate. The token’s risk class for the kind, the user’s RBAC group and the plan tier are checked before anything reaches the box.
  4. Dispatch. The agent runs the argv natively, shelling out only to public tools (nginx, docker, wp-cli, certbot, systemctl, …), never to mz itself. Output streams back, ending with an exit code.

The control plane stores the job row and its log lines. The real state lives on the box (nginx vhosts, /etc/mz, databases, containers) and is read back through the inventory cache and read jobs.

DomainWhat it doesPanel location
siteCreate (wordpress, static, php, nodejs, python, go), clone, delete, info, stats, logs, env, enable/disable, restart, limits, isolation, push/pull/link; Laravel scheduler/queue (site.laravel, site.laravel-status) and allowlisted artisan commands (site.artisan)Server Sites, per-site shell
appSingle-container Docker apps: create, build, update, releases, rollback, previews, env, domains, db-attach, logsServer Apps, /apps
stackDocker Compose stacks: deploy, update, build, pull, up/down, restart, adopt, releases, rollback, previews, envServer Apps, /apps
routePath routing: send <domain>/<path> to another app or stack (Pro)App/stack drawer
deployGit-deploy pipelines for sites: init, run, rollback, PR previews (Pro)Per-site deploy
docker, container, image, volume, networkContainer lifecycle (start/stop/restart/pause, logs, stats, inspect, remove), engine df/prune, update check; image, volume and network managementServer Apps → Resources
dbMariaDB/MySQL databases and users, grants, dumps, import, tuning, remote accessServer Databases
pgPostgreSQL databases, tables, VACUUM, expose/unexpose, pgvector, tuningServer Databases
mongoMongoDB databases, collections, compact, export/importServer Databases
pgadmin, mongoexpressThe on-box admin UIsServer Databases
phpVersions, default, per-site switch, extensions, php.ini / FPM config, restartServer PHP
sslIssue, renew, delete, auto-renew, HTTPS redirectServer DNS & TLS
dnsLookups and the authoritative BIND9 zones/records on the boxServer DNS & TLS
mailMail stack install, domains, mailboxes, aliases, groups, shared mailboxes, forwarding, relay, spam/AV, queue, delivery log, sign-in portals/mail
cronManaged cron jobs and the WP-Cron dispatcherServer Cron
daemon, serviceSupervisor daemons; systemd service control and logsServer Services
security, wafUFW, Fail2ban, SSH policy, ClamAV, file and WordPress integrity, ModSecurityServer Security
user, usersOS users, SSH keys, sudo, lock, key auditServer Users
wp, cacheWordPress updates, tools, cache, Redis, image optimization, content, SEO; Redis configPer-site WordPress pages
ai, litellm, rag, mcpAI on the VPS: models, LiteLLM keys and usage, RAG and MCP servers (Pro)Server AI
system, updates, livepatchTimezone, hostname, reboot, reboot window, cache clear; OS updates; Ubuntu LivepatchServer Settings, OS updates
storage, quota, plan, tuningDisk usage and cleanup, disk quotas, resource-limit plans, stack retuningServer Storage, Settings
extensionServer add-ons (apt, repo, docker): install, remove, updateServer Extensions
lbLoad-balancer desired state on a node/load-balancers
migrateMigrate-in from cPanel and other panels/tools
server, logs, metricsHost status and facts, log tails, metric snapshots (read-only)Monitoring
consoleThe box’s local single-server web console (owner/admin only; on/login never via tokens)Server Settings

Backups are not job kinds you dispatch. Backup runs and restores use the dedicated backup_* / backups_* operations, so they can carry sealed destination credentials. See Backups and restore.

Each kind has a token risk class:

  • read: kinds that only read (*.list, *.status, *.info, *.logs, …). Some exceptions look like reads but reveal secrets or change state: site.env-get, stack.get and *.optimize are operate.
  • operate: the default for mutations (about 240 kinds).
  • full: provisioning and replacement, such as migrate.*, extension.install/remove, mail.install/uninstall, php.install/uninstall, updates.apply, waf.enable/disable, plan.*, lb.* and docker.remove. Every kind that needs an opt-in scope is also full.
  • opt-in scope: destructive kinds additionally need a scope (sites:delete, data:delete, backups:restore, system:admin, files:write). The mapping is in Tokens, levels & scopes.
  • never: docker.exec, wp.login-url, site.wp-admin-passwd, db.pma, db.pma-admin, console.on, console.login, mail.webmail-login, mail.webmail-update, mail.apikey-*, app.env-sync and stack.env-sync. These are dashboard-only (403 not_exposed).

A team member’s role must hold the kind’s capability group. The group comes from the kind’s prefix:

GroupPrefixes
contentsite, wp, cache
infraphp, ssl, dns, db, app, stack, route, cron, mail, extension, docker, ai, litellm, rag, mcp
sysadminservice, daemon, security, storage, updates, system, user, migrate, and every other prefix (pg, mongo, container, image, volume, network, waf, quota, plan, tuning, lb, deploy, console, livepatch, …)
observemetrics.*, server.* and read-only polls
siteopsA narrow per-site group: ssl.issue, ssl.renew, ssl.delete, ssl.auto-renew, ssl.https-redirect, php.switch

Over-plan kinds are refused at the API with 403 tier_required before anything reaches the box:

  • Pro: app.preview-create, app.adopt, app.env-sync; stack.adopt, stack.preview-create, stack.env-sync; site.link, site.push, site.pull; deploy.*; route.*; rag.*; mcp.*.
  • Per extension: extension.install and extension.update follow the tier of the extension being installed.
  • Every plan, with the Docker apps & stacks quota: app.create, app.build, app.rebuild, app.rollback, app.env-set, app.db-attach; stack.deploy, stack.build, stack.update, stack.rebuild, stack.rollback, stack.env-set, stack.pull, stack.auto-update. Creating a new app or stack (a new name on that server) over the plan’s shared quota (Free 3, Plus 5 per server, Pro and Max unlimited, across all servers) is refused with 402 app_limit. app.build with archive or db needs agent 0.2.144 or newer (409 agent_update_required).
  • Every plan: everything else, including per-site resource limits, plan.* and litellm.*.
  • Free plan, through API tokens: after the organization’s 30-day automation trial, every kind above level read answers 402 automation_trial_ended when sent through MCP or /v1/api (reads still work; the dashboard is not affected). Plus and up are never limited.
  • Exit 127 means the agent on that box has no native handler for the kind, usually because the agent is old. Update it (agent_update) and retry.
  • Secrets are masked. Credential flags (--pass, --password, registry and git tokens) are masked in the stored arguments and the audit log. Kinds that print a credential (such as app.db-attach) stream it live but never store it.
  • Some kinds are never queued for an offline agent (env writes, credential-bearing kinds). They answer 409 server_offline. Everything else waits up to 24 hours.
  • Cross-org jobs answer 404, not 403.