Skip to content

Sites

15 operations in the WP Waterfall API.

List sites

get/sitesPermalink to List sites

  • Scope: sites:read
  • Permission: sites.read

Filter by label, region, node, PHP version, or a search term.

Parameters

NameInTypeDescription
limitqueryintegerHow many rows to return in one page: 1 to 200, and 50 when left out. Default: 50. Range: 1 to 200.
cursorquerystringThe next_cursor of the page before. Leave it out for the first page.
labelquerystring
regionquerystring
node_idquerystring (uuid)UUIDv7
phpquerystringOne of: 8.1, 8.2, 8.3, 8.4, 8.5.
searchquerystring
statusquerystringOne of: live, staging, provisioning, attention.

Responses

StatusBodyDescription
200SiteListSites
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.
4XXProblemProblem Details (RFC 9457)

200 response fields

NameTypeDescription
data requiredarray of objectThe rows of this page.
data[].id requiredstring (uuid)UUIDv7
data[].name requiredstring
data[].slug requiredstring
data[].status requiredstringOne of: provisioning, active, failed, deleting.
data[].test requiredbooleanTrue for a simulated test site that runs on the demo node at no cost.
data[].template requiredstringOne of: fresh_wordpress, woocommerce, multisite, empty.
data[].multisite_modestring or nullThe network mode of a multisite site, null for every other template. A network counts as one site against the plan. One of: subdirectory, subdomain.
data[].labels requiredarray of object
data[].live_environment requiredobject or nullThe live environment. Null until the owner launches live.
data[].staging_environmentobject or nullThe staging environment every site starts with. Every response sets it.
data[].primary_environmentobject or nullLive once launched, otherwise staging: the environment to show first.
data[].launch_statestringWhere the site is on the staging first path. Every response sets it. One of: staging_only, launching, launched, launch_failed.
data[].provisioning_job_id requiredstring or null (uuid)The job that is provisioning the site, while it runs.
data[].moveone of SiteMoveNotice, nullWhile WP Waterfall moves the site to a server with more room, one plain line and a progress number. Set on a single site read, and absent or null otherwise.
data[].address_job_idstring or null (uuid)The rename_site job that is moving the temporary addresses of the site's environments to the new name, while it runs. Set on a single site read and on the answer to a rename, and absent or null otherwise.
data[].subscription_idstring or null (uuid)The license the site uses a credit of. Null for test sites.
data[].tierstringThe site's performance tier. base is what its license includes. One of: base, tier_40, tier_65, tier_125, tier_250.
data[].sandboxobjectSet while the site is a sandbox: a free site with staging only, no live environment, and no site license. Its disk, awake hours, and backup days are in the object. Absent on every other site.
data[].created_at requiredstring (date-time)
data[].updated_at requiredstring (date-time)
data[].environmentsarray of object
next_cursor requiredstring or nullSend it as cursor to get the next page. Null on the last page.

Create a site

post/sitesPermalink to Create a site

  • Scope: sites:write
  • Permission: sites.create

Starts provisioning. Returns 402 with problem type payment-required when the company has no plan, unless test is true. Each site picks its own region, and a plan costs the same in every region, so one plan's sites may sit in different regions (ADR 215). A region that is not open answers 422 with the code region_closed. A region that cannot start a data center right now answers 409 with the code region_unavailable, before a site, a slot, or a charge exists. Site names are unique across all customers, compared by the same lowercase, DNS-safe label the temporary address uses, so Elric, elric, and Elric! are one name: a name whose label is taken answers 409 with the code site_name_taken (That name is already taken. Choose another.), and a reserved name (www, api, live, and the rest) answers 422 with the code site_name_reserved. Check a name first with GET /sites/name-available. PHP 8.1 and 8.2 are closed to new use, so a php_version of 8.1 or 8.2 answers 422 with the code php_version_end_of_life. Existing sites on them keep working, and only a migration (POST /migrations) may start a site on one. An Enterprise company's new site is always a sandbox (ADR 276): staging only, no site tier, no site license, no charge, and no saved card needed. A subscription_id, tier, or sandbox in the body of an Enterprise company's create answers 422 with the code sandbox_no_plan_at_create: leave them out, and choose the tier when you launch the site live. A sandbox field on an account that is not Enterprise answers 403 with the code sandbox_enterprise_only, because only Enterprise accounts have sandboxes; a tier there answers 422, because its site starts at the included tier.

Parameters

NameInTypeDescription
Idempotency-Key requiredheaderstringSend a fresh unique value on every POST: a POST without it answers 422. The answer is stored for 24 hours, so a retry with the same key and body returns the first answer, and the same key with a different body returns 422.

Request body application/json, required, CreateSiteRequest

Fields

NameTypeDescription
name requiredstring
templatestringOne of: fresh_wordpress, woocommerce, multisite, empty. Default: fresh_wordpress.
multisite_modestringOnly with the multisite template: subdirectory (the default, host/blog/, works on the temporary hostname) or subdomain (blog.host; each subsite host needs its own attached domain, because the temporary hostname has no wildcard). Any other template refuses it (422). One of: subdirectory, subdomain.
regionstringA region code from GET /regions. Defaults to the platform default region.
php_versionstringOne of: 8.1, 8.2, 8.3, 8.4, 8.5. Default: 8.5.
table_prefixstringThe database table prefix ($table_prefix in wp-config.php), an advanced option. 1 to 40 letters, digits, or underscores, such as site_. Left out, the prefix is wp_. A multisite network keeps it for every subsite table (site_2_posts).
testbooleanCreates a simulated test site. Needs test_sites on GET /platform. Default: false.
labelsarray of string (uuid)
site_titlestringThe WordPress site title. Defaults to the site name.
admin_emailstring (email)The first WordPress administrator. Defaults to the requester's email.
admin_usernamestringThe first administrator's username. Defaults to wpwaterfall-admin. admin, administrator, and root are refused because bots try them first.
admin_passwordstringThe first administrator's password: 12 to 128 characters with a letter and a number. Secret: never stored in the job, its events, or logs, and deleted once provisioning ends. Left out, the node sets a random password nobody sees, and people sign in with one-click login.
localestringThe WordPress language. Defaults to en_US. Others are downloaded from WordPress.org. One of: en_US, en_GB, en_CA, en_AU, es_ES, es_MX, fr_FR, fr_CA, de_DE, it_IT, pt_BR, pt_PT, nl_NL, sv_SE, da_DK, nb_NO, fi, pl_PL, tr_TR, ja, zh_CN, ko_KR.
subscription_idstring (uuid)The plan whose free slot the site takes, from GET /billing/subscriptions. Optional: when it is left out and exactly one plan has a free slot, that plan is used. Test sites ignore it. An Enterprise company sends none: its new site is a sandbox until it goes live, and the request answers 422 sandbox_no_plan_at_create when it names one.

