Skip to content

Add-ons

14 operations in the WP Waterfall API.

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

StatusBodyDescription
200EnterpriseSupportStatusThe Enterprise Support
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.
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
mode requiredstringOne of: included, add_on.
enabled requiredbooleanTrue once the support is on: always for an Enterprise account, after a purchase otherwise.
monthly_cents requiredinteger or nullThe price of the add-on in cents a month. Null when the support is included. Range: 0 to any.
purchase requiredobject or nullThe add-on purchase that is on now. Null while it is off and for an included account.
purchase.addon_id requiredstring (uuid)The commerce add-on record.
purchase.status requiredstringOne of: pending, active.
purchase.quantity requiredinteger
purchase.monthly_cents requiredintegerThe 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_unitstringWhat monthly_cents is per. month unless the add-on is billed yearly. One of: month, year, backup.
purchase.renews_atstring or null (date-time)When a yearly add-on renews, and when its current year ends. Null for monthly add-ons.
purchase.environment_id requiredstring or null (uuid)
purchase.complimentarybooleanTrue when WP Waterfall support turned the add-on on at no charge. Absent or false when it is paid.
purchase.added_gb requiredinteger or nullAdditional disk space only: GB added to the account. Range: 0 to any.
purchase.added_mbinteger or nullPHP Performance only: MB added to the pool of the live environment. Range: 0 to any.
purchase.covers_gbintegerStandby 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 requiredstringOne of: applied, applying, failed, none.
purchase.created_at requiredstring (date-time)
support requiredobject or nullThe Slack channel and the support contact. Null while the support is off.
support.status requiredstringOne of: setting_up, ready.
support.slack_channel requiredstring or nullThe channel name, or the link as staff entered it. Null until staff enter it.
support.slack_url requiredstring or nullSet when the channel is a Slack link, so the dashboard can open it.
support.contact_name requiredstring or null
support.contact_email requiredstring 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

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.
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, EnableEnterpriseSupportRequest

Fields

NameTypeDescription
confirmbooleanThe MCP server and API keys send it. The dashboard confirms in its own dialog.

Responses

StatusBodyDescription
202EnterpriseSupportChangeAccepted. The support is on.
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
support requiredEnterpriseSupportStatusGET /companies/me/enterprise-support: where the company's Enterprise Support stands.
support.mode requiredstringOne of: included, add_on.
support.enabled requiredbooleanTrue once the support is on: always for an Enterprise account, after a purchase otherwise.
support.monthly_cents requiredinteger or nullThe price of the add-on in cents a month. Null when the support is included. Range: 0 to any.
support.purchase requiredobject or nullThe add-on purchase that is on now. Null while it is off and for an included account.
support.support requiredobject or nullThe Slack channel and the support contact. Null while the support is off.
proration_cents requiredintegerCents added to the next invoice now. Range: 0 to any.
credit_cents requiredintegerCents 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

NameInTypeDescription
confirmquerystringOne of: true.

Responses

StatusBodyDescription
202EnterpriseSupportChangeAccepted. The add-on is off.
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
support requiredEnterpriseSupportStatusGET /companies/me/enterprise-support: where the company's Enterprise Support stands.
support.mode requiredstringOne of: included, add_on.
support.enabled requiredbooleanTrue once the support is on: always for an Enterprise account, after a purchase otherwise.
support.monthly_cents requiredinteger or nullThe price of the add-on in cents a month. Null when the support is included. Range: 0 to any.
support.purchase requiredobject or nullThe add-on purchase that is on now. Null while it is off and for an included account.
support.support requiredobject or nullThe Slack channel and the support contact. Null while the support is off.
proration_cents requiredintegerCents added to the next invoice now. Range: 0 to any.
credit_cents requiredintegerCents 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

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

Responses

