Add-ons
14 operations in the WP Waterfall API.
- getRead the Enterprise Support of the company
- postTurn on Enterprise Support
- deleteTurn off the Enterprise Support add-on
- getRead the Standby Failover state of a site
- postFail back to the home server, or swap the roles
- getRead the measured uptime of a site
- postAsk WP Waterfall to add a contact us add-on to a site
- getSite add-ons, their prices, and whether each is on
- postTurn off a self-serve add-on
- postTurn off an add-on for a site
- postTurn on an add-on for a site
- postBuy or change a self-serve add-on
- postRetry the node work of a self-serve add-on
- getThe live state of the Redis object cache
Read the Enterprise Support of the company
get/companies/me/enterprise-supportPermalink to Read the Enterprise Support of the company
- Scope:
billing:read - Permission:
billing.read
Where the company's Enterprise Support stands, with no site needed. mode is included for an Enterprise account (every level includes it, so nothing is charged and enabled is true) and add_on for any other company, which can buy it for $500 a month. monthly_cents is that price, or null when the support is included. purchase is the add-on that is on now, with the day it renews, and support holds the dedicated Slack channel and the named support contact once they exist (status setting_up until WP Waterfall creates the channel, then ready). Owners, Admins, and Billing users.
Responses
| Status | Body | Description |
|---|---|---|
200 | EnterpriseSupportStatus | The Enterprise Support |
401 | Problem | The credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme. |
403 | Problem | The credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing. |
429 | Problem | A rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address. |
4XX | Problem | Problem Details (RFC 9457) |
200 response fields
| Name | Type | Description |
|---|---|---|
mode required | string | One of: included, add_on. |
enabled required | boolean | True once the support is on: always for an Enterprise account, after a purchase otherwise. |
monthly_cents required | integer or null | The price of the add-on in cents a month. Null when the support is included. Range: 0 to any. |
purchase required | object or null | The add-on purchase that is on now. Null while it is off and for an included account. |
purchase.addon_id required | string (uuid) | The commerce add-on record. |
purchase.status required | string | One of: pending, active. |
purchase.quantity required | integer | |
purchase.monthly_cents required | integer | The charge for the whole purchase per price_unit, in cents: per month, or per year for a yearly add-on. The name is kept for existing readers. Range: 0 to any. |
purchase.price_unit | string | What monthly_cents is per. month unless the add-on is billed yearly. One of: month, year, backup. |
purchase.renews_at | string or null (date-time) | When a yearly add-on renews, and when its current year ends. Null for monthly add-ons. |
purchase.environment_id required | string or null (uuid) | |
purchase.complimentary | boolean | True when WP Waterfall support turned the add-on on at no charge. Absent or false when it is paid. |
purchase.added_gb required | integer or null | Additional disk space only: GB added to the account. Range: 0 to any. |
purchase.added_mb | integer or null | PHP Performance only: MB added to the pool of the live environment. Range: 0 to any. |
purchase.covers_gb | integer | Standby Failover only: the site size in GB this purchase covers (50 for the $300 base price, 100 for $400, and so on). A purchase made before size based pricing covers 50 GB. |
purchase.node_status required | string | One of: applied, applying, failed, none. |
purchase.created_at required | string (date-time) | |
support required | object or null | The Slack channel and the support contact. Null while the support is off. |
support.status required | string | One of: setting_up, ready. |
support.slack_channel required | string or null | The channel name, or the link as staff entered it. Null until staff enter it. |
support.slack_url required | string or null | Set when the channel is a Slack link, so the dashboard can open it. |
support.contact_name required | string or null | |
support.contact_email required | string or null |
Turn on Enterprise Support
post/companies/me/enterprise-supportPermalink to Turn on Enterprise Support
- Scope:
billing:write - Permission:
billing.write - Needs a confirmation
For a company that buys it, charges $500 for the month to the saved card now on its own monthly subscription and renews on the same day each month (402 when there is no saved card or the card does not pay, and 429 after 20 purchases from one company in an hour). It then asks WP Waterfall for the dedicated Slack channel. For an Enterprise account the support is included: this charges nothing, needs no card, and only asks for the channel, once. Sending it again changes nothing. Owners, Admins, and Billing users only. With an API key it needs confirm: true and the billing:write scope.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
Idempotency-Key required | header | string | Send 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. |
confirm | query | string | An 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, EnableEnterpriseSupportRequest
Fields
| Name | Type | Description |
|---|---|---|
confirm | boolean | The MCP server and API keys send it. The dashboard confirms in its own dialog. |
Responses
| Status | Body | Description |
|---|---|---|
202 | EnterpriseSupportChange | Accepted. The support is on. |
400 | Problem | The request could not be read: bad JSON, a bad header, or a malformed value. |
401 | Problem | The credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme. |
403 | Problem | The credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing. |
409 | Problem | The current state does not allow this: the same change is already running, or another change got there first. |
422 | Problem | The request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field. |
429 | Problem | A rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address. |
4XX | Problem | Problem Details (RFC 9457) |
202 response fields
| Name | Type | Description |
|---|---|---|
support required | EnterpriseSupportStatus | GET /companies/me/enterprise-support: where the company's Enterprise Support stands. |
support.mode required | string | One of: included, add_on. |
support.enabled required | boolean | True once the support is on: always for an Enterprise account, after a purchase otherwise. |
support.monthly_cents required | integer or null | The price of the add-on in cents a month. Null when the support is included. Range: 0 to any. |
support.purchase required | object or null | The add-on purchase that is on now. Null while it is off and for an included account. |
support.support required | object or null | The Slack channel and the support contact. Null while the support is off. |
proration_cents required | integer | Cents added to the next invoice now. Range: 0 to any. |
credit_cents required | integer | Cents credited to the account for unused days. Range: 0 to any. |
Turn off the Enterprise Support add-on
delete/companies/me/enterprise-supportPermalink to Turn off the Enterprise Support add-on
- Scope:
billing:write - Permission:
billing.write - Needs a confirmation
Ends the add-on now. The unused days of the month are credited to the account balance and not the card, its own subscription ends, and the open set-up task for the Slack channel closes. The channel and the contact stay saved for a return. 409 when the support is not on, and 409 for an Enterprise account, whose support is included. Owners, Admins, and Billing users only. Needs confirm=true.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
confirm | query | string | One of: true. |
Responses
| Status | Body | Description |
|---|---|---|
202 | EnterpriseSupportChange | Accepted. The add-on is off. |
400 | Problem | The request could not be read: bad JSON, a bad header, or a malformed value. |
401 | Problem | The credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme. |
403 | Problem | The credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing. |
409 | Problem | The current state does not allow this: the same change is already running, or another change got there first. |
422 | Problem | The request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field. |
429 | Problem | A rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address. |
4XX | Problem | Problem Details (RFC 9457) |
202 response fields
| Name | Type | Description |
|---|---|---|
support required | EnterpriseSupportStatus | GET /companies/me/enterprise-support: where the company's Enterprise Support stands. |
support.mode required | string | One of: included, add_on. |
support.enabled required | boolean | True once the support is on: always for an Enterprise account, after a purchase otherwise. |
support.monthly_cents required | integer or null | The price of the add-on in cents a month. Null when the support is included. Range: 0 to any. |
support.purchase required | object or null | The add-on purchase that is on now. Null while it is off and for an included account. |
support.support required | object or null | The Slack channel and the support contact. Null while the support is off. |
proration_cents required | integer | Cents added to the next invoice now. Range: 0 to any. |
credit_cents required | integer | Cents credited to the account for unused days. Range: 0 to any. |
Read the Standby Failover state of a site
get/environments/{id}/disaster-recoveryPermalink to Read the Standby Failover state of a site
- Scope:
sites:read - Permission:
sites.read
The state of the site's standby copy: off, setting_up, active, failing_over, degraded, resyncing, or failing_back, the setup step while it sets up, the standby provider and location, the replication lag, where the site runs now (primary or standby), the fencing epoch, and when an automatic failback is due. sla_applies is true only in the state active, when the standby copy is ready to take over. It is not an uptime guarantee: WP Waterfall makes none. monthly_cents is what the site pays a month, or the price for its size before it buys: $300 up to 50 GB and $100 more for each further 50 GB, on a shared node and on a dedicated server. The state is off until the add-on is bought. Answers 404 for an environment of another company.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string (uuid) | The id of the environment. |
Responses
| Status | Body | Description |
|---|---|---|
200 | DisasterRecovery | The Standby Failover state |
400 | Problem | The request could not be read: bad JSON, a bad header, or a malformed value. |
401 | Problem | The credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme. |
403 | Problem | The credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing. |
404 | Problem | The thing in the path does not exist, or it belongs to another company. The answer is the same for both. |
422 | Problem | The request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field. |
429 | Problem | A rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address. |
4XX | Problem | Problem Details (RFC 9457) |
200 response fields
| Name | Type | Description |
|---|---|---|
environment_id required | string (uuid) | UUIDv7 |
site_id required | string (uuid) | UUIDv7 |
purchased required | boolean | True when the add-on is on this site's subscription. |
state required | string | One of: off, setting_up, active, failing_over, degraded, resyncing, failing_back. |
setup_step required | string or null | The step of the first setup, while state is setting_up. Null otherwise. One of: queued, finding_standby, waiting_for_standby, copying, verifying, done. |
monthly_cents required | integer | The price of the add-on in cents a month. Range: 0 to any. |
sla_applies required | boolean | True only while the state is active: the standby copy is ready to take over. It is not an uptime guarantee. |
standby required | object or null | Where the standby copy lives: the provider's name and metro area, or null before one is chosen. |
standby.provider required | string | |
standby.location required | string | |
replication required | object | |
replication.lag_seconds required | integer or null | Seconds since the newest copy on the standby, or null when none arrived yet. Range: 0 to any. |
replication.rpo_seconds required | integer | |
replication.last_replicated_at required | string or null (date-time) | |
last_verified_at required | string or null (date-time) | |
active_since required | string or null (date-time) | |
last_failover_at required | string or null (date-time) | |
running_on required | string | Where the live container runs now. standby from a failover until a failback or a role swap. One of: primary, standby. |
epoch required | integer | The fencing epoch. It rises by one at every promotion and every role swap. Range: 0 to any. |
failback_due_at required | string or null (date-time) | When the automatic failback is due (the resync is done and the stability window runs), or null. |
job_id required | string or null (uuid) | The job that sets up or repairs the standby, while one runs. |
problem required | string or null | Why setup stopped, in plain words. Null when nothing is wrong. |
Fail back to the home server, or swap the roles
post/environments/{id}/disaster-recovery/failbackPermalink to Fail back to the home server, or swap the roles
- Scope:
sites:write - Permission:
sites.delete - Needs a confirmation
Owners and admins only. Queues a failback_site job while the site runs on its standby. The failback is never blind: it waits until the old primary is resynced and healthy, freezes writes for a few seconds for the last delta, then moves traffic back. With role_swap true the standby stays the primary and the old primary becomes the standby. Answers 409 when the site does not run on its standby.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string (uuid) | The id of the environment. |
Idempotency-Key required | header | string | Send 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. |
confirm | query | string | An 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, HaFailbackRequest
Fields
| Name | Type | Description |
|---|---|---|
role_swap | boolean | Keep the standby as the new primary and make the old primary the standby. Default: false. |
confirm | boolean | The MCP server and API keys send it. |
Responses
| Status | Body | Description |
|---|---|---|
202 | Job | Accepted. The failback_site job is queued. |
400 | Problem | The request could not be read: bad JSON, a bad header, or a malformed value. |
401 | Problem | The credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme. |
403 | Problem | The credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing. |
404 | Problem | The thing in the path does not exist, or it belongs to another company. The answer is the same for both. |
409 | Problem | The current state does not allow this: the same change is already running, or another change got there first. |
422 | Problem | The request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field. |
429 | Problem | A rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address. |
4XX | Problem | Problem Details (RFC 9457) |
202 response fields
| Name | Type | Description |
|---|---|---|
id required | string (uuid) | UUIDv7 |
type required | string | A 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 required | string | One of: queued, dispatched, running, succeeded, failed, cancelled. |
environment_id required | string or null (uuid) | UUIDv7 |
site_id required | string or null (uuid) | UUIDv7 |
node_id required | string or null (uuid) | UUIDv7 |
group_id required | string or null (uuid) | UUIDv7 |
progress required | integer | Range: 0 to 100. |
attempts required | integer | Range: 0 to any. |
error required | object or null | |
error.code required | string | |
error.message required | string | |
error.retryable required | boolean | Default: false. |
result required | object or null | |
description | string or null | What 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_name | string or null | The name of the site the job belongs to, when it has one. |
environment_name | string or null | The name of the environment the job runs on, such as live or staging. |
quiet | boolean | True 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_id | string 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 required | object | |
requested_by.type required | string | One of: user, api_key, mcp_agent, system. |
requested_by.id required | string or null | |
requested_by.label required | string or null | |
requested_by.client_name | string or null | MCP client name and version from the handshake, for mcp_agent requests. |
Read the measured uptime of a site
get/environments/{id}/disaster-recovery/uptimePermalink to Read the measured uptime of a site
- Scope:
sites:read - Permission:
sites.read
What the outside probes measured this month while the standby copy was active, in UTC: uptime_percent, the downtime that counts, and each incident. It is information only: WP Waterfall makes no uptime guarantee and gives no credits for downtime. Time in the daily 2 am to 5 am window of the site's region and time measuring was paused are left out. uptime_percent is null until the probes have measured the month. Answers 404 for an environment of another company.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string (uuid) | The id of the environment. |
Responses
| Status | Body | Description |
|---|---|---|
200 | UptimeReport | The measured month |
400 | Problem | The request could not be read: bad JSON, a bad header, or a malformed value. |
401 | Problem | The credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme. |
403 | Problem | The credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing. |
404 | Problem | The thing in the path does not exist, or it belongs to another company. The answer is the same for both. |
422 | Problem | The request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field. |
429 | Problem | A rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address. |
4XX | Problem | Problem Details (RFC 9457) |
200 response fields
| Name | Type | Description |
|---|---|---|
month required | string | The month this report describes, in UTC. |
uptime_percent required | number or null | Null until the probes have measured the month. Range: 0 to 100. |
downtime_minutes required | integer or null | Range: 0 to any. |
incidents required | array of object | This month's downtime that counts, oldest first. |
incidents[].started_at required | string (date-time) | |
incidents[].ended_at required | string or null (date-time) | The first good check. Null while the site is still down. |
incidents[].minutes required | integer | The whole minutes that count: the daily window and any paused time are left out. |
Ask WP Waterfall to add a contact us add-on to a site
post/sites/{id}/add-on-requestsPermalink to Ask WP Waterfall to add a contact us add-on to a site
- Scope:
billing:write - Permission:
billing.write - Needs a confirmation
Records a request that WP Waterfall staff apply by hand, such as a dedicated server, Standby Failover for a dedicated server (from $300 a month, by site size), or a reverse proxy. Nothing is charged until staff apply the add-on. Answers 409 while an open request for the same add-on exists, and 429 after 10 requests from one company in 24 hours.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string (uuid) | The id of the site. |
Idempotency-Key required | header | string | Send 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. |
confirm | query | string | An 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, CreateAddOnRequest
Fields
| Name | Type | Description |
|---|---|---|
add_on required | string | One of: additional_disk, php_performance, dedicated_server, disaster_recovery, safe_updates, reverse_proxy, hourly_backups, external_backups. |
note | string | Anything staff should know: sizes, timing, the domain for a reverse proxy. |
confirm | boolean | The MCP server and API keys send it. The dashboard confirms in its own dialog. |
Responses
| Status | Body | Description |
|---|---|---|
201 | AddOnRequest | The request |
400 | Problem | The request could not be read: bad JSON, a bad header, or a malformed value. |
401 | Problem | The credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme. |
403 | Problem | The credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing. |
404 | Problem | The thing in the path does not exist, or it belongs to another company. The answer is the same for both. |
409 | Problem | The current state does not allow this: the same change is already running, or another change got there first. |
422 | Problem | The request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field. |
429 | Problem | A rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address. |
4XX | Problem | Problem Details (RFC 9457) |
201 response fields
| Name | Type | Description |
|---|---|---|
id required | string (uuid) | |
company_id required | string | |
site_id required | string or null (uuid) | Null for a request about the whole company, such as the Enterprise support set-up task. |
add_on required | string | One of: additional_disk, additional_previews, php_performance, dedicated_server, disaster_recovery, safe_updates, reverse_proxy, object_cache, hourly_backups, external_backups, custom_ssl, enterprise_support. |
note required | string or null | |
status required | string | One of: open, fulfilled, declined, ended. |
requested_by required | string | |
requested_at required | string (date-time) | |
resolved_at required | string or null (date-time) | |
resolved_by required | string or null |
Site add-ons, their prices, and whether each is on
get/sites/{id}/add-onsPermalink to Site add-ons, their prices, and whether each is on
- Scope:
sites:read - Permission:
sites.read
Every add-on in the order the Add-ons tab shows them, with its price from the billing catalog, how it is taken (toggle, request, connect, add_to_plan, or enable), whether it is on, the purchase of a self-serve add-on, and the latest request for a contact us add-on. Hourly backups answer for the environment in environment_id, the live environment by default.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string (uuid) | The id of the site. |
environment_id | query | string (uuid) | Per environment add-ons answer for this environment. The live environment by default. |
Responses
| Status | Body | Description |
|---|---|---|
200 | SiteAddonList | Add-ons |
400 | Problem | The request could not be read: bad JSON, a bad header, or a malformed value. |
401 | Problem | The credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme. |
403 | Problem | The credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing. |
404 | Problem | The thing in the path does not exist, or it belongs to another company. The answer is the same for both. |
422 | Problem | The request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field. |
429 | Problem | A rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address. |
4XX | Problem | Problem Details (RFC 9457) |
200 response fields
| Name | Type | Description |
|---|---|---|
data required | array of object | |
data[].id required | string | One of: additional_disk, additional_previews, php_performance, dedicated_server, disaster_recovery, safe_updates, reverse_proxy, object_cache, hourly_backups, external_backups, custom_ssl. |
data[].name required | string | |
data[].description required | string | |
data[].monthly_cents required | integer or null | The price per price_unit in cents. Null means custom pricing (quoted by staff). Range: 0 to any. |
data[].setup_cents required | integer or null | A one-time setup charge in cents, when the catalog has one. Range: 0 to any. |
data[].price_unit required | string | One of: month, year, backup. |
data[].status required | string | One of: DRAFT, confirmed. |
data[].action required | string | One of: toggle, request, connect, add_to_plan, enable, manage. |
data[].enabled required | boolean | True once the add-on is on for this site: the node switched it on (toggle), or staff fulfilled the request (request). |
data[].request required | object or null | The latest request for a contact us add-on. Null when there is none, or for other actions. |
data[].purchase | object or null | Self-serve add-ons: the purchase that is on now. Null while the add-on is off. For Hourly backups it is the purchase of the environment the list was read for. |
data[].max_quantity | integer | Add-ons bought in blocks (Additional disk space, PHP Performance): the most blocks this site or account can hold. For PHP Performance it is zero when the included pool already reaches the limit. Absent for other add-ons. Range: 0 to any. |
data[].disk_overage | array of object | Additional disk space only: the environments of this site that use more disk than they have, with the disk used and the disk each has. Absent or empty while none is over. |
data[].object_cache | object or null | Redis object cache only: the verified state. Null while the add-on is off or for other add-ons. |
data[].disaster_recovery | one of DisasterRecovery, null | Standby Failover only: the state of the site's standby copy. Null while the add-on is off. |
data[].uptime_guarantee | object or null | Standby Failover only: where the customer's request stands, in the four plain states the card shows: Requested, Being set up, Active, or Not available with the reason. Null when nobody asked for it and it is off. |
data[].site_size_gb | integer | Standby Failover only: the size of this site in GB for the price (the disk its plan lets one site use). monthly_cents is the price for that size, or what the site pays once it has bought. |
data[].starts_at_cents | integer | Standby Failover only: the starting price in cents a month, for a site up to 50 GB. |
data[].preview_slots | object | Additional Preview Environments only: the company's slots. |
next_cursor required | any | |
environment_id | string or null (uuid) | The environment per environment add-ons (Hourly backups) were read for. |
Turn off a self-serve add-on
post/sites/{id}/add-ons/{addon_id}/cancelPermalink to Turn off a self-serve add-on
- Scope:
billing:write - Permission:
billing.write
Ends the add-on now. The unused days of this period are credited to the account and the charge stops; for custom_ssl the credit is the unused days of its own year, to the account balance and not the card, and its own subscription ends. Additional disk space sets every quota back (409 when the account uses more disk than the plan alone has). Hourly backups go back to the daily schedule; backups already taken stay until they expire. Standby Failover turns the state off and frees the standby slot; it answers 409 while the site runs on its standby (fail back first). External backups end when the bucket is removed on the Backups tab, so this answers 409 for them.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string (uuid) | The id of the site. |
addon_id required | path | string | The add-on key, such as additional_disk. |
Idempotency-Key required | header | string | Send 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, CancelSiteAddon
Fields
| Name | Type | Description |
|---|---|---|
environment_id | string (uuid) | |
confirm | boolean |
Responses
| Status | Body | Description |
|---|---|---|
202 | SiteAddonChange | Accepted. The add-on is off; node jobs, if any, are in job_ids. |
400 | Problem | The request could not be read: bad JSON, a bad header, or a malformed value. |
401 | Problem | The credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme. |
403 | Problem | The credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing. |
404 | Problem | The thing in the path does not exist, or it belongs to another company. The answer is the same for both. |
409 | Problem | The current state does not allow this: the same change is already running, or another change got there first. |
422 | Problem | The request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field. |
429 | Problem | A rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address. |
4XX | Problem | Problem Details (RFC 9457) |
202 response fields
| Name | Type | Description |
|---|---|---|
add_on required | object | |
add_on.id required | string | One of: additional_disk, additional_previews, php_performance, dedicated_server, disaster_recovery, safe_updates, reverse_proxy, object_cache, hourly_backups, external_backups, custom_ssl. |
add_on.name required | string | |
add_on.description required | string | |
add_on.monthly_cents required | integer or null | The price per price_unit in cents. Null means custom pricing (quoted by staff). Range: 0 to any. |
add_on.setup_cents required | integer or null | A one-time setup charge in cents, when the catalog has one. Range: 0 to any. |
add_on.price_unit required | string | One of: month, year, backup. |
add_on.status required | string | One of: DRAFT, confirmed. |
add_on.action required | string | One of: toggle, request, connect, add_to_plan, enable, manage. |
add_on.enabled required | boolean | True once the add-on is on for this site: the node switched it on (toggle), or staff fulfilled the request (request). |
add_on.request required | object or null | The latest request for a contact us add-on. Null when there is none, or for other actions. |
add_on.purchase | object or null | Self-serve add-ons: the purchase that is on now. Null while the add-on is off. For Hourly backups it is the purchase of the environment the list was read for. |
add_on.max_quantity | integer | Add-ons bought in blocks (Additional disk space, PHP Performance): the most blocks this site or account can hold. For PHP Performance it is zero when the included pool already reaches the limit. Absent for other add-ons. Range: 0 to any. |
add_on.disk_overage | array of object | Additional disk space only: the environments of this site that use more disk than they have, with the disk used and the disk each has. Absent or empty while none is over. |
add_on.object_cache | object or null | Redis object cache only: the verified state. Null while the add-on is off or for other add-ons. |
add_on.disaster_recovery | one of DisasterRecovery, null | Standby Failover only: the state of the site's standby copy. Null while the add-on is off. |
add_on.uptime_guarantee | object or null | Standby Failover only: where the customer's request stands, in the four plain states the card shows: Requested, Being set up, Active, or Not available with the reason. Null when nobody asked for it and it is off. |
add_on.site_size_gb | integer | Standby Failover only: the size of this site in GB for the price (the disk its plan lets one site use). monthly_cents is the price for that size, or what the site pays once it has bought. |
add_on.starts_at_cents | integer | Standby Failover only: the starting price in cents a month, for a site up to 50 GB. |
add_on.preview_slots | object | Additional Preview Environments only: the company's slots. |
proration_cents required | integer | Cents added to the next invoice now for the rest of this period. Range: 0 to any. |
credit_cents required | integer | Cents credited to the account for unused days. Range: 0 to any. |
job_ids required | array of string | Node jobs the change queued, such as one set_disk_quota per environment. |
Turn off an add-on for a site
post/sites/{id}/add-ons/{addon_id}/disablePermalink to Turn off an add-on for a site
- Scope:
billing:write - Permission:
billing.write
Queues a job that switches the add-on off in the site's live container. The add-on is off once the job succeeds. Only add-ons with the toggle action.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string (uuid) | The id of the site. |
addon_id required | path | string | The add-on key, such as additional_disk. |
Idempotency-Key required | header | string | Send 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. |
Responses
| Status | Body | Description |
|---|---|---|
202 | Job | Accepted. The node is switching the add-on off. The body is the Job object. |
400 | Problem | The request could not be read: bad JSON, a bad header, or a malformed value. |
401 | Problem | The credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme. |
403 | Problem | The credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing. |
404 | Problem | The thing in the path does not exist, or it belongs to another company. The answer is the same for both. |
409 | Problem | The current state does not allow this: the same change is already running, or another change got there first. |
422 | Problem | The request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field. |
429 | Problem | A rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address. |
4XX | Problem | Problem Details (RFC 9457) |
202 response fields
| Name | Type | Description |
|---|---|---|
id required | string (uuid) | UUIDv7 |
type required | string | A 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 required | string | One of: queued, dispatched, running, succeeded, failed, cancelled. |
environment_id required | string or null (uuid) | UUIDv7 |
site_id required | string or null (uuid) | UUIDv7 |
node_id required | string or null (uuid) | UUIDv7 |
group_id required | string or null (uuid) | UUIDv7 |
progress required | integer | Range: 0 to 100. |
attempts required | integer | Range: 0 to any. |
error required | object or null | |
error.code required | string | |
error.message required | string | |
error.retryable required | boolean | Default: false. |
result required | object or null | |
description | string or null | What 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_name | string or null | The name of the site the job belongs to, when it has one. |
environment_name | string or null | The name of the environment the job runs on, such as live or staging. |
quiet | boolean | True 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_id | string 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 required | object | |
requested_by.type required | string | One of: user, api_key, mcp_agent, system. |
requested_by.id required | string or null | |
requested_by.label required | string or null | |
requested_by.client_name | string or null | MCP client name and version from the handshake, for mcp_agent requests. |
Turn on an add-on for a site
post/sites/{id}/add-ons/{addon_id}/enablePermalink to Turn on an add-on for a site
- Scope:
billing:write - Permission:
billing.write - Needs a confirmation
Queues a job that switches the add-on on in the site's live container. The add-on is on once the job succeeds. For the object cache, the node checks that WordPress sets and reads a key in Redis before the job succeeds; when it can not, the job fails with the reason, the cache is off again, and the add-on is not billed. Only add-ons with the toggle action.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string (uuid) | The id of the site. |
addon_id required | path | string | The add-on key, such as additional_disk. |
Idempotency-Key required | header | string | Send 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. |
confirm | query | string | An 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. |
Responses
| Status | Body | Description |
|---|---|---|
202 | Job | Accepted. The node is switching the add-on on. The body is the Job object. |
400 | Problem | The request could not be read: bad JSON, a bad header, or a malformed value. |
401 | Problem | The credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme. |
403 | Problem | The credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing. |
404 | Problem | The thing in the path does not exist, or it belongs to another company. The answer is the same for both. |
409 | Problem | The current state does not allow this: the same change is already running, or another change got there first. |
422 | Problem | The request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field. |
429 | Problem | A rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address. |
4XX | Problem | Problem Details (RFC 9457) |
202 response fields
| Name | Type | Description |
|---|---|---|
id required | string (uuid) | UUIDv7 |
type required | string | A 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 required | string | One of: queued, dispatched, running, succeeded, failed, cancelled. |
environment_id required | string or null (uuid) | UUIDv7 |
site_id required | string or null (uuid) | UUIDv7 |
node_id required | string or null (uuid) | UUIDv7 |
group_id required | string or null (uuid) | UUIDv7 |
progress required | integer | Range: 0 to 100. |
attempts required | integer | Range: 0 to any. |
error required | object or null | |
error.code required | string | |
error.message required | string | |
error.retryable required | boolean | Default: false. |
result required | object or null | |
description | string or null | What 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_name | string or null | The name of the site the job belongs to, when it has one. |
environment_name | string or null | The name of the environment the job runs on, such as live or staging. |
quiet | boolean | True 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_id | string 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 required | object | |
requested_by.type required | string | One of: user, api_key, mcp_agent, system. |
requested_by.id required | string or null | |
requested_by.label required | string or null | |
requested_by.client_name | string or null | MCP client name and version from the handshake, for mcp_agent requests. |
Buy or change a self-serve add-on
post/sites/{id}/add-ons/{addon_id}/purchasePermalink to Buy or change a self-serve add-on
- Scope:
billing:write - Permission:
billing.write - Needs a confirmation
Self-serve add-ons only: additional_disk (quantity: the 20 GB blocks the account holds in total, 1 to 10, shared by every site), hourly_backups (for one environment, $20 a month, starting at every 6 hours; change to every hour with PUT /environments/{id}/backup-schedule/hourly at the same price, each backup kept 24 hours), external_backups (billed while a bucket is connected; connect one first), custom_ssl (per site, $200 a year: the whole year is charged to the saved card now on its own yearly Stripe subscription and renews every year; 402 card_declined when the card does not pay, and nothing starts), and disaster_recovery (per site on a shared node, from $300 a month: $300 for a site up to 50 GB plus $100 for each further 50 GB, where the size is the disk the plan lets one site use, so the price is $300 for 20 GB or 50 GB, $400 for 65 GB or 100 GB, and $600 for 125 GB or 150 GB; a standby copy of the live environment at another provider with automatic failover and failback, with no uptime guarantee or service credits; the standby is ready once GET /environments/{id}/disaster-recovery shows the state active, and a failover can lose a few minutes of writes. The purchase sets the state to setting_up and queues a provision_standby job, whose id is in job_ids. A site on a dedicated server answers 409: it asks with a request instead, at the same price. Answers 503 with the message Standby Failover is not open yet. while the sale is closed). The others bill at once: the rest of this period prorated on the next invoice, then monthly from the next period. Needs a saved payment method (402 otherwise). A change replaces the purchase and credits its unused days. Additional disk space queues one set_disk_quota job per running environment. Sending the same purchase again changes nothing. Answers 409 when removing blocks would leave less disk than the account uses, and 429 after 20 purchases from one company in an hour.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string (uuid) | The id of the site. |
addon_id required | path | string | The add-on key, such as additional_disk. |
Idempotency-Key required | header | string | Send 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. |
confirm | query | string | An 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, PurchaseSiteAddon
Fields
| Name | Type | Description |
|---|---|---|
quantity | integer | Additional disk space: the 20 GB blocks the account should hold in total. PHP Performance: the 512 MB blocks the site should hold in total. Range: 1 to 500. |
environment_id | string (uuid) | Hourly backups: the environment. The live environment by default. |
confirm | boolean | The MCP server and API keys send it. The dashboard confirms in its own dialog. |
Responses
| Status | Body | Description |
|---|---|---|
202 | SiteAddonChange | Accepted. The add-on is on; node jobs, if any, are in job_ids. |
400 | Problem | The request could not be read: bad JSON, a bad header, or a malformed value. |
401 | Problem | The credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme. |
403 | Problem | The credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing. |
404 | Problem | The thing in the path does not exist, or it belongs to another company. The answer is the same for both. |
409 | Problem | The current state does not allow this: the same change is already running, or another change got there first. |
422 | Problem | The request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field. |
429 | Problem | A rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address. |
4XX | Problem | Problem Details (RFC 9457) |
202 response fields
| Name | Type | Description |
|---|---|---|
add_on required | object | |
add_on.id required | string | One of: additional_disk, additional_previews, php_performance, dedicated_server, disaster_recovery, safe_updates, reverse_proxy, object_cache, hourly_backups, external_backups, custom_ssl. |
add_on.name required | string | |
add_on.description required | string | |
add_on.monthly_cents required | integer or null | The price per price_unit in cents. Null means custom pricing (quoted by staff). Range: 0 to any. |
add_on.setup_cents required | integer or null | A one-time setup charge in cents, when the catalog has one. Range: 0 to any. |
add_on.price_unit required | string | One of: month, year, backup. |
add_on.status required | string | One of: DRAFT, confirmed. |
add_on.action required | string | One of: toggle, request, connect, add_to_plan, enable, manage. |
add_on.enabled required | boolean | True once the add-on is on for this site: the node switched it on (toggle), or staff fulfilled the request (request). |
add_on.request required | object or null | The latest request for a contact us add-on. Null when there is none, or for other actions. |
add_on.purchase | object or null | Self-serve add-ons: the purchase that is on now. Null while the add-on is off. For Hourly backups it is the purchase of the environment the list was read for. |
add_on.max_quantity | integer | Add-ons bought in blocks (Additional disk space, PHP Performance): the most blocks this site or account can hold. For PHP Performance it is zero when the included pool already reaches the limit. Absent for other add-ons. Range: 0 to any. |
add_on.disk_overage | array of object | Additional disk space only: the environments of this site that use more disk than they have, with the disk used and the disk each has. Absent or empty while none is over. |
add_on.object_cache | object or null | Redis object cache only: the verified state. Null while the add-on is off or for other add-ons. |
add_on.disaster_recovery | one of DisasterRecovery, null | Standby Failover only: the state of the site's standby copy. Null while the add-on is off. |
add_on.uptime_guarantee | object or null | Standby Failover only: where the customer's request stands, in the four plain states the card shows: Requested, Being set up, Active, or Not available with the reason. Null when nobody asked for it and it is off. |
add_on.site_size_gb | integer | Standby Failover only: the size of this site in GB for the price (the disk its plan lets one site use). monthly_cents is the price for that size, or what the site pays once it has bought. |
add_on.starts_at_cents | integer | Standby Failover only: the starting price in cents a month, for a site up to 50 GB. |
add_on.preview_slots | object | Additional Preview Environments only: the company's slots. |
proration_cents required | integer | Cents added to the next invoice now for the rest of this period. Range: 0 to any. |
credit_cents required | integer | Cents credited to the account for unused days. Range: 0 to any. |
job_ids required | array of string | Node jobs the change queued, such as one set_disk_quota per environment. |
Retry the node work of a self-serve add-on
post/sites/{id}/add-ons/{addon_id}/retryPermalink to Retry the node work of a self-serve add-on
- Scope:
billing:write - Permission:
billing.write
Queues the node work of the add-on again, for environments that do not have it yet, such as a set_disk_quota job that failed. Charges nothing and is safe to send more than once.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string (uuid) | The id of the site. |
addon_id required | path | string | The add-on key, such as additional_disk. |
Idempotency-Key required | header | string | Send 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, RetrySiteAddon
Fields
| Name | Type | Description |
|---|---|---|
environment_id | string (uuid) |
Responses
| Status | Body | Description |
|---|---|---|
202 | SiteAddonChange | Accepted. New node jobs, if any, are in job_ids. |
400 | Problem | The request could not be read: bad JSON, a bad header, or a malformed value. |
401 | Problem | The credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme. |
403 | Problem | The credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing. |
404 | Problem | The thing in the path does not exist, or it belongs to another company. The answer is the same for both. |
409 | Problem | The current state does not allow this: the same change is already running, or another change got there first. |
422 | Problem | The request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field. |
429 | Problem | A rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address. |
4XX | Problem | Problem Details (RFC 9457) |
202 response fields
| Name | Type | Description |
|---|---|---|
add_on required | object | |
add_on.id required | string | One of: additional_disk, additional_previews, php_performance, dedicated_server, disaster_recovery, safe_updates, reverse_proxy, object_cache, hourly_backups, external_backups, custom_ssl. |
add_on.name required | string | |
add_on.description required | string | |
add_on.monthly_cents required | integer or null | The price per price_unit in cents. Null means custom pricing (quoted by staff). Range: 0 to any. |
add_on.setup_cents required | integer or null | A one-time setup charge in cents, when the catalog has one. Range: 0 to any. |
add_on.price_unit required | string | One of: month, year, backup. |
add_on.status required | string | One of: DRAFT, confirmed. |
add_on.action required | string | One of: toggle, request, connect, add_to_plan, enable, manage. |
add_on.enabled required | boolean | True once the add-on is on for this site: the node switched it on (toggle), or staff fulfilled the request (request). |
add_on.request required | object or null | The latest request for a contact us add-on. Null when there is none, or for other actions. |
add_on.purchase | object or null | Self-serve add-ons: the purchase that is on now. Null while the add-on is off. For Hourly backups it is the purchase of the environment the list was read for. |
add_on.max_quantity | integer | Add-ons bought in blocks (Additional disk space, PHP Performance): the most blocks this site or account can hold. For PHP Performance it is zero when the included pool already reaches the limit. Absent for other add-ons. Range: 0 to any. |
add_on.disk_overage | array of object | Additional disk space only: the environments of this site that use more disk than they have, with the disk used and the disk each has. Absent or empty while none is over. |
add_on.object_cache | object or null | Redis object cache only: the verified state. Null while the add-on is off or for other add-ons. |
add_on.disaster_recovery | one of DisasterRecovery, null | Standby Failover only: the state of the site's standby copy. Null while the add-on is off. |
add_on.uptime_guarantee | object or null | Standby Failover only: where the customer's request stands, in the four plain states the card shows: Requested, Being set up, Active, or Not available with the reason. Null when nobody asked for it and it is off. |
add_on.site_size_gb | integer | Standby Failover only: the size of this site in GB for the price (the disk its plan lets one site use). monthly_cents is the price for that size, or what the site pays once it has bought. |
add_on.starts_at_cents | integer | Standby Failover only: the starting price in cents a month, for a site up to 50 GB. |
add_on.preview_slots | object | Additional Preview Environments only: the company's slots. |
proration_cents required | integer | Cents added to the next invoice now for the rest of this period. Range: 0 to any. |
credit_cents required | integer | Cents credited to the account for unused days. Range: 0 to any. |
job_ids required | array of string | Node jobs the change queued, such as one set_disk_quota per environment. |
The live state of the Redis object cache
get/sites/{id}/object-cachePermalink to The live state of the Redis object cache
- Scope:
sites:read - Permission:
sites.read
Reads the object cache of one environment from its node: whether Redis runs, the memory used and its cap, the number of keys, hits, misses, and the hit rate (from Redis INFO), and the last state recorded when the add-on was switched on. With verify=true the node also runs the check again, which sets and deletes one short lived key through WordPress, and reports verified with the round trip time and the drop-in in use, or the reason it failed. Answers for the live environment unless environment_id names another one. Answers 409 when the environment is not running.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string (uuid) | The id of the site. |
environment_id | query | string (uuid) | The environment to read. The live environment by default. |
verify | query | string | Run the check again on the node. One of: true, false. |
Responses
| Status | Body | Description |
|---|---|---|
200 | ObjectCacheStatus | The object cache state |
400 | Problem | The request could not be read: bad JSON, a bad header, or a malformed value. |
401 | Problem | The credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme. |
403 | Problem | The credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing. |
404 | Problem | The thing in the path does not exist, or it belongs to another company. The answer is the same for both. |
422 | Problem | The request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field. |
429 | Problem | A rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address. |
4XX | Problem | Problem Details (RFC 9457) |
200 response fields
| Name | Type | Description |
|---|---|---|
environment_id required | string (uuid) | |
enabled required | boolean | |
running required | boolean | True when Redis answers on its socket. |
memory_mb required | integer or null | |
used_bytes required | integer or null | Range: 0 to any. |
keys required | integer or null | Range: 0 to any. |
hits required | integer or null | Range: 0 to any. |
misses required | integer or null | Range: 0 to any. |
hit_rate required | number or null | Hits divided by hits plus misses, 0 to 1. Null until Redis has served a read. Range: 0 to 1. |
evicted_keys required | integer or null | Range: 0 to any. |
uptime_seconds required | integer or null | Range: 0 to any. |
verified required | boolean | True when this answer ran the check and it passed. |
verify_ran required | boolean | True when this answer ran the check. |
reason required | string or null | Why the check failed, in plain words. |
round_trip_ms required | number or null | Range: 0 to any. |
drop_in required | string or null | |
key_prefix required | string or null | |
fpm_checked required | boolean | |
recorded required | object or null | The last verified state the control plane recorded when the add-on was switched on. |
recorded.verified required | boolean | |
recorded.verified_at required | string or null (date-time) | When the check last passed. Null when it never did. |
recorded.memory_mb required | integer or null | The Redis memory cap in MB. |
recorded.used_bytes required | integer or null | Memory Redis used right after the last change, in bytes. Range: 0 to any. |
recorded.round_trip_ms required | number or null | Time WordPress took to set a key in Redis and read it back, in milliseconds. Range: 0 to any. |