Responses

StatusBodyDescription
202JobAccepted. The body is the Job object. Follow GET /jobs/{id}/events or poll GET /jobs/{id}.
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
409ProblemThe current state does not allow this: the same change is already running, or another change got there first.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.
4XXProblemProblem Details (RFC 9457)

202 response fields

NameTypeDescription
id requiredstring (uuid)UUIDv7
type requiredstringA node job type or an edge job type. One of: provision_environment, delete_environment, set_php_version, set_php_performance, set_php_settings, restart_php, clear_server_cache, search_replace, run_wp_cli, rotate_credentials, apply_nginx_settings, db_import, cron_sync, build_release, activate_release, create_repository, create_node, drain_node, delete_node, purchase_cud, files_write, files_delete, files_rename, phpmyadmin_session, db_check, db_rows_write, db_sql_execute, ssh_update, sftp_account_change, tool_setting, wp_user_create, set_code_mode, env_var_set, env_var_delete, reset_site, set_webroot, set_wp_secrets_key, wp_admin_login_token, wp_login_user_ensure, wp_login_users_remove, repo_commit_read, create_preview_environment, clone_content, merge_branch, create_snapshot, restore_snapshot, set_apm, push_content, commit_branch, sync_working_tree, issue_certificate, register_hostname, unregister_hostname, object_cache_set, patchstack_credentials_write, patchstack_credentials_remove, patchstack_kill_switch, set_disk_quota, prepare_standby, start_replication, verify_replica, fence_site, resync_replica, set_site_suspension, clear_log, promote_environment, copy_into_live, auto_update_run, delete_snapshot, prune_snapshots, backup_download, configure_git_remote, import_git_push, pull_external_git, offsite_backup_test, offsite_backup_run, offsite_backup_list, offsite_backup_restore, restart_service, container_exec, set_network_domain, map_subsite_domain, reap_orphan_containers, migrate_container, migrate_control, migrate_export, migrate_import, migrate_precopy, migrate_delta, migrate_freeze, migrate_thaw, update_mu_plugin, import_site_files, wake_environment, set_sleep_policy, integrity_check, malware_scan, malware_restore, container_images, rebuild_container, update_runtime_image, node_reboot_status, schedule_node_reboot, reboot_node, core_update_commit, core_update_advance, core_update_run, takedown_environment, release_takedown, set_egress, set_standby_hold, copy_evidence, drop_evidence, transfer_site, relabel_environment, record_site_facts, attach_domain, remove_domain, set_primary_domain, apply_redirects, apply_ip_rules, apply_bot_protection, purge_cache, apply_edge_settings, provision_dns_zone, refresh_ssl, set_edge_certificate, remove_edge_certificate, rename_site, rename_temp_hostname, network_sync, migration_fetch, migration_inspect, migration_triage, migration_import, migration_move, export_company_data, export_user_data, export_audit_log, purge_company, reseal_secrets, run_pagespeed, patchstack_provision, patchstack_deprovision, patchstack_reconcile, wp_login_member_users_remove, provision_standby, failover_site, failback_site, accessibility_scan.
status requiredstringOne of: queued, dispatched, running, succeeded, failed, cancelled.
environment_id requiredstring or null (uuid)UUIDv7
site_id requiredstring or null (uuid)UUIDv7
node_id requiredstring or null (uuid)UUIDv7
group_id requiredstring or null (uuid)UUIDv7
progress requiredintegerRange: 0 to 100.
attempts requiredintegerRange: 0 to any.
error requiredobject or null
error.code requiredstring
error.message requiredstring
error.retryable requiredbooleanDefault: false.
result requiredobject or null
descriptionstring or nullWhat the job does, in one plain sentence, such as "Turn on the server cron on site Elric (staging)". It names the action and the place and never holds a secret, a value, or site content: a WP-CLI command shows its command words and the names that are safe to show, and a placeholder such as "(value hidden)" for the rest. Null on old servers.
site_namestring or nullThe name of the site the job belongs to, when it has one.
environment_namestring or nullThe name of the environment the job runs on, such as live or staging.
quietbooleanTrue for background work and reads, such as a cron sync or a login link lookup. A customer screen leaves a quiet job out of its bell, its lists, and its toasts. Quiet jobs are still stored, audited, and retried. Absent on old servers, where nothing is quiet.
parent_job_idstring or null (uuid)The job this one works for: the job that ran it as a step, or that queued it as a follow-up. That job reads as done only once its follow-ups ended: it stays running until then, and its log names any follow-up that failed. Null for a job nobody started on another's behalf. Absent on old servers.
requested_by requiredobject
requested_by.type requiredstringOne of: user, api_key, mcp_agent, system.
requested_by.id requiredstring or null
requested_by.label requiredstring or null
requested_by.client_namestring or nullMCP client name and version from the handshake, for mcp_agent requests.