StatusBodyDescription
200DisasterRecoveryThe Standby Failover state
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
environment_id requiredstring (uuid)UUIDv7
site_id requiredstring (uuid)UUIDv7
purchased requiredbooleanTrue when the add-on is on this site's subscription.
state requiredstringOne of: off, setting_up, active, failing_over, degraded, resyncing, failing_back.
setup_step requiredstring or nullThe 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 requiredintegerThe price of the add-on in cents a month. Range: 0 to any.
sla_applies requiredbooleanTrue only while the state is active: the standby copy is ready to take over. It is not an uptime guarantee.
standby requiredobject or nullWhere the standby copy lives: the provider's name and metro area, or null before one is chosen.
standby.provider requiredstring
standby.location requiredstring
replication requiredobject
replication.lag_seconds requiredinteger or nullSeconds since the newest copy on the standby, or null when none arrived yet. Range: 0 to any.
replication.rpo_seconds requiredinteger
replication.last_replicated_at requiredstring or null (date-time)
last_verified_at requiredstring or null (date-time)
active_since requiredstring or null (date-time)
last_failover_at requiredstring or null (date-time)
running_on requiredstringWhere the live container runs now. standby from a failover until a failback or a role swap. One of: primary, standby.
epoch requiredintegerThe fencing epoch. It rises by one at every promotion and every role swap. Range: 0 to any.
failback_due_at requiredstring or null (date-time)When the automatic failback is due (the resync is done and the stability window runs), or null.
job_id requiredstring or null (uuid)The job that sets up or repairs the standby, while one runs.
problem requiredstring or nullWhy 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

NameInTypeDescription
id requiredpathstring (uuid)The id of the environment.
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, HaFailbackRequest

Fields

NameTypeDescription
role_swapbooleanKeep the standby as the new primary and make the old primary the standby. Default: false.
confirmbooleanThe MCP server and API keys send it.

Responses

StatusBodyDescription
202JobAccepted. The failback_site job is queued.
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.

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

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

Responses

StatusBodyDescription
200UptimeReportThe measured month
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
month requiredstringThe month this report describes, in UTC.
uptime_percent requirednumber or nullNull until the probes have measured the month. Range: 0 to 100.
downtime_minutes requiredinteger or nullRange: 0 to any.
incidents requiredarray of objectThis month's downtime that counts, oldest first.
incidents[].started_at requiredstring (date-time)
incidents[].ended_at requiredstring or null (date-time)The first good check. Null while the site is still down.
incidents[].minutes requiredintegerThe 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

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, CreateAddOnRequest

Fields

NameTypeDescription
add_on requiredstringOne of: additional_disk, php_performance, dedicated_server, disaster_recovery, safe_updates, reverse_proxy, hourly_backups, external_backups.
notestringAnything staff should know: sizes, timing, the domain for a reverse proxy.
confirmbooleanThe MCP server and API keys send it. The dashboard confirms in its own dialog.

Responses

StatusBodyDescription
201AddOnRequestThe request
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)
company_id requiredstring
site_id requiredstring or null (uuid)Null for a request about the whole company, such as the Enterprise support set-up task.
add_on requiredstringOne 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 requiredstring or null
status requiredstringOne of: open, fulfilled, declined, ended.
requested_by requiredstring
requested_at requiredstring (date-time)
resolved_at requiredstring or null (date-time)
resolved_by requiredstring 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

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.
environment_idquerystring (uuid)Per environment add-ons answer for this environment. The live environment by default.

Responses

StatusBodyDescription
200SiteAddonListAdd-ons
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 object
data[].id requiredstringOne 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 requiredstring
data[].description requiredstring
data[].monthly_cents requiredinteger or nullThe price per price_unit in cents. Null means custom pricing (quoted by staff). Range: 0 to any.
data[].setup_cents requiredinteger or nullA one-time setup charge in cents, when the catalog has one. Range: 0 to any.
data[].price_unit requiredstringOne of: month, year, backup.
data[].status requiredstringOne of: DRAFT, confirmed.
data[].action requiredstringOne of: toggle, request, connect, add_to_plan, enable, manage.
data[].enabled requiredbooleanTrue once the add-on is on for this site: the node switched it on (toggle), or staff fulfilled the request (request).
data[].request requiredobject or nullThe latest request for a contact us add-on. Null when there is none, or for other actions.
data[].purchaseobject or nullSelf-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_quantityintegerAdd-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_overagearray of objectAdditional 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_cacheobject or nullRedis object cache only: the verified state. Null while the add-on is off or for other add-ons.
data[].disaster_recoveryone of DisasterRecovery, nullStandby Failover only: the state of the site's standby copy. Null while the add-on is off.
data[].uptime_guaranteeobject or nullStandby 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_gbintegerStandby 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_centsintegerStandby Failover only: the starting price in cents a month, for a site up to 50 GB.
data[].preview_slotsobjectAdditional Preview Environments only: the company's slots.
next_cursor requiredany
environment_idstring 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

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.
addon_id requiredpathstringThe add-on key, such as additional_disk.
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, CancelSiteAddon

Fields

NameTypeDescription
environment_idstring (uuid)
confirmboolean

Responses

StatusBodyDescription
202SiteAddonChangeAccepted. The add-on is off; node jobs, if any, are in job_ids.
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
add_on requiredobject
add_on.id requiredstringOne 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 requiredstring
add_on.description requiredstring
add_on.monthly_cents requiredinteger or nullThe price per price_unit in cents. Null means custom pricing (quoted by staff). Range: 0 to any.
add_on.setup_cents requiredinteger or nullA one-time setup charge in cents, when the catalog has one. Range: 0 to any.
add_on.price_unit requiredstringOne of: month, year, backup.
add_on.status requiredstringOne of: DRAFT, confirmed.
add_on.action requiredstringOne of: toggle, request, connect, add_to_plan, enable, manage.
add_on.enabled requiredbooleanTrue once the add-on is on for this site: the node switched it on (toggle), or staff fulfilled the request (request).
add_on.request requiredobject or nullThe latest request for a contact us add-on. Null when there is none, or for other actions.
add_on.purchaseobject or nullSelf-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_quantityintegerAdd-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_overagearray of objectAdditional 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_cacheobject or nullRedis object cache only: the verified state. Null while the add-on is off or for other add-ons.
add_on.disaster_recoveryone of DisasterRecovery, nullStandby Failover only: the state of the site's standby copy. Null while the add-on is off.
add_on.uptime_guaranteeobject or nullStandby 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_gbintegerStandby 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_centsintegerStandby Failover only: the starting price in cents a month, for a site up to 50 GB.
add_on.preview_slotsobjectAdditional Preview Environments only: the company's slots.
proration_cents requiredintegerCents added to the next invoice now for the rest of this period. Range: 0 to any.
credit_cents requiredintegerCents credited to the account for unused days. Range: 0 to any.
job_ids requiredarray of stringNode 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

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.
addon_id requiredpathstringThe add-on key, such as additional_disk.
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.

Responses

StatusBodyDescription
202JobAccepted. The node is switching the add-on off. The body is the Job object.
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.

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

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.
addon_id requiredpathstringThe add-on key, such as additional_disk.
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.

Responses

StatusBodyDescription
202JobAccepted. The node is switching the add-on on. The body is the Job object.
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.

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

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.
addon_id requiredpathstringThe add-on key, such as additional_disk.
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, PurchaseSiteAddon

Fields

NameTypeDescription
quantityintegerAdditional 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_idstring (uuid)Hourly backups: the environment. The live environment by default.
confirmbooleanThe MCP server and API keys send it. The dashboard confirms in its own dialog.

Responses

StatusBodyDescription
202SiteAddonChangeAccepted. The add-on is on; node jobs, if any, are in job_ids.
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
add_on requiredobject
add_on.id requiredstringOne 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 requiredstring
add_on.description requiredstring
add_on.monthly_cents requiredinteger or nullThe price per price_unit in cents. Null means custom pricing (quoted by staff). Range: 0 to any.
add_on.setup_cents requiredinteger or nullA one-time setup charge in cents, when the catalog has one. Range: 0 to any.
add_on.price_unit requiredstringOne of: month, year, backup.
add_on.status requiredstringOne of: DRAFT, confirmed.
add_on.action requiredstringOne of: toggle, request, connect, add_to_plan, enable, manage.
add_on.enabled requiredbooleanTrue once the add-on is on for this site: the node switched it on (toggle), or staff fulfilled the request (request).
add_on.request requiredobject or nullThe latest request for a contact us add-on. Null when there is none, or for other actions.
add_on.purchaseobject or nullSelf-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_quantityintegerAdd-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_overagearray of objectAdditional 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_cacheobject or nullRedis object cache only: the verified state. Null while the add-on is off or for other add-ons.
add_on.disaster_recoveryone of DisasterRecovery, nullStandby Failover only: the state of the site's standby copy. Null while the add-on is off.
add_on.uptime_guaranteeobject or nullStandby 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_gbintegerStandby 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_centsintegerStandby Failover only: the starting price in cents a month, for a site up to 50 GB.
add_on.preview_slotsobjectAdditional Preview Environments only: the company's slots.
proration_cents requiredintegerCents added to the next invoice now for the rest of this period. Range: 0 to any.
credit_cents requiredintegerCents credited to the account for unused days. Range: 0 to any.
job_ids requiredarray of stringNode 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

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.
addon_id requiredpathstringThe add-on key, such as additional_disk.
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, RetrySiteAddon