Check whether a site name is free

get/sites/name-availablePermalink to Check whether a site name is free

  • Scope: sites:read
  • Permission: sites.read

Answers available and the label the name gives, for the Add site and rename forms. A taken name answers available: false with the reason taken and never says who holds it. A reserved name answers the reason reserved. Send site_id when a site renames, so its own current name stays available to it. Needs a signed-in person or an API key, and answers 429 past 60 checks a minute for one caller.

Parameters

NameInTypeDescription
name requiredquerystring
site_idquerystring (uuid)The site that renames. Its own current label stays available to it. UUIDv7

Responses

StatusBodyDescription
200SiteNameAvailabilityAvailability of the name
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.
4XXProblemProblem Details (RFC 9457)

200 response fields

NameTypeDescription
available requiredboolean
label requiredstring or null
reason requiredstring or nullOne of: taken, reserved, invalid.
message requiredstring or null

Get a site

get/sites/{id}Permalink to Get a site

  • Scope: sites:read
  • Permission: sites.read

Returns one site. While WP Waterfall moves the site to another server the answer carries move, and while a rename changes the addresses of its environments it carries address_job_id, the job to watch.

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.

Responses

StatusBodyDescription
200SiteSite
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
404ProblemThe thing in the path does not exist, or it belongs to another company. The answer is the same for both.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.
4XXProblemProblem Details (RFC 9457)

200 response fields

NameTypeDescription
id requiredstring (uuid)UUIDv7
name requiredstring
slug requiredstring
status requiredstringOne of: provisioning, active, failed, deleting.
test requiredbooleanTrue for a simulated test site that runs on the demo node at no cost.
template requiredstringOne of: fresh_wordpress, woocommerce, multisite, empty.
multisite_modestring or nullThe network mode of a multisite site, null for every other template. A network counts as one site against the plan. One of: subdirectory, subdomain.
labels requiredarray of object
labels[].id requiredstring (uuid)UUIDv7
labels[].name requiredstring
labels[].color requiredstring
live_environment requiredobject or nullThe live environment. Null until the owner launches live.
live_environment.id requiredstring (uuid)UUIDv7
live_environment.node_id requiredstring (uuid)UUIDv7
live_environment.node_name requiredstring
live_environment.region requiredstring
live_environment.php_version requiredstringOne of: 8.1, 8.2, 8.3, 8.4, 8.5.
live_environment.wordpress_version requiredstring or null
live_environment.wordpressstringADR 172: installed, not_installed, or unknown. Every response sets it. One of: installed, not_installed, unknown.
live_environment.temp_hostname requiredstring
live_environment.status requiredstring
live_environment.disk_bytes requiredinteger or nullRange: 0 to any.
live_environment.health requiredstringOne of: healthy, degraded, down, unknown.
live_environment.health_notestring or nullWhy health is not healthy, in one plain sentence, when a single-site read found out (the WP Waterfall plugin is not loaded on the server). Null or absent otherwise.

Rename a site or change its labels

patch/sites/{id}Permalink to Rename a site or change its labels

  • Scope: sites:write
  • Permission: sites.update

A new name shows at once. The site's label follows the name, and a job (rename_site) moves the temporary address of every environment to the new label (live-<label>, staging-<label>, <preview name>-<label>, and the subsite addresses of a subdomain network) and runs a search and replace of the old address in each environment's database. The job's id is address_job_id on the site while it runs. The old temporary addresses stop resolving. A custom domain that is primary is not touched. A custom domain connected with A and AAAA records is not affected. A domain that still has an older CNAME to the old temporary address is: WP Waterfall replaces the CNAME with the A and AAAA records itself when it hosts the domain's DNS. For a domain with DNS at another provider the customer replaces the record, and GET /sites/{id}/rename-impact lists those before the rename. If the job fails, the site keeps its old name and addresses. A taken name answers 409 with the code site_name_taken, a reserved name 422 with site_name_reserved, and a site that is still being created answers 409.

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.
Idempotency-KeyheaderstringOptional on PUT and PATCH. When the call starts a job, a retry with the same key, path, and body within 24 hours returns that job instead of starting another. A different path or body starts a new job.

Request body application/json, required, PatchSiteRequest

Fields

NameTypeDescription
namestring
labelsarray of string (uuid)Replaces the full set of labels on the site.
subscription_idstring (uuid)Moves the site to another plan with a free slot. Needs billing.write as well.

Responses

StatusBodyDescription
200SiteSite
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
404ProblemThe thing in the path does not exist, or it belongs to another company. The answer is the same for both.
409ProblemThe current state does not allow this: the same change is already running, or another change got there first.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.
4XXProblemProblem Details (RFC 9457)

200 response fields

NameTypeDescription
id requiredstring (uuid)UUIDv7
name requiredstring
slug requiredstring
status requiredstringOne of: provisioning, active, failed, deleting.
test requiredbooleanTrue for a simulated test site that runs on the demo node at no cost.
template requiredstringOne of: fresh_wordpress, woocommerce, multisite, empty.
multisite_modestring or nullThe network mode of a multisite site, null for every other template. A network counts as one site against the plan. One of: subdirectory, subdomain.
labels requiredarray of object
labels[].id requiredstring (uuid)UUIDv7
labels[].name requiredstring
labels[].color requiredstring
live_environment requiredobject or nullThe live environment. Null until the owner launches live.
live_environment.id requiredstring (uuid)UUIDv7
live_environment.node_id requiredstring (uuid)UUIDv7
live_environment.node_name requiredstring
live_environment.region requiredstring
live_environment.php_version requiredstringOne of: 8.1, 8.2, 8.3, 8.4, 8.5.
live_environment.wordpress_version requiredstring or null
live_environment.wordpressstringADR 172: installed, not_installed, or unknown. Every response sets it. One of: installed, not_installed, unknown.
live_environment.temp_hostname requiredstring
live_environment.status requiredstring
live_environment.disk_bytes requiredinteger or nullRange: 0 to any.
live_environment.health requiredstringOne of: healthy, degraded, down, unknown.
live_environment.health_notestring or nullWhy health is not healthy, in one plain sentence, when a single-site read found out (the WP Waterfall plugin is not loaded on the server). Null or absent otherwise.

Delete a site

delete/sites/{id}Permalink to Delete a site

  • Scope: danger:destroy
  • Permission: sites.delete
  • Needs a confirmation

Deletes the site and its environments. Needs confirm=true; a signed-in person also sends confirm_name, the exact site name, and an API key that sends it must send it exactly. Returns 202 with a job when the site has a container on a node. Returns 204 with no body when nothing is left on a node (the site never reached one, or its node failed or was deleted): the site is gone at once.

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.
confirm requiredquerystringOne of: true.
confirm_namequerystringThe site name, typed to confirm. A signed-in session must send it. API keys may.

Responses

StatusBodyDescription
202JobAccepted. The body is the Job object. Follow GET /jobs/{id}/events or poll GET /jobs/{id}.
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
404ProblemThe thing in the path does not exist, or it belongs to another company. The answer is the same for both.
409ProblemThe current state does not allow this: the same change is already running, or another change got there first.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.
4XXProblemProblem Details (RFC 9457)

202 response fields

NameTypeDescription
id requiredstring (uuid)UUIDv7
type requiredstringA node job type or an edge job type. One of: provision_environment, delete_environment, set_php_version, set_php_performance, set_php_settings, restart_php, clear_server_cache, search_replace, run_wp_cli, rotate_credentials, apply_nginx_settings, db_import, cron_sync, build_release, activate_release, create_repository, create_node, drain_node, delete_node, purchase_cud, files_write, files_delete, files_rename, phpmyadmin_session, db_check, db_rows_write, db_sql_execute, ssh_update, sftp_account_change, tool_setting, wp_user_create, set_code_mode, env_var_set, env_var_delete, reset_site, set_webroot, set_wp_secrets_key, wp_admin_login_token, wp_login_user_ensure, wp_login_users_remove, repo_commit_read, create_preview_environment, clone_content, merge_branch, create_snapshot, restore_snapshot, set_apm, push_content, commit_branch, sync_working_tree, issue_certificate, register_hostname, unregister_hostname, object_cache_set, patchstack_credentials_write, patchstack_credentials_remove, patchstack_kill_switch, set_disk_quota, prepare_standby, start_replication, verify_replica, fence_site, resync_replica, set_site_suspension, clear_log, promote_environment, copy_into_live, auto_update_run, delete_snapshot, prune_snapshots, backup_download, configure_git_remote, import_git_push, pull_external_git, offsite_backup_test, offsite_backup_run, offsite_backup_list, offsite_backup_restore, restart_service, container_exec, set_network_domain, map_subsite_domain, reap_orphan_containers, migrate_container, migrate_control, migrate_export, migrate_import, migrate_precopy, migrate_delta, migrate_freeze, migrate_thaw, update_mu_plugin, import_site_files, wake_environment, set_sleep_policy, integrity_check, malware_scan, malware_restore, container_images, rebuild_container, update_runtime_image, node_reboot_status, schedule_node_reboot, reboot_node, core_update_commit, core_update_advance, core_update_run, takedown_environment, release_takedown, set_egress, set_standby_hold, copy_evidence, drop_evidence, transfer_site, relabel_environment, record_site_facts, attach_domain, remove_domain, set_primary_domain, apply_redirects, apply_ip_rules, apply_bot_protection, purge_cache, apply_edge_settings, provision_dns_zone, refresh_ssl, set_edge_certificate, remove_edge_certificate, rename_site, rename_temp_hostname, network_sync, migration_fetch, migration_inspect, migration_triage, migration_import, migration_move, export_company_data, export_user_data, export_audit_log, purge_company, reseal_secrets, run_pagespeed, patchstack_provision, patchstack_deprovision, patchstack_reconcile, wp_login_member_users_remove, provision_standby, failover_site, failback_site, accessibility_scan.
status requiredstringOne of: queued, dispatched, running, succeeded, failed, cancelled.
environment_id requiredstring or null (uuid)UUIDv7
site_id requiredstring or null (uuid)UUIDv7
node_id requiredstring or null (uuid)UUIDv7
group_id requiredstring or null (uuid)UUIDv7
progress requiredintegerRange: 0 to 100.
attempts requiredintegerRange: 0 to any.
error requiredobject or null
error.code requiredstring
error.message requiredstring
error.retryable requiredbooleanDefault: false.
result requiredobject or null
descriptionstring or nullWhat the job does, in one plain sentence, such as "Turn on the server cron on site Elric (staging)". It names the action and the place and never holds a secret, a value, or site content: a WP-CLI command shows its command words and the names that are safe to show, and a placeholder such as "(value hidden)" for the rest. Null on old servers.
site_namestring or nullThe name of the site the job belongs to, when it has one.
environment_namestring or nullThe name of the environment the job runs on, such as live or staging.
quietbooleanTrue for background work and reads, such as a cron sync or a login link lookup. A customer screen leaves a quiet job out of its bell, its lists, and its toasts. Quiet jobs are still stored, audited, and retried. Absent on old servers, where nothing is quiet.
parent_job_idstring or null (uuid)The job this one works for: the job that ran it as a step, or that queued it as a follow-up. That job reads as done only once its follow-ups ended: it stays running until then, and its log names any follow-up that failed. Null for a job nobody started on another's behalf. Absent on old servers.
requested_by requiredobject
requested_by.type requiredstringOne of: user, api_key, mcp_agent, system.
requested_by.id requiredstring or null
requested_by.label requiredstring or null
requested_by.client_namestring or nullMCP client name and version from the handshake, for mcp_agent requests.