Fields

NameTypeDescription
environment_idstring (uuid)

Responses

StatusBodyDescription
202SiteAddonChangeAccepted. New node jobs, if any, are in job_ids.
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
add_on requiredobject
add_on.id requiredstringOne 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 requiredstring
add_on.description requiredstring
add_on.monthly_cents requiredinteger or nullThe price per price_unit in cents. Null means custom pricing (quoted by staff). Range: 0 to any.
add_on.setup_cents requiredinteger or nullA one-time setup charge in cents, when the catalog has one. Range: 0 to any.
add_on.price_unit requiredstringOne of: month, year, backup.
add_on.status requiredstringOne of: DRAFT, confirmed.
add_on.action requiredstringOne of: toggle, request, connect, add_to_plan, enable, manage.
add_on.enabled requiredbooleanTrue once the add-on is on for this site: the node switched it on (toggle), or staff fulfilled the request (request).
add_on.request requiredobject or nullThe latest request for a contact us add-on. Null when there is none, or for other actions.
add_on.purchaseobject or nullSelf-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_quantityintegerAdd-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_overagearray of objectAdditional 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_cacheobject or nullRedis object cache only: the verified state. Null while the add-on is off or for other add-ons.
add_on.disaster_recoveryone of DisasterRecovery, nullStandby Failover only: the state of the site's standby copy. Null while the add-on is off.
add_on.uptime_guaranteeobject or nullStandby 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_gbintegerStandby 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_centsintegerStandby Failover only: the starting price in cents a month, for a site up to 50 GB.
add_on.preview_slotsobjectAdditional Preview Environments only: the company's slots.
proration_cents requiredintegerCents added to the next invoice now for the rest of this period. Range: 0 to any.
credit_cents requiredintegerCents credited to the account for unused days. Range: 0 to any.
job_ids requiredarray of stringNode 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

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.
environment_idquerystring (uuid)The environment to read. The live environment by default.
verifyquerystringRun the check again on the node. One of: true, false.

Responses

StatusBodyDescription
200ObjectCacheStatusThe object cache state
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
environment_id requiredstring (uuid)
enabled requiredboolean
running requiredbooleanTrue when Redis answers on its socket.
memory_mb requiredinteger or null
used_bytes requiredinteger or nullRange: 0 to any.
keys requiredinteger or nullRange: 0 to any.
hits requiredinteger or nullRange: 0 to any.
misses requiredinteger or nullRange: 0 to any.
hit_rate requirednumber or nullHits divided by hits plus misses, 0 to 1. Null until Redis has served a read. Range: 0 to 1.
evicted_keys requiredinteger or nullRange: 0 to any.
uptime_seconds requiredinteger or nullRange: 0 to any.
verified requiredbooleanTrue when this answer ran the check and it passed.
verify_ran requiredbooleanTrue when this answer ran the check.
reason requiredstring or nullWhy the check failed, in plain words.
round_trip_ms requirednumber or nullRange: 0 to any.
drop_in requiredstring or null
key_prefix requiredstring or null
fpm_checked requiredboolean
recorded requiredobject or nullThe last verified state the control plane recorded when the add-on was switched on.
recorded.verified requiredboolean
recorded.verified_at requiredstring or null (date-time)When the check last passed. Null when it never did.
recorded.memory_mb requiredinteger or nullThe Redis memory cap in MB.
recorded.used_bytes requiredinteger or nullMemory Redis used right after the last change, in bytes. Range: 0 to any.
recorded.round_trip_ms requirednumber or nullTime WordPress took to set a key in Redis and read it back, in milliseconds. Range: 0 to any.