Activity for one site

get/sites/{id}/activityPermalink to Activity for one site

  • Scope: activity:read
  • Permission: sites.read

Returns the audit entries of one site, in pages of up to 200 (default 50). Filter with actor, actor_type, action, category, from, to, and q, a search of up to 200 characters over the sentence, the action name, and the person. A member limited to some sites, and an API key, see IP addresses and browsers only on their own entries.

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.
limitqueryintegerHow many rows to return in one page: 1 to 200, and 50 when left out. Default: 50. Range: 1 to 200.
cursorquerystringThe next_cursor of the page before. Leave it out for the first page.
actorquerystring
actionquerystring
fromquerystring (date-time)
toquerystring (date-time)
actor_typequerystringOne of: user, api_key, mcp_agent, system.
categoryquerystringKeeps one kind of action, such as plugins. One of: logins, users, plugins, content, code, domains, settings.
qquerystringMatches the sentence, the action name, or the person, ignoring case.

Responses

StatusBodyDescription
200AuditEventListThis site's slice of the audit log
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
404ProblemThe thing in the path does not exist, or it belongs to another company. The answer is the same for both.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.
4XXProblemProblem Details (RFC 9457)

200 response fields

NameTypeDescription
data requiredarray of objectThe rows of this page.
data[].id requiredstring (uuid)
data[].actor_type requiredstringOne of: user, api_key, mcp_agent, system.
data[].actor_id requiredstring or null
data[].actor_label requiredstring
data[].action requiredstring
data[].target_type requiredstring or null
data[].target_id requiredstring or null
data[].metadata requiredobject
data[].ip requiredstring or null
data[].user_agent requiredstring or null
data[].created_at requiredstring (date-time)
next_cursor requiredstring or nullSend it as cursor to get the next page. Null on the last page.

List a site's environments

get/sites/{id}/environmentsPermalink to List a site's environments

  • Scope: sites:read
  • Permission: sites.read

Lists the environments of one site (live, staging, and previews) with their state, in pages of up to 200.

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.
limitqueryintegerHow many rows to return in one page: at most 200, and 200 when left out. Default: 200. Range: 1 to 200.
cursorquerystringThe next_cursor of the page before. Leave it out for the first page.

Responses

StatusBodyDescription
200EnvironmentListEnvironments
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
404ProblemThe thing in the path does not exist, or it belongs to another company. The answer is the same for both.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.
4XXProblemProblem Details (RFC 9457)

200 response fields

NameTypeDescription
data requiredarray of EnvironmentThe rows of this page.
data[].id requiredstring (uuid)UUIDv7
data[].site_id requiredstring (uuid)UUIDv7
data[].kind requiredstringOne of: live, staging, preview.
data[].rolestringstaging, live, or preview. Every response sets it. One of: staging, live, preview.
data[].is_livebooleanTrue for the live environment. Every response sets it.
data[].release_shastring or nullThe commit the environment's active release runs. Null before the first release.
data[].last_deployed_atstring or null (date-time)When the active release went live on this environment.
data[].last_deployed_bystring or nullWho made the active release go live, such as a person's name or system.
data[].allowancestringincluded for the staging environment and the previews a plan includes, additional for a preview environment the customer pays for. Live is included. Every response sets it. One of: included, additional.
data[].price_waivedbooleanTrue when staff turned the charge of an additional preview off (complimentary).
data[].sandboxobjectSet when the environment belongs to a sandbox site: the site has no live environment and no site license, and is free. It carries the awake seconds left this month and when they come back. Absent otherwise.
data[].sleep_when_idlebooleanThe Sleep when idle setting: true for a non live environment that stops after 30 minutes without use and starts again on the first visit. Always false for live. Every response sets it.
data[].sleeping_sincestring or null (date-time)When the environment went to sleep or began to wake. Null while it is awake.
data[].name requiredstringlive, staging, or the name an agency gave a preview environment.
data[].branch requiredstringThe Git branch this environment runs. Live runs the default branch.
data[].source_env_id requiredstring or null (uuid)The environment this one was cloned from. Null for live.
data[].code_immutable requiredbooleanTrue when code on this environment is a read-only release. Live is always immutable; staging and previews are immutable only in the legacy Git mode.
data[].code_writablebooleanTrue when code may change in place: plugin and theme installs and updates, SFTP, SSH, wp-admin, and WP-CLI. Staging and previews with a working tree; never live. Every response sets it.
data[].connection_modestringADR 032: sftp (a writable working tree) or git (code changes only by Git). Live is always git. Derived from code_mode. Every response sets it. One of: sftp, git.
data[].content_store requiredobject or null
data[].status requiredstringOne of: provisioning, live, failed, resetting, deleting, sleeping, waking, suspended_abuse.
data[].abuse_case_referencestring or nullThe case reference while the environment is suspended_abuse, such as AB-2026-0017. The dashboard shows it with one sentence and a button that opens Nami chat. Null otherwise. The reason and the staff note are never sent.
data[].node_id requiredstring (uuid)UUIDv7

List the people who belong to a site

get/sites/{id}/membersPermalink to List the people who belong to a site

  • Scope: sites:read
  • Permission: sites.read

Lists the people who hold a Site Admin or Site Developer role on this site, with their name, email, and role, in pages of up to 200 (default 50). Members with a company wide role reach every site and are not listed here.

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.
limitqueryintegerHow many rows to return in one page: at most 200, and 50 when left out. Default: 50. Range: 1 to 200.
cursorquerystringThe next_cursor of the page before. Leave it out for the first page.

Responses

StatusBodyDescription
200SiteMemberListSite members
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
404ProblemThe thing in the path does not exist, or it belongs to another company. The answer is the same for both.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.
4XXProblemProblem Details (RFC 9457)

200 response fields

NameTypeDescription
data requiredarray of SiteMemberThe rows of this page.
data[].id requiredstring (uuid)The id of the site membership, used in PATCH and DELETE paths.
data[].site_id requiredstring (uuid)UUIDv7
data[].user_id requiredstring
data[].email requiredstring (email)
data[].name requiredstring
data[].role requiredstringOne of: site_admin, site_developer.
data[].created_at requiredstring (date-time)
next_cursor requiredstring or nullSend it as cursor to get the next page. Null on the last page.

Give a company member access to a site

post/sites/{id}/membersPermalink to Give a company member access to a site

  • Scope: sites:write
  • Permission: site_members.manage

Gives a company member the site_admin or site_developer role on this site. Name the person with user_id or email. Someone who is not in the company answers 404 (invite them first), and a member with a company wide role answers 422 because they already reach every site. Answers 201 with the site member.

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.
Idempotency-Key requiredheaderstringSend a fresh unique value on every POST: a POST without it answers 422. The answer is stored for 24 hours, so a retry with the same key and body returns the first answer, and the same key with a different body returns 422.

Request body application/json, required, AddSiteMemberRequest

Fields

NameTypeDescription
user_idstring
emailstring (email)
role requiredstringOne of: site_admin, site_developer.

Responses

StatusBodyDescription
201SiteMemberSite member
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
404ProblemThe thing in the path does not exist, or it belongs to another company. The answer is the same for both.
409ProblemThe current state does not allow this: the same change is already running, or another change got there first.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.
4XXProblemProblem Details (RFC 9457)

201 response fields

NameTypeDescription
id requiredstring (uuid)The id of the site membership, used in PATCH and DELETE paths.
site_id requiredstring (uuid)UUIDv7
user_id requiredstring
email requiredstring (email)
name requiredstring
role requiredstringOne of: site_admin, site_developer.
created_at requiredstring (date-time)

Change a site member's role

patch/sites/{id}/members/{member_id}Permalink to Change a site member's role

  • Scope: sites:write
  • Permission: site_members.manage

Changes the role a person holds on this site. member_id is the id of the site membership, not the user id. A lower role also takes away what only the higher role allowed on this site, such as the SSH keys and SFTP users the person made.

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.
member_id requiredpathstring (uuid)The id of the site member.
Idempotency-KeyheaderstringOptional on PUT and PATCH. When the call starts a job, a retry with the same key, path, and body within 24 hours returns that job instead of starting another. A different path or body starts a new job.

Request body application/json, required, PatchSiteMemberRequest

Fields

NameTypeDescription
role requiredstringOne of: site_admin, site_developer.

Responses

StatusBodyDescription
200SiteMemberSite member
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
404ProblemThe thing in the path does not exist, or it belongs to another company. The answer is the same for both.
409ProblemThe current state does not allow this: the same change is already running, or another change got there first.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.
4XXProblemProblem Details (RFC 9457)

200 response fields

NameTypeDescription
id requiredstring (uuid)The id of the site membership, used in PATCH and DELETE paths.
site_id requiredstring (uuid)UUIDv7
user_id requiredstring
email requiredstring (email)
name requiredstring
role requiredstringOne of: site_admin, site_developer.
created_at requiredstring (date-time)

Remove a person from one site

delete/sites/{id}/members/{member_id}Permalink to Remove a person from one site

  • Scope: sites:write
  • Permission: site_members.manage

Removes only this site. The person stays in the company.

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.
member_id requiredpathstring (uuid)The id of the site member.

Responses

StatusBodyDescription
204Removed
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
404ProblemThe thing in the path does not exist, or it belongs to another company. The answer is the same for both.
409ProblemThe current state does not allow this: the same change is already running, or another change got there first.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.
4XXProblemProblem Details (RFC 9457)

Set PHP performance for the live environment

put/sites/{id}/php-performancePermalink to Set PHP performance for the live environment

  • Scope: sites:write
  • Permission: environments.update

Sets php_threads (1 to 256) on the site's live environment and returns 202 with the Job. Send php_pool_mb as it is now: a different value answers 403. A thread count that does not fit the pool answers 422, and a site with no environment yet answers 409.

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.
Idempotency-KeyheaderstringOptional on PUT and PATCH. When the call starts a job, a retry with the same key, path, and body within 24 hours returns that job instead of starting another. A different path or body starts a new job.

Request body application/json, required, PhpPerformance

Fields

NameTypeDescription
php_threads requiredintegerRange: 1 to 256.
php_pool_mb requiredintegerRange: 64 to any.

Responses

StatusBodyDescription
202JobAccepted. The body is the Job object. Follow GET /jobs/{id}/events or poll GET /jobs/{id}.
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
404ProblemThe thing in the path does not exist, or it belongs to another company. The answer is the same for both.
409ProblemThe current state does not allow this: the same change is already running, or another change got there first.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.
4XXProblemProblem Details (RFC 9457)

202 response fields

NameTypeDescription
id requiredstring (uuid)UUIDv7
type requiredstringA node job type or an edge job type. One of: provision_environment, delete_environment, set_php_version, set_php_performance, set_php_settings, restart_php, clear_server_cache, search_replace, run_wp_cli, rotate_credentials, apply_nginx_settings, db_import, cron_sync, build_release, activate_release, create_repository, create_node, drain_node, delete_node, purchase_cud, files_write, files_delete, files_rename, phpmyadmin_session, db_check, db_rows_write, db_sql_execute, ssh_update, sftp_account_change, tool_setting, wp_user_create, set_code_mode, env_var_set, env_var_delete, reset_site, set_webroot, set_wp_secrets_key, wp_admin_login_token, wp_login_user_ensure, wp_login_users_remove, repo_commit_read, create_preview_environment, clone_content, merge_branch, create_snapshot, restore_snapshot, set_apm, push_content, commit_branch, sync_working_tree, issue_certificate, register_hostname, unregister_hostname, object_cache_set, patchstack_credentials_write, patchstack_credentials_remove, patchstack_kill_switch, set_disk_quota, prepare_standby, start_replication, verify_replica, fence_site, resync_replica, set_site_suspension, clear_log, promote_environment, copy_into_live, auto_update_run, delete_snapshot, prune_snapshots, backup_download, configure_git_remote, import_git_push, pull_external_git, offsite_backup_test, offsite_backup_run, offsite_backup_list, offsite_backup_restore, restart_service, container_exec, set_network_domain, map_subsite_domain, reap_orphan_containers, migrate_container, migrate_control, migrate_export, migrate_import, migrate_precopy, migrate_delta, migrate_freeze, migrate_thaw, update_mu_plugin, import_site_files, wake_environment, set_sleep_policy, integrity_check, malware_scan, malware_restore, container_images, rebuild_container, update_runtime_image, node_reboot_status, schedule_node_reboot, reboot_node, core_update_commit, core_update_advance, core_update_run, takedown_environment, release_takedown, set_egress, set_standby_hold, copy_evidence, drop_evidence, transfer_site, relabel_environment, record_site_facts, attach_domain, remove_domain, set_primary_domain, apply_redirects, apply_ip_rules, apply_bot_protection, purge_cache, apply_edge_settings, provision_dns_zone, refresh_ssl, set_edge_certificate, remove_edge_certificate, rename_site, rename_temp_hostname, network_sync, migration_fetch, migration_inspect, migration_triage, migration_import, migration_move, export_company_data, export_user_data, export_audit_log, purge_company, reseal_secrets, run_pagespeed, patchstack_provision, patchstack_deprovision, patchstack_reconcile, wp_login_member_users_remove, provision_standby, failover_site, failback_site, accessibility_scan.
status requiredstringOne of: queued, dispatched, running, succeeded, failed, cancelled.
environment_id requiredstring or null (uuid)UUIDv7
site_id requiredstring or null (uuid)UUIDv7
node_id requiredstring or null (uuid)UUIDv7
group_id requiredstring or null (uuid)UUIDv7
progress requiredintegerRange: 0 to 100.
attempts requiredintegerRange: 0 to any.
error requiredobject or null
error.code requiredstring
error.message requiredstring
error.retryable requiredbooleanDefault: false.
result requiredobject or null
descriptionstring or nullWhat the job does, in one plain sentence, such as "Turn on the server cron on site Elric (staging)". It names the action and the place and never holds a secret, a value, or site content: a WP-CLI command shows its command words and the names that are safe to show, and a placeholder such as "(value hidden)" for the rest. Null on old servers.
site_namestring or nullThe name of the site the job belongs to, when it has one.
environment_namestring or nullThe name of the environment the job runs on, such as live or staging.
quietbooleanTrue for background work and reads, such as a cron sync or a login link lookup. A customer screen leaves a quiet job out of its bell, its lists, and its toasts. Quiet jobs are still stored, audited, and retried. Absent on old servers, where nothing is quiet.
parent_job_idstring or null (uuid)The job this one works for: the job that ran it as a step, or that queued it as a follow-up. That job reads as done only once its follow-ups ended: it stays running until then, and its log names any follow-up that failed. Null for a job nobody started on another's behalf. Absent on old servers.
requested_by requiredobject
requested_by.type requiredstringOne of: user, api_key, mcp_agent, system.
requested_by.id requiredstring or null
requested_by.label requiredstring or null
requested_by.client_namestring or nullMCP client name and version from the handshake, for mcp_agent requests.

Check what a rename does to the custom domains

get/sites/{id}/rename-impactPermalink to Check what a rename does to the custom domains

  • Scope: sites:read
  • Permission: sites.update

Ask before a rename with name. A domain connected with A and AAAA records does not depend on the site name and is not listed. Only a domain that still has an older CNAME to the site's temporary address is: a rename removes that address at once, with no grace period. Each listed domain has update: automatic when WP Waterfall hosts its DNS and replaces the CNAME with the A and AAAA records during the rename, or update: manual when its DNS is at another provider and the customer must replace the CNAME with the records in new_addresses. new_target is always null. A name that is taken or reserved answers the same errors as the rename.

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.
name requiredquerystring

Responses

StatusBodyDescription
200SiteRenameImpactWhat the rename changes
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
404ProblemThe thing in the path does not exist, or it belongs to another company. The answer is the same for both.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.
4XXProblemProblem Details (RFC 9457)

200 response fields

NameTypeDescription
label requiredstringThe label the new name gives.
custom_domains requiredarray of object
custom_domains[].domain_id requiredstring (uuid)
custom_domains[].hostname requiredstring
custom_domains[].environment_id requiredstring (uuid)
custom_domains[].environment_name requiredstring
custom_domains[].update requiredstringOne of: automatic, manual.
custom_domains[].record_type requiredstringThe record that stops working: the customer's older CNAME.
custom_domains[].new_target requiredstringThe name the CNAME points at after the change: the fallback origin.

Reset a site

post/sites/{id}/resetPermalink to Reset a site

  • Scope: danger:destroy
  • Permission: sites.delete
  • Needs a confirmation

Resets staging. The body repeats the site name. Before launch, staging is wiped and WordPress is installed again from the template. Once live runs, staging gets live's code, database, and uploads again, after a restore point of staging (reset staging). Live itself is never reset: environment: live answers 409 (live_is_immutable), because live changes only through a promote from staging or a restore.

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.
Idempotency-Key requiredheaderstringSend a fresh unique value on every POST: a POST without it answers 422. The answer is stored for 24 hours, so a retry with the same key and body returns the first answer, and the same key with a different body returns 422.
confirmquerystringAn API key must say yes to this change: confirm=true here, or confirm: true in the JSON body. Without it the call answers 422 and changes nothing. One of: true.

Request body application/json, required, ResetSiteRequest

Fields

NameTypeDescription
confirm requiredboolean
confirm_name requiredstring
templatestringOne of: fresh_wordpress, woocommerce, multisite, empty. Default: fresh_wordpress.
multisite_modestringThe network mode for the multisite template. Left out, the environment keeps its own. One of: subdirectory, subdomain.
php_versionstringOne of: 8.1, 8.2, 8.3, 8.4, 8.5.
environmentstringThe environment to reset. Staging is the only one that can be reset. One of: staging, live. Default: staging.

Responses

StatusBodyDescription
202JobAccepted. The body is the Job object. Follow GET /jobs/{id}/events or poll GET /jobs/{id}.
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
404ProblemThe thing in the path does not exist, or it belongs to another company. The answer is the same for both.
409ProblemThe current state does not allow this: the same change is already running, or another change got there first.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.
4XXProblemProblem Details (RFC 9457)

202 response fields

NameTypeDescription
id requiredstring (uuid)UUIDv7
type requiredstringA node job type or an edge job type. One of: provision_environment, delete_environment, set_php_version, set_php_performance, set_php_settings, restart_php, clear_server_cache, search_replace, run_wp_cli, rotate_credentials, apply_nginx_settings, db_import, cron_sync, build_release, activate_release, create_repository, create_node, drain_node, delete_node, purchase_cud, files_write, files_delete, files_rename, phpmyadmin_session, db_check, db_rows_write, db_sql_execute, ssh_update, sftp_account_change, tool_setting, wp_user_create, set_code_mode, env_var_set, env_var_delete, reset_site, set_webroot, set_wp_secrets_key, wp_admin_login_token, wp_login_user_ensure, wp_login_users_remove, repo_commit_read, create_preview_environment, clone_content, merge_branch, create_snapshot, restore_snapshot, set_apm, push_content, commit_branch, sync_working_tree, issue_certificate, register_hostname, unregister_hostname, object_cache_set, patchstack_credentials_write, patchstack_credentials_remove, patchstack_kill_switch, set_disk_quota, prepare_standby, start_replication, verify_replica, fence_site, resync_replica, set_site_suspension, clear_log, promote_environment, copy_into_live, auto_update_run, delete_snapshot, prune_snapshots, backup_download, configure_git_remote, import_git_push, pull_external_git, offsite_backup_test, offsite_backup_run, offsite_backup_list, offsite_backup_restore, restart_service, container_exec, set_network_domain, map_subsite_domain, reap_orphan_containers, migrate_container, migrate_control, migrate_export, migrate_import, migrate_precopy, migrate_delta, migrate_freeze, migrate_thaw, update_mu_plugin, import_site_files, wake_environment, set_sleep_policy, integrity_check, malware_scan, malware_restore, container_images, rebuild_container, update_runtime_image, node_reboot_status, schedule_node_reboot, reboot_node, core_update_commit, core_update_advance, core_update_run, takedown_environment, release_takedown, set_egress, set_standby_hold, copy_evidence, drop_evidence, transfer_site, relabel_environment, record_site_facts, attach_domain, remove_domain, set_primary_domain, apply_redirects, apply_ip_rules, apply_bot_protection, purge_cache, apply_edge_settings, provision_dns_zone, refresh_ssl, set_edge_certificate, remove_edge_certificate, rename_site, rename_temp_hostname, network_sync, migration_fetch, migration_inspect, migration_triage, migration_import, migration_move, export_company_data, export_user_data, export_audit_log, purge_company, reseal_secrets, run_pagespeed, patchstack_provision, patchstack_deprovision, patchstack_reconcile, wp_login_member_users_remove, provision_standby, failover_site, failback_site, accessibility_scan.
status requiredstringOne of: queued, dispatched, running, succeeded, failed, cancelled.
environment_id requiredstring or null (uuid)UUIDv7
site_id requiredstring or null (uuid)UUIDv7
node_id requiredstring or null (uuid)UUIDv7
group_id requiredstring or null (uuid)UUIDv7
progress requiredintegerRange: 0 to 100.
attempts requiredintegerRange: 0 to any.
error requiredobject or null
error.code requiredstring
error.message requiredstring
error.retryable requiredbooleanDefault: false.
result requiredobject or null
descriptionstring or nullWhat the job does, in one plain sentence, such as "Turn on the server cron on site Elric (staging)". It names the action and the place and never holds a secret, a value, or site content: a WP-CLI command shows its command words and the names that are safe to show, and a placeholder such as "(value hidden)" for the rest. Null on old servers.
site_namestring or nullThe name of the site the job belongs to, when it has one.
environment_namestring or nullThe name of the environment the job runs on, such as live or staging.
quietbooleanTrue for background work and reads, such as a cron sync or a login link lookup. A customer screen leaves a quiet job out of its bell, its lists, and its toasts. Quiet jobs are still stored, audited, and retried. Absent on old servers, where nothing is quiet.
parent_job_idstring or null (uuid)The job this one works for: the job that ran it as a step, or that queued it as a follow-up. That job reads as done only once its follow-ups ended: it stays running until then, and its log names any follow-up that failed. Null for a job nobody started on another's behalf. Absent on old servers.
requested_by requiredobject
requested_by.type requiredstringOne of: user, api_key, mcp_agent, system.
requested_by.id requiredstring or null
requested_by.label requiredstring or null
requested_by.client_namestring or nullMCP client name and version from the handshake, for mcp_agent requests.