{"openapi":"3.1.0","info":{"title":"AutoWP API","version":"1","description":"Run AutoWP from your own product: sites, automations, runs, posts, the wallet and the API and MCP market. Authenticate with a personal token (Settings › API and MCP): Authorization: Bearer awp_…"},"servers":[{"url":"https://api.autowp.cloud"}],"paths":{"/v1/me":{"get":{"summary":"Your account: name, plan limits and usage, wallet balance and billing status.","operationId":"get_me","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"tags":["me"],"security":[{"bearer":[]}]}},"/v1/packages":{"get":{"summary":"Automation and hosting packages on sale, with your current ones.","operationId":"list_packages","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"tags":["packages"],"security":[{"bearer":[]}]}},"/v1/sites":{"get":{"tags":["sites"],"summary":"Your WordPress sites (hosted and connected), with status and automation count.","operationId":"list_sites","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"status","in":"query","required":false,"schema":{"type":"string","default":"","title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]},"post":{"tags":["sites"],"summary":"Open a new WordPress site on AutoWP hosting (needs a hosting package with a free site): its address (an AutoWP subdomain, your own domain, or with domainMode register and domainId a domain AutoWP registered for you, whose DNS is set up for you), language, plugins from list_hosting_plugins, pages, and its own WordPress administrator. With blueprint it also starts with the chosen plugins' settings (options from list_hosting_plugins), its categories, and one automation per category (google_news, rss, wordpress or research as the source), created once it is live: running while your automation package has room, paused after that. Setup takes a minute or two; follow it with get_site (status provisioning → active).","operationId":"create_hosted_site","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewSite"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/sites/{site_id}":{"get":{"tags":["sites"],"summary":"One site: address, status, language, topic and its endpoints.","operationId":"get_site","parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"string","title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]},"delete":{"tags":["sites"],"summary":"Delete a site from AutoWP. A hosted site is removed for good with its database, files and media; a connected site is only disconnected. Its automations stop publishing to it.","operationId":"delete_site","parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"string","title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/sites/connect/finish":{"post":{"tags":["sites"],"summary":"Connect a WordPress site hosted elsewhere, with a WordPress username and an application password (WordPress › Users › Profile › Application Passwords). Returns the site with its health checks.","operationId":"connect_wordpress_site","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FinishConnect"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/sites/{site_id}/wordpress-login":{"post":{"tags":["sites"],"summary":"A one-time link (valid two minutes, works once) that signs in to a hosted site's WordPress dashboard as its administrator.","operationId":"get_site_wordpress_login_link","parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"string","title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/sites/{site_id}/wordpress-password":{"post":{"tags":["sites"],"summary":"Set a hosted site's WordPress administrator password (12+ characters). AutoWP does not keep it.","operationId":"set_site_wordpress_password","parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"string","title":"Site Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WordpressPassword"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/sites/{site_id}/wordpress-username":{"post":{"tags":["sites"],"summary":"Change a hosted site's WordPress administrator username (unique on its hosting server).","operationId":"set_site_wordpress_username","parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"string","title":"Site Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WordpressUsername"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/sites/{site_id}/wordpress-settings":{"get":{"tags":["sites"],"summary":"A hosted site's WordPress settings that can be changed (general) and the settings of every active plugin AutoWP can read, by plugin and group, secrets left out: Rank Math and Yoast in full, other plugins through the settings they register with WordPress (with the labels and choices of their settings screens in `fields`). `writable` says whether a plugin's settings may be changed here (cache, security, backup and SSL plugins are read only); a plugin with no settings listed is managed only in the WordPress admin.","operationId":"get_site_wordpress_settings","parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"string","title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]},"post":{"tags":["sites"],"summary":"Change a hosted site's WordPress or plugin settings in two steps: first call without confirmToken returns the difference (before/after) and changes nothing; call again with the same values and its confirmToken to apply. Only listed settings, same kind of value, nothing removed; every applied change is logged and can be undone (undo_site_wordpress_change).","operationId":"update_site_wordpress_settings","parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"string","title":"Site Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingsChange"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/sites/{site_id}/plugin-actions":{"get":{"tags":["sites"],"summary":"Operations a hosted site's plugins offer (e.g. Rank Math redirections and 404 log, Yoast indexing), each with its arguments, whether it reads or changes, and whether it can be undone.","operationId":"list_site_plugin_actions","parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"string","title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/sites/{site_id}/plugin-actions/{plugin}/{action}":{"post":{"tags":["sites"],"summary":"Run a plugin operation on a hosted site. Reading operations answer at once; one that changes something is previewed first (no confirmToken: nothing changes, the answer shows before/after and a confirmToken) and applied by the same call with that token. Nothing is deleted for good: removing means trash, which can be restored.","operationId":"run_site_plugin_action","parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"string","title":"Site Id"}},{"name":"plugin","in":"path","required":true,"schema":{"type":"string","title":"Plugin"}},{"name":"action","in":"path","required":true,"schema":{"type":"string","title":"Action"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionRun"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/sites/{site_id}/wordpress-changes":{"get":{"tags":["sites"],"summary":"The last changes to a hosted site's settings and plugin data made through AutoWP: who, when, before and after, and whether each can still be undone.","operationId":"list_site_wordpress_changes","parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"string","title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/sites/{site_id}/wordpress-changes/{change_id}/undo":{"post":{"tags":["sites"],"summary":"Undo one logged change on a hosted site (list_site_wordpress_changes): previewed first like any change, then applied with its confirmToken. Refused when the same thing changed again since.","operationId":"undo_site_wordpress_change","parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"string","title":"Site Id"}},{"name":"change_id","in":"path","required":true,"schema":{"type":"integer","title":"Change Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Confirm"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/sites/{site_id}/usage":{"get":{"tags":["sites"],"summary":"A hosted site's disk use (MB) and plugin count against its limits (0 = unlimited).","operationId":"get_site_usage","parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"string","title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/hosting/plugins":{"get":{"tags":["hosting"],"summary":"Plugins a new hosted site can come with (the AutoWP hosting library; one SEO plugin per site at most), the settings the wizard offers for each (options: key, type, choices, default; set them in create_hosted_site blueprint.pluginOptions) and the most plugins a site may have.","operationId":"list_hosting_plugins","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/sites/{site_id}/dns":{"get":{"tags":["sites"],"summary":"A hosted site's DNS: on your own domain, the CNAME and TXT records to add at your DNS provider (also for its www/root other name, `alias`, when it has one), the provider that holds the domain, and whether each record has arrived at its nameservers (checks: ok, missing, wrong with what is there now); a subdomain site needs none. An address or other name that waits 7 days without its records is released (released, aliasReleased): add the records, then recheck_site_dns or set_site_www_redirect.","operationId":"get_site_dns_status","parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"string","title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/sites/{site_id}/dns/check":{"post":{"tags":["sites"],"summary":"Check a hosted site's own-domain DNS records again now (after adding them): the hosting edge re-validates the domain and setup moves on at once when they are in place. Returns the same as get_site_dns_status.","operationId":"recheck_site_dns","parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"string","title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/sites/{site_id}/dns/alias":{"post":{"tags":["sites"],"summary":"Turn on or off the www ↔ root domain redirect of a hosted site on your own domain: with it, www.example.com also opens a site on example.com (or example.com one on www.example.com) and redirects to its address. The other name needs its own two DNS records (get_site_dns_status lists them). New sites on a root domain or www get it by default (create_hosted_site wwwRedirect).","operationId":"set_site_www_redirect","parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"string","title":"Site Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AliasChoice"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/sites/{site_id}/dns/connect-link":{"get":{"tags":["sites"],"summary":"For a site on a subdomain of your own domain (www, blog, …): a link that opens the domain's DNS provider (where it supports Domain Connect: Cloudflare, GoDaddy, IONOS, …) on a screen that adds the site's records after the owner approves; give it to the domain owner to open in a browser.","operationId":"get_site_dns_connect_link","parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"string","title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/hosting/domain":{"get":{"tags":["hosting"],"summary":"Before create_hosted_site on your own domain: the domain's DNS provider, whether it can point a root domain (example.com) with a CNAME (if not, use a subdomain such as www), and whether the records can be added automatically.","operationId":"check_own_domain","parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string","maxLength":253,"description":"The domain you want the site on, e.g. blog.example.com","title":"Domain"},"description":"The domain you want the site on, e.g. blog.example.com"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/domains/suggest":{"post":{"tags":["domains"],"summary":"New domain names for a site on a topic: a model proposes names, the registrars check them, and the free ones come back ranked (score 0-100: short, easy to say, the topic's words, a common extension) with their first-year and renewal price in USD. Buying one is done in the dashboard.","operationId":"suggest_domain_names","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuggestBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/domains/check":{"post":{"tags":["domains"],"summary":"Whether each domain name can be registered through AutoWP now and its price (first year and renewal, USD); premium names and names above the price ceiling come back unavailable with the reason.","operationId":"check_domain_availability","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/domains/searches":{"post":{"tags":["domains"],"summary":"Find and check expired domains for a new site: candidates from today's expired domains on sale whose name fits the topic (or your own list in domains), each with its backlink profile (DA, PA, spam scores, referring domains, IP/subnet/hosting concentration, backlink countries, Japanese/Chinese link networks), its Wayback Machine history (adult, gambling, pharma, malware, hacked spam, parked pages, language changes) and a 0-100 SEO/GEO score. Runs in the background, about a minute a domain; follow it with get_domain_search. The data's real cost (about $0.20-0.30 a domain) plus commission is charged to your wallet as it is used; a domain checked in the last 30 days for the same topic is free. Buying one is done in the dashboard.","operationId":"start_domain_search","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]},"get":{"tags":["domains"],"summary":"Your recent expired domain searches with their state and results.","operationId":"list_domain_searches","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/domains/searches/{search_id}":{"get":{"tags":["domains"],"summary":"One expired domain search: progress, what it has cost so far, and per domain the verdict (ok, review, reject), the score with its parts, the backlink rules it met, the history findings with Wayback Machine links, and its price when it can be bought.","operationId":"get_domain_search","parameters":[{"name":"search_id","in":"path","required":true,"schema":{"type":"string","title":"Search Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/domains/searches/{search_id}/stop":{"post":{"tags":["domains"],"summary":"Stop an expired domain search: the domains checked so far stay, nothing more is charged.","operationId":"stop_domain_search","parameters":[{"name":"search_id","in":"path","required":true,"schema":{"type":"string","title":"Search Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/admin/domain-research":{"get":{"tags":["admin"],"summary":"Expired domain research settings (score weights, bands, backlink rule thresholds) and the size of today's expired domain pool.","operationId":"admin_get_domain_research","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]},"put":{"tags":["admin"],"summary":"Change the expired domain score's weights, bands and backlink rule thresholds; keys left out keep their value.","operationId":"admin_update_domain_research","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResearchSettings"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/domains":{"get":{"tags":["domains"],"summary":"Domains AutoWP registered for you: state (ordered, registering, active, failed, expired), price, expiry, auto-renew and the site on each.","operationId":"list_domains","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/domains/{domain_id}":{"get":{"tags":["domains"],"summary":"One domain AutoWP registered for you: state, price, expiry, auto-renew, the site on it.","operationId":"get_domain","parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/sites/{site_id}/wordpress-account":{"get":{"tags":["sites"],"summary":"The WordPress administrator username of a hosted site (its own, chosen when the site was created) and its sign-in address.","operationId":"get_site_wordpress_account","parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"string","title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/sites/category-ideas":{"post":{"tags":["sites"],"summary":"Category names for a new site on a topic, written in its language: for create_hosted_site's blueprint or create_site_categories.","operationId":"suggest_site_categories","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryIdeas"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/sites/{site_id}/categories":{"post":{"tags":["sites"],"summary":"Create categories on a site (hosted or connected) for automations to publish into; categories it already has are kept. Returns all its categories.","operationId":"create_site_categories","parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"string","title":"Site Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewCategories"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/sites/{site_id}/wp-terms":{"get":{"tags":["sites"],"summary":"Categories and authors of a connected WordPress site, to pick for automations.","operationId":"get_site_terms","parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"string","title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/sites/{site_id}/settings":{"get":{"tags":["sites"],"summary":"A site's content settings (models, images, limits), or the account defaults it uses.","operationId":"get_site_settings","parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"string","title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]},"put":{"tags":["sites"],"summary":"Change a site's content settings; useDefaults true goes back to the account defaults.","operationId":"update_site_settings","parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"string","title":"Site Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteSettings"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/automations":{"get":{"tags":["automations"],"summary":"Your automations: workflow, site, schedule, status, last and next run. Filter by status or site.","operationId":"list_automations","parameters":[{"name":"status","in":"query","required":false,"schema":{"type":"string","default":"","title":"Status"}},{"name":"siteId","in":"query","required":false,"schema":{"type":"string","default":"","title":"Siteid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]},"post":{"tags":["automations"],"summary":"Create an automation: a ready-made workflow (workflowId tpl_content_rss, tpl_content_google_news, tpl_content_wordpress, tpl_content_research, tpl_agentic_wordpress, tpl_comment, tpl_pbn_site), one site (none for tpl_pbn_site), its parameters and a schedule. It starts running. tpl_pbn_site (PBN automation) opens one new hosted site per run by itself: params.topic (the broad topic; each run picks a new sub-niche of it), params.language (the sites' language, e.g. en, tr), params.domainSource expired (the best clean expired domain from a search, about 0.30 USD research per candidate), new (a new name) or subdomain (a free address, for trying it out), params.fallbackNew yes|no (expired: buy a new name when no clean one fits), params.tlds (e.g. [com, net]), params.maxDomainUsd (most one domain may cost), params.monthlyBudgetUsd (domains + research per calendar month; a run past it opens nothing), params.categoryCount (categories per site, 1-15). Domains are charged from the wallet before they are registered; without money, or with the hosting package full, the automation pauses. tpl_comment posts one comment per run on the site's own posts, balanced across params.commentCategories (category ids from get_site_terms) and their posts: params.commentPrompt is the prompt, with {original_post} (the post as plain text), {original_post_title}, {original_post_tags}, {original_post_category}, {original_post_author}, {original_post_date}; params.commentModel (default openai/gpt-5-mini); params.commenterCountry (ISO code, e.g. tr, us, de) for the random reader names; params.commentStatus approve (default) or hold. For RSS, Google News, WordPress and the research agent, params.keywordData 'platform' checks real keyword data (DataForSEO, a few cents per post from the wallet); 'none' (default) lets the model choose; their source filters (filters) also check the research agent's result. Agent workflows take params.tools: market products or tools as <product>, <product>:<tool>, <product>@<connection id> (list_market_connections) or <product>@<connection id>:<tool>; at most 3 products, APIs and MCP servers together; a product you never connected is connected with AutoWP's key when it offers one; params.model must be a Claude model. tpl_content_research: params.instructions (the research brief), tools, model, the writing params. tpl_agentic_wordpress: params.instructions (what the agent does on the site), tools (WordPress MCP, acting on the automation's site, is always one of the 3; its deleting tools only when named one by one, e.g. wordpress:delete_post), model (default anthropic/claude-sonnet-5-5), maxRunsPerDay (default 24); posts are created as drafts unless the instructions say to publish.","operationId":"create_automation","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutomationIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/automations/filter-defaults":{"get":{"tags":["automations"],"summary":"Default source filters for new automations.","operationId":"get_filter_defaults","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/automations/{automation_id}":{"get":{"tags":["automations"],"summary":"One automation with its parameters and filters.","operationId":"get_automation","parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string","title":"Automation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]},"put":{"tags":["automations"],"summary":"Change an automation's name, site, parameters, filters or schedule (parameters as in create_automation). For RSS, Google News, WordPress and the research agent, params.keywordData 'platform' checks real keyword data (DataForSEO, a few cents per post from the wallet); 'none' (default) lets the model choose; their source filters (filters) also check the research agent's result. Agent workflows take params.tools: market products or tools as <product>, <product>:<tool>, <product>@<connection id> (list_market_connections) or <product>@<connection id>:<tool>; at most 3 products, APIs and MCP servers together; a product you never connected is connected with AutoWP's key when it offers one; params.model must be a Claude model. tpl_content_research: params.instructions (the research brief), tools, model, the writing params. tpl_agentic_wordpress: params.instructions (what the agent does on the site), tools (WordPress MCP, acting on the automation's site, is always one of the 3; its deleting tools only when named one by one, e.g. wordpress:delete_post), model (default anthropic/claude-sonnet-5-5), maxRunsPerDay (default 24); posts are created as drafts unless the instructions say to publish.","operationId":"update_automation","parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string","title":"Automation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutomationIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]},"delete":{"tags":["automations"],"summary":"Delete an automation; its run history stays.","operationId":"delete_automation","parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string","title":"Automation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/automations/{automation_id}/status":{"post":{"tags":["automations"],"summary":"Start (running) or pause (paused) an automation.","operationId":"set_automation_status","parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string","title":"Automation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/autowp_api__routes__automations__StatusIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/automations/{automation_id}/run":{"post":{"tags":["automations"],"summary":"Run a running automation once now (paid from the wallet like any run).","operationId":"run_automation_now","parameters":[{"name":"automation_id","in":"path","required":true,"schema":{"type":"string","title":"Automation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/workflows":{"get":{"tags":["workflows"],"summary":"Workflows you built from nodes (not the ready-made automations): status (draft, active, paused), trigger, published version, last run.","operationId":"list_workflows","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]},"post":{"tags":["workflows"],"summary":"Create a workflow from nodes, like n8n: a graph of nodes and edges, saved as a draft (publish_workflow makes it run). Read get_workflow_guide first: the rules, the expression syntax, every node type and example graphs. Market API and MCP tools are nodes too (list_workflow_nodes, get_workflow_node). The answer lists any problems that would keep it from publishing; fix them with update_workflow and test with run_workflow draft true.","operationId":"create_workflow","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/workflows/guide":{"get":{"tags":["workflows"],"summary":"How to build a workflow: the rules (one trigger, edges and their outputs, loops, branches), the {{ }} expression syntax and filters, every node type's settings and outputs, limits and example graphs. Read it before create_workflow; it costs nothing.","operationId":"get_workflow_guide","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/workflows/nodes":{"get":{"tags":["workflows"],"summary":"Node types a workflow can use (trigger, data, ai, control) with what they do, and the market's API and MCP tools you can use as nodes (type market.tool:<product>:<tool>, price per call, whether you are connected). Search with q.","operationId":"list_workflow_nodes","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"family","in":"query","required":false,"schema":{"type":"string","default":"","title":"Family"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/workflows/nodes/{node_type}":{"get":{"tags":["workflows"],"summary":"One node type's settings (JSON schema), its output fields and its outputs (handles). For a market tool use market.tool:<product>:<tool>: its config.args is the tool's own input schema.","operationId":"get_workflow_node","parameters":[{"name":"node_type","in":"path","required":true,"schema":{"type":"string","title":"Node Type"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/workflows/{workflow_id}":{"get":{"tags":["workflows"],"summary":"One workflow: its draft graph, the published version's graph, trigger, schedule and any problems the draft has.","operationId":"get_workflow","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","title":"Workflow Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]},"put":{"tags":["workflows"],"summary":"Replace a workflow's name, description and draft graph (as in create_workflow). The published version keeps running until publish_workflow.","operationId":"update_workflow","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","title":"Workflow Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]},"delete":{"tags":["workflows"],"summary":"Delete a workflow you built and its versions; its runs stay in the history.","operationId":"delete_workflow","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","title":"Workflow Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/workflows/{workflow_id}/validate":{"post":{"tags":["workflows"],"summary":"Check a workflow's draft: every problem (node, setting, reason) that would keep it from publishing or running.","operationId":"validate_workflow","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","title":"Workflow Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/workflows/{workflow_id}/publish":{"post":{"tags":["workflows"],"summary":"Publish a workflow's draft as its next version: it then runs on its trigger (a scheduled one counts against your package's automations running at once). Refused while the draft has problems.","operationId":"publish_workflow","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","title":"Workflow Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/workflows/{workflow_id}/status":{"post":{"tags":["workflows"],"summary":"Pause a published workflow or make it active again.","operationId":"set_workflow_status","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","title":"Workflow Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/autowp_api__routes__workflows__StatusIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/workflows/{workflow_id}/run":{"post":{"tags":["workflows"],"summary":"Run a workflow once now, with an optional input ({{ trigger.<field> }}); draft true runs the draft as a test. Paid from the wallet like any run (models and market tools at their prices); follow it with get_run (one step per node).","operationId":"run_workflow","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","title":"Workflow Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/workflows/{workflow_id}/webhook-secret":{"post":{"tags":["workflows"],"summary":"Give a workflow with a webhook trigger a new webhook address (webhookPath in the answer); the old one stops working.","operationId":"rotate_workflow_webhook","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","title":"Workflow Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/workflows/{workflow_id}/memory":{"get":{"tags":["workflows"],"summary":"What a workflow remembers across runs: how many items its dedupe nodes already let through (with the latest keys) and the values its vars.set nodes kept.","operationId":"get_workflow_memory","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","title":"Workflow Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/workflows/{workflow_id}/memory/reset":{"post":{"tags":["workflows"],"summary":"Make a workflow forget the items its dedupe nodes let through (they come through again on the next run) and/or the values it kept.","operationId":"reset_workflow_memory","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","title":"Workflow Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/planners":{"get":{"tags":["planners"],"summary":"Content planners: the ordered parts every post is written in.","operationId":"list_planners","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]},"post":{"tags":["planners"],"summary":"Create or update a content planner (send id to update).","operationId":"save_planner","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlannerIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/planners/{planner_id}":{"delete":{"tags":["planners"],"summary":"Delete one of your content planners.","operationId":"delete_planner","parameters":[{"name":"planner_id","in":"path","required":true,"schema":{"type":"string","title":"Planner Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/settings/defaults":{"get":{"tags":["settings"],"summary":"Account-wide content defaults (writer, SEO and check models, image chain, limits).","operationId":"get_default_settings","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]},"put":{"tags":["settings"],"summary":"Change the account-wide content defaults.","operationId":"update_default_settings","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteSettings"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/settings/options":{"get":{"tags":["settings"],"summary":"Allowed values for settings (image sources, styles, limits).","operationId":"get_setting_options","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/settings/text-models":{"get":{"tags":["settings"],"summary":"Text models you can pick per provider (anthropic, openai, openrouter).","operationId":"list_text_models","parameters":[{"name":"provider","in":"query","required":true,"schema":{"enum":["anthropic","openai","openrouter"],"type":"string","title":"Provider"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/runs":{"get":{"tags":["runs"],"summary":"Recent workflow runs with status, cost and duration. Filter by status or automation.","operationId":"list_runs","parameters":[{"name":"status","in":"query","required":false,"schema":{"type":"string","default":"","title":"Status"}},{"name":"automationId","in":"query","required":false,"schema":{"type":"string","default":"","title":"Automationid"}},{"name":"workflowId","in":"query","required":false,"schema":{"type":"string","default":"","title":"Workflowid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/runs/{run_id}":{"get":{"tags":["runs"],"summary":"One run step by step: calls, tokens, cost, errors, the source and the written article.","operationId":"get_run","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/posts":{"get":{"tags":["posts"],"summary":"Posts AutoWP published, newest first.","operationId":"list_posts","parameters":[{"name":"siteId","in":"query","required":false,"schema":{"type":"string","default":"","title":"Siteid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/errors":{"get":{"tags":["errors"],"summary":"Recent failed runs with the step and message.","operationId":"list_errors","parameters":[{"name":"siteId","in":"query","required":false,"schema":{"type":"string","default":"","title":"Siteid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/sources/check-feed":{"post":{"tags":["sources"],"summary":"Check an RSS or Atom feed before using it: items, full text, newest date.","operationId":"check_feed","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/sources/check-wordpress":{"post":{"tags":["sources"],"summary":"Check a WordPress site as a source: REST API, post count and categories.","operationId":"check_wordpress_source","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/wallet":{"get":{"tags":["wallet"],"summary":"Wallet balance, spending by category and recent transactions.","operationId":"get_wallet","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/wallet/transactions":{"get":{"tags":["wallet"],"summary":"Wallet transactions; filter by category or kind.","operationId":"list_transactions","parameters":[{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"}},{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"}},{"name":"before","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Before"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/market/products":{"get":{"tags":["market"],"summary":"The API and MCP market: products with type, tool count and per call prices.","operationId":"list_market_products","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/market/products/{ref}":{"get":{"tags":["market"],"summary":"One market product (id or slug) with its tools, their input schemas and prices.","operationId":"get_market_product","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/market/installs":{"post":{"tags":["market"],"summary":"Connect a market product to your account (AutoWP key, or your own key with mode byok); each call adds a named connection, so a product can have a key per site.","operationId":"connect_market_product","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstallIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]},"get":{"tags":["market"],"summary":"Market products you can give agents: connected ones and your own, with tools.","operationId":"list_connected_products","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/market/installs/{product_id}":{"delete":{"tags":["market"],"summary":"Disconnect a market product.","operationId":"disconnect_market_product","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"string","title":"Product Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/market/connections":{"get":{"tags":["market"],"summary":"Your market connections (a product can be connected more than once, e.g. a key per site), without keys; selection is what an automation's tools use.","operationId":"list_market_connections","parameters":[{"name":"productId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Productid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/market/connections/{connection_id}":{"delete":{"tags":["market"],"summary":"Remove one market connection; the oldest remaining one becomes the default.","operationId":"remove_market_connection","parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"integer","title":"Connection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/market/mine":{"get":{"tags":["market"],"summary":"Your own private APIs and MCP servers.","operationId":"list_my_market_products","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]},"post":{"tags":["market"],"summary":"Add your own MCP server (kind mcp, endpoint) or OpenAPI API (kind openapi, specUrl or specText); its tools are read at once. Private and free.","operationId":"add_my_market_product","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OwnProductIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/market/mine/{product_id}":{"put":{"tags":["market"],"summary":"Change one of your own products; a new endpoint, key or document reads the tools again.","operationId":"update_my_market_product","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"string","title":"Product Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OwnProductUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]},"delete":{"tags":["market"],"summary":"Delete one of your own products.","operationId":"delete_my_market_product","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"string","title":"Product Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/market/mine/{product_id}/refresh":{"post":{"tags":["market"],"summary":"Read the tools of one of your own products again.","operationId":"refresh_my_market_product","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"string","title":"Product Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/market/products/{ref}/tools/{tool}/call":{"post":{"tags":["market"],"summary":"Call a market tool with arguments (a real call; paid tools are charged per successful call).","operationId":"call_market_tool","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}},{"name":"tool","in":"path","required":true,"schema":{"type":"string","title":"Tool"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TryIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/market/calls":{"get":{"tags":["market"],"summary":"Your market call history with result, price and time.","operationId":"list_market_calls","parameters":[{"name":"productId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Productid"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/admin/overview":{"get":{"tags":["admin"],"summary":"Admin: platform totals and recent activity.","operationId":"admin_overview","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/admin/users":{"get":{"tags":["admin"],"summary":"Admin: accounts with plan, sites, automations and status; search with q.","operationId":"admin_list_users","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/admin/users/{user_id}":{"get":{"tags":["admin"],"summary":"Admin: one account with its plan, sites, automations and failed runs.","operationId":"admin_get_user","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/admin/shards":{"get":{"tags":["admin"],"summary":"Admin: WordPress hosting shards with site count, capacity, status and a live health check (health=false skips it).","operationId":"admin_list_shards","parameters":[{"name":"health","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Health"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/admin/shards/{shard_id}":{"put":{"tags":["admin"],"summary":"Admin: set a shard's status (active, draining: no new sites, off) or capacity.","operationId":"admin_update_shard","parameters":[{"name":"shard_id","in":"path","required":true,"schema":{"type":"string","title":"Shard Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShardUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/admin/hosting/library":{"get":{"tags":["admin"],"summary":"Admin: the shared plugin library (wordpress.org plugins the site wizard offers, kept once per shard): slug, name, category, description, default.","operationId":"admin_get_hosting_library","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]},"put":{"tags":["admin"],"summary":"Admin: set the shared plugin library (items: slug, category seo/forms/security/performance/content/other, default; name and description come from wordpress.org when empty). Every shard downloads it within minutes.","operationId":"admin_update_hosting_library","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Library"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/admin/hosting/wordpress-rules":{"get":{"tags":["admin"],"summary":"Admin: what hosted sites may add to WordPress: plugins and themes (mode off, allowlist or directory; allow and block lists of wordpress.org slugs) and daily updates.","operationId":"admin_get_wordpress_rules","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]},"put":{"tags":["admin"],"summary":"Admin: set what hosted sites may add to WordPress (plugins and themes: mode off, allowlist or directory; allow / block slugs; autoUpdate) and the limits per site (maxPlugins, maxDiskMbPerSite; empty = unlimited). Every shard has it at once.","operationId":"admin_update_wordpress_rules","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Rules"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/admin/sites/{site_id}/provisioning/retry":{"post":{"tags":["admin"],"summary":"Admin: start a hosted site's failed setup again from the step it stopped at.","operationId":"admin_retry_provisioning","parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"string","title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/admin/audit":{"get":{"tags":["admin"],"summary":"Admin: the audit log of admin actions, newest first.","operationId":"admin_list_audit","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}},{"name":"before","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Before"}},{"name":"userId","in":"query","required":false,"schema":{"type":"string","default":"","title":"Userid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/admin/platform":{"get":{"tags":["admin"],"summary":"Admin: platform settings (top-ups, commission, market gateway, agents, suspension).","operationId":"admin_get_platform_settings","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/admin/market/presets":{"get":{"tags":["admin"],"summary":"Admin: ready-made platform products (Serper, DataForSEO…) to start from; pass a preset's fields to admin_create_market_product with the key as secret.","operationId":"admin_list_market_presets","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/admin/market/products":{"get":{"tags":["admin"],"summary":"Admin: market products (scope platform or all) with calls and sales.","operationId":"admin_list_market_products","parameters":[{"name":"scope","in":"query","required":false,"schema":{"enum":["platform","all"],"type":"string","default":"platform","title":"Scope"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]},"post":{"tags":["admin"],"summary":"Admin: add a platform product (MCP server or OpenAPI API) with its key, key modes and default tool price; tools are read at once.","operationId":"admin_create_market_product","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/admin/market/products/{product_id}":{"get":{"tags":["admin"],"summary":"Admin: one market product with every tool, price and provider cost.","operationId":"admin_get_market_product","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"string","title":"Product Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]},"put":{"tags":["admin"],"summary":"Admin: change a product (details, key, key modes, fee, own-key price) or suspend / restore it (status).","operationId":"admin_update_market_product","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"string","title":"Product Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]},"delete":{"tags":["admin"],"summary":"Admin: delete a market product (call history stays).","operationId":"admin_delete_market_product","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"string","title":"Product Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/admin/market/products/{product_id}/refresh":{"post":{"tags":["admin"],"summary":"Admin: read a product's tools again (prices are kept).","operationId":"admin_refresh_market_product","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"string","title":"Product Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/admin/market/products/{product_id}/tools/{name}":{"put":{"tags":["admin"],"summary":"Admin: set a tool's price and provider cost per call (USD) and switch it on or off.","operationId":"admin_update_market_tool","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"string","title":"Product Id"}},{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/admin/market/calls":{"get":{"tags":["admin"],"summary":"Admin: recent market calls of every account.","operationId":"admin_list_market_calls","parameters":[{"name":"productId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Productid"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/support/settings":{"get":{"tags":["support"],"summary":"Whether the AutoWP assistant (an AI bot) answers support tickets and live chats right now, who pays its model cost (platform or your wallet) and the reply-time note.","operationId":"get_support_settings","parameters":[{"name":"locale","in":"query","required":false,"schema":{"anyOf":[{"enum":["en","tr","es","de","fr","pt","it","ru"],"type":"string"},{"type":"null"}],"description":"Language of the note (a language code such as en, tr, de); default: the request's language.","title":"Locale"},"description":"Language of the note (a language code such as en, tr, de); default: the request's language."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/support/tickets":{"get":{"tags":["support"],"summary":"Your support tickets and live chats, newest first; filter by status or channel.","operationId":"list_support_tickets","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"enum":["open","waiting_staff","answered","closed"],"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"channel","in":"query","required":false,"schema":{"anyOf":[{"enum":["ticket","chat"],"type":"string"},{"type":"null"}],"title":"Channel"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]},"post":{"tags":["support"],"summary":"Open a support ticket (channel ticket) or a live chat (channel chat). A person answers within 30 minutes at the latest; until then the AutoWP assistant, a bot, answers and can propose actions you approve in the dashboard.","operationId":"create_support_ticket","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/support/tickets/{ticket_id}":{"get":{"tags":["support"],"summary":"One support ticket with its messages (after: only messages newer than this message id).","operationId":"get_support_ticket","parameters":[{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","title":"Ticket Id"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Only messages after this message id.","title":"After"},"description":"Only messages after this message id."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/support/tickets/{ticket_id}/messages":{"post":{"tags":["support"],"summary":"Write a message on one of your support tickets; it reopens a closed one.","operationId":"reply_support_ticket","parameters":[{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","title":"Ticket Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/support/tickets/{ticket_id}/human":{"post":{"tags":["support"],"summary":"Ask for a person instead of the bot on a ticket or live chat.","operationId":"request_human_support","parameters":[{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","title":"Ticket Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/support/tickets/{ticket_id}/close":{"post":{"tags":["support"],"summary":"Close one of your support tickets.","operationId":"close_support_ticket","parameters":[{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","title":"Ticket Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/admin/support/tickets":{"get":{"tags":["admin"],"summary":"Admin: support tickets of every account; filter by status, channel or overdue (no reply from staff within 30 minutes).","operationId":"admin_list_support_tickets","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"enum":["open","waiting_staff","answered","closed"],"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"channel","in":"query","required":false,"schema":{"anyOf":[{"enum":["ticket","chat"],"type":"string"},{"type":"null"}],"title":"Channel"}},{"name":"overdue","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Overdue"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/admin/support/costs":{"get":{"tags":["admin"],"summary":"Admin: what the support assistant cost per day (provider cost, paid by the platform or by users, charged to wallets, answers) for the last 7–180 days.","operationId":"admin_support_costs","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":180,"minimum":7,"description":"How many days back, today included (7–180).","default":30,"title":"Days"},"description":"How many days back, today included (7–180)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/admin/support/tickets/{ticket_id}":{"get":{"tags":["admin"],"summary":"Admin: one support ticket with every message and the account.","operationId":"admin_get_support_ticket","parameters":[{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","title":"Ticket Id"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"After"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/admin/support/tickets/{ticket_id}/messages":{"post":{"tags":["admin"],"summary":"Admin: answer a support ticket as staff; the bot stops and the user is emailed.","operationId":"admin_reply_support_ticket","parameters":[{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","title":"Ticket Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/admin/support/tickets/{ticket_id}/claim":{"post":{"tags":["admin"],"summary":"Admin: take over a ticket or live chat; the bot stops answering.","operationId":"admin_claim_support_ticket","parameters":[{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","title":"Ticket Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/admin/support/tickets/{ticket_id}/release":{"post":{"tags":["admin"],"summary":"Admin: hand a ticket back to the bot (not while the AI assistant is off).","operationId":"admin_release_support_ticket","parameters":[{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","title":"Ticket Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/admin/support/tickets/{ticket_id}/status":{"post":{"tags":["admin"],"summary":"Admin: set a ticket's status (open, waiting_staff, answered, closed).","operationId":"admin_set_support_ticket_status","parameters":[{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","title":"Ticket Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/autowp_api__routes__support__StatusIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}},"/v1/admin/translations/sync":{"post":{"tags":["admin"],"summary":"Translate every package, platform market product and hosting library plugin into the interface languages it is missing (the admin's own wording is kept).","operationId":"admin_translate_missing","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearer":[]}]}}},"components":{"schemas":{"ActionRun":{"properties":{"args":{"additionalProperties":true,"type":"object","title":"Args","description":"The operation's arguments (list_site_plugin_actions shows them)."},"confirmToken":{"type":"string","title":"Confirmtoken","description":"For an operation that changes something: empty to preview, then the confirmToken from that preview to apply it. Reading operations need none.","default":""}},"type":"object","title":"ActionRun"},"AliasChoice":{"properties":{"enabled":{"type":"boolean","title":"Enabled","description":"true: the site's other name (www.example.com for a site on example.com, example.com for one on www.example.com) also opens it, redirected to its address; false: it stops"}},"type":"object","required":["enabled"],"title":"AliasChoice"},"AutomationIn":{"properties":{"name":{"type":"string","maxLength":120,"title":"Name"},"workflowId":{"type":"string","maxLength":64,"title":"Workflowid"},"siteIds":{"items":{"type":"string"},"type":"array","maxItems":200,"title":"Siteids"},"params":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"integer"},{"items":{"type":"string"},"type":"array"},{"items":{"type":"integer"},"type":"array"},{"additionalProperties":{"type":"integer"},"type":"object"}]},"type":"object","title":"Params"},"filters":{"anyOf":[{"$ref":"#/components/schemas/SourceFilters"},{"type":"null"}]},"every":{"type":"string","enum":["hour","day","week"],"title":"Every"}},"type":"object","required":["name","workflowId","every"],"title":"AutomationIn"},"Blueprint":{"properties":{"pluginOptions":{"additionalProperties":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"boolean"}]},"type":"object"},"type":"object","title":"Pluginoptions","description":"Settings of the chosen plugins: {plugin slug: {option key: value}}, from the options list_hosting_plugins shows for each plugin (an option left out gets its default)"},"categories":{"items":{"type":"string"},"type":"array","maxItems":30,"title":"Categories","description":"Categories the site starts with (suggest_site_categories proposes some)"},"automations":{"items":{"$ref":"#/components/schemas/CategoryAutomation"},"type":"array","maxItems":30,"title":"Automations","description":"Automations created once the site is live, one per row: running while your automation package has room, paused after that"},"writing":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"boolean"}]},"type":"object","title":"Writing","description":"Writing settings every automation gets, as in create_automation: style, subheadings, planner, writerModel, imageMethod, keywordData (the post language is the site's)"}},"type":"object","title":"Blueprint"},"CategoryAutomation":{"properties":{"category":{"type":"string","maxLength":60,"minLength":1,"title":"Category","description":"One of the blueprint's categories"},"source":{"type":"string","enum":["google_news","rss","wordpress","research"],"title":"Source","description":"google_news: news searched with `value` (default: the category name); rss: the feed at `value`; wordpress: the WordPress site at `value`; research: the research agent with `value` as its brief (default: research the category's topic)"},"value":{"type":"string","maxLength":2000,"title":"Value","description":"The search, feed URL, site URL or research brief","default":""},"every":{"type":"string","enum":["hour","day","week"],"title":"Every","description":"How often it publishes a post","default":"day"}},"type":"object","required":["category","source"],"title":"CategoryAutomation"},"CategoryIdeas":{"properties":{"topic":{"type":"string","maxLength":300,"minLength":2,"title":"Topic","description":"What the site is about"},"language":{"type":"string","maxLength":12,"title":"Language","description":"The language the category names are written in","default":"en"},"count":{"type":"integer","maximum":15.0,"minimum":1.0,"title":"Count","description":"How many categories","default":6}},"type":"object","required":["topic"],"title":"CategoryIdeas"},"CheckBody":{"properties":{"names":{"items":{"type":"string"},"type":"array","maxItems":50,"minItems":1,"title":"Names","description":"Full domain names to check, e.g. bakingnotes.com"}},"type":"object","required":["names"],"title":"CheckBody"},"Confirm":{"properties":{"confirmToken":{"type":"string","title":"Confirmtoken","description":"Leave empty to preview the undo; then the confirmToken from that preview to apply it.","default":""}},"type":"object","title":"Confirm"},"Edge":{"properties":{"source":{"type":"string","title":"Source","description":"The node the edge leaves."},"target":{"type":"string","title":"Target","description":"The node it leads to."},"sourceHandle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sourcehandle","description":"The output it leaves from: true or false on an if node, each or done on a loop node; none otherwise."}},"type":"object","required":["source","target"],"title":"Edge"},"FeedIn":{"properties":{"url":{"type":"string","maxLength":2000,"title":"Url"}},"type":"object","required":["url"],"title":"FeedIn"},"FinishConnect":{"properties":{"siteUrl":{"type":"string","maxLength":300,"title":"Siteurl","description":"The WordPress site's address, e.g. https://example.com"},"userLogin":{"type":"string","maxLength":120,"title":"Userlogin","description":"A WordPress username with the administrator or editor role"},"password":{"type":"string","maxLength":200,"title":"Password","description":"An application password of that user (not the sign-in password)"}},"type":"object","required":["siteUrl","userLogin","password"],"title":"FinishConnect"},"Graph":{"properties":{"nodes":{"items":{"$ref":"#/components/schemas/Node"},"type":"array","maxItems":50,"title":"Nodes"},"edges":{"items":{"$ref":"#/components/schemas/Edge"},"type":"array","maxItems":200,"title":"Edges"}},"type":"object","title":"Graph"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"InstallIn":{"properties":{"productId":{"type":"string","title":"Productid","description":"The product's id or slug (list_market_products)."},"mode":{"type":"string","enum":["platform","byok"],"title":"Mode","description":"platform: AutoWP's key, priced per call; byok: your own key for the provider.","default":"platform"},"secret":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Secret","description":"Your own key (byok only)."},"fields":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Fields","description":"Values for the product's install fields (installFields in get_market_product), e.g. {\"account\": \"myhandle\"}. A tool argument of the same name gets the value when a call leaves it out. An empty value clears a field."},"label":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}],"title":"Label","description":"A name for this connection, e.g. the site or client it is for. A product can be connected more than once (a key per site); an automation picks one with \"<product>@<connection id>\" in its tools."},"endpoint":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Endpoint","description":"This connection's own address, for products whose page says connectionEndpoint (e.g. one MCP server per site)."}},"type":"object","required":["productId"],"title":"InstallIn"},"Library":{"properties":{"items":{"items":{"$ref":"#/components/schemas/LibraryItem"},"type":"array","maxItems":100,"title":"Items"}},"type":"object","title":"Library"},"LibraryItem":{"properties":{"slug":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{0,99}$","title":"Slug","description":"The plugin's wordpress.org slug, e.g. wordpress-seo"},"name":{"type":"string","maxLength":120,"title":"Name","description":"Shown in the wizard (filled from wordpress.org when empty)","default":""},"category":{"type":"string","enum":["seo","forms","security","performance","content","other"],"title":"Category","description":"seo (the wizard offers one), forms, security, performance, content, other","default":"other"},"description":{"type":"string","maxLength":300,"title":"Description","default":""},"default":{"type":"boolean","title":"Default","description":"Chosen in the wizard unless the user unticks it","default":false},"options":{"items":{"$ref":"#/components/schemas/PluginOption"},"type":"array","maxItems":12,"title":"Options","description":"Settings the wizard offers for this plugin (empty: AutoWP's preset for Yoast and Rank Math, else none)"},"translations":{"anyOf":[{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"type":"object"},{"type":"null"}],"title":"Translations","description":"Your own name/description per language ({\"name\": {\"tr\": \"...\"}}); the rest is translated automatically. Not stored with the item."}},"type":"object","required":["slug"],"title":"LibraryItem"},"MessageIn":{"properties":{"message":{"type":"string","maxLength":8000,"minLength":1,"title":"Message"}},"type":"object","required":["message"],"title":"MessageIn"},"NewCategories":{"properties":{"names":{"items":{"type":"string"},"type":"array","maxItems":30,"minItems":1,"title":"Names","description":"Category names; ones the site already has are kept"}},"type":"object","required":["names"],"title":"NewCategories"},"NewSite":{"properties":{"domainMode":{"type":"string","enum":["subdomain","own","register"],"title":"Domainmode","description":"subdomain: <name>.<AutoWP hosting domain>; own: a domain you own (you add a CNAME); register: a domain AutoWP registered for you (domainId), its DNS is set up for you"},"domain":{"type":"string","maxLength":253,"title":"Domain","description":"The subdomain name (subdomain mode) or the full domain (own mode); not used with register","default":""},"domainId":{"type":"string","maxLength":40,"title":"Domainid","description":"register mode: the domain from list_domains (ordered in the dashboard; setup waits until the registrar confirms it)","default":""},"name":{"type":"string","maxLength":120,"title":"Name","description":"The site title (default: the domain)","default":""},"language":{"type":"string","maxLength":12,"title":"Language","description":"WordPress language, e.g. en, tr, de_DE","default":"en"},"plugins":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Plugins","description":"Plugins from the hosting library (list_hosting_plugins) to install and activate; at most one SEO plugin"},"pages":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Pages","description":"about, contact, privacy, terms"},"wpUsername":{"type":"string","maxLength":50,"title":"Wpusername","description":"The site's WordPress administrator username (3-50 letters, digits, dots, hyphens, underscores; unique on the hosting server)","default":""},"wpPassword":{"type":"string","maxLength":200,"title":"Wppassword","description":"Its password (12+ characters). AutoWP does not keep it once the site is set up","default":""},"blueprint":{"anyOf":[{"$ref":"#/components/schemas/Blueprint"},{"type":"null"}],"description":"What the site starts with beyond WordPress: plugin settings, categories, and one automation per category (created once it is live)"},"wwwRedirect":{"type":"boolean","title":"Wwwredirect","description":"Own domain only: on a root domain (example.com) www.example.com also opens the site, and on www.example.com the root domain does; the other name redirects to the site's address. Ignored for other subdomains","default":true}},"type":"object","required":["domainMode"],"title":"NewSite"},"Node":{"properties":{"id":{"type":"string","pattern":"^[A-Za-z][A-Za-z0-9_]{0,39}$","title":"Id","description":"Unique in the workflow; expressions read its output as {{ nodes.<id>.<field> }}. Letters, digits and _."},"type":{"type":"string","maxLength":40,"title":"Type","description":"A node type from list_workflow_nodes (e.g. trigger.schedule, rss.read, scrape, llm.text, llm.json, market.tool, loop, if)."},"label":{"type":"string","maxLength":80,"title":"Label","description":"What the node does, for people.","default":""},"config":{"additionalProperties":true,"type":"object","title":"Config","description":"The node's settings (its schema: get_workflow_node). Text may hold expressions."},"position":{"anyOf":[{"$ref":"#/components/schemas/Position"},{"type":"null"}],"description":"Where the node sits on the canvas."}},"type":"object","required":["id","type"],"title":"Node"},"OptionChoice":{"properties":{"value":{"type":"string","maxLength":100,"title":"Value","description":"The value written to the plugin's setting"},"label":{"type":"string","maxLength":120,"title":"Label","description":"Shown in the wizard (the value when empty)","default":""}},"type":"object","required":["value"],"title":"OptionChoice"},"OwnProductIn":{"properties":{"kind":{"type":"string","enum":["mcp","openapi"],"title":"Kind"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"description":{"type":"string","maxLength":4000,"title":"Description","default":""},"category":{"type":"string","title":"Category","default":"other"},"endpoint":{"type":"string","maxLength":2000,"title":"Endpoint","default":""},"specUrl":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Specurl"},"specText":{"anyOf":[{"type":"string","maxLength":5000000},{"type":"null"}],"title":"Spectext"},"auth":{"$ref":"#/components/schemas/autowp_api__routes__market__AuthIn","default":{"type":"none"}},"secret":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Secret"},"timeoutSec":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Timeoutsec"}},"type":"object","required":["kind","name"],"title":"OwnProductIn"},"OwnProductUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Description"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"endpoint":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Endpoint"},"specUrl":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Specurl"},"specText":{"anyOf":[{"type":"string","maxLength":5000000},{"type":"null"}],"title":"Spectext"},"auth":{"anyOf":[{"$ref":"#/components/schemas/autowp_api__routes__market__AuthIn"},{"type":"null"}]},"secret":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Secret"},"timeoutSec":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Timeoutsec"}},"type":"object","title":"OwnProductUpdate"},"Part":{"properties":{"id":{"type":"string","maxLength":64,"title":"Id"},"name":{"type":"string","maxLength":120,"title":"Name"},"type":{"type":"string","enum":["paragraph","paragraphs_h2","heading","image","quote","code","table","faq","static_html","ai_html","source_link"],"title":"Type"},"prompt":{"type":"string","maxLength":4000,"title":"Prompt","default":""},"level":{"anyOf":[{"type":"integer","maximum":6.0,"minimum":1.0},{"type":"null"}],"title":"Level"},"count":{"anyOf":[{"type":"integer","maximum":30.0,"minimum":1.0},{"type":"null"}],"title":"Count"}},"type":"object","required":["id","name","type"],"title":"Part"},"PlannerIn":{"properties":{"id":{"type":"string","title":"Id","default":""},"name":{"type":"string","maxLength":120,"title":"Name"},"description":{"type":"string","maxLength":500,"title":"Description","default":""},"parts":{"items":{"$ref":"#/components/schemas/Part"},"type":"array","maxItems":60,"title":"Parts"}},"type":"object","required":["name","parts"],"title":"PlannerIn"},"PluginOption":{"properties":{"key":{"type":"string","pattern":"^[a-z0-9_]{1,40}$","title":"Key","description":"This option's id in the wizard"},"label":{"type":"string","maxLength":120,"title":"Label","description":"Shown in the wizard"},"help":{"type":"string","maxLength":300,"title":"Help","default":""},"type":{"type":"string","enum":["toggle","select","text"],"title":"Type","default":"select"},"choices":{"items":{"$ref":"#/components/schemas/OptionChoice"},"type":"array","maxItems":20,"title":"Choices","description":"select only"},"default":{"anyOf":[{"type":"string"},{"type":"boolean"}],"title":"Default","description":"The value when the user changes nothing","default":""},"group":{"type":"string","pattern":"^[a-z0-9_-]{1,60}$","title":"Group","description":"The plugin's settings group, as get_site_wordpress_settings shows it, e.g. titles"},"setting":{"type":"string","pattern":"^[A-Za-z0-9_.-]{1,100}$","title":"Setting","description":"The key inside the group, e.g. title_separator"}},"type":"object","required":["key","label","group","setting"],"title":"PluginOption","description":"A setting the site wizard offers for this plugin, written to the new site when it is set up (through the same\nallowlisted, logged and undoable settings change as update_site_wordpress_settings)."},"Position":{"properties":{"x":{"type":"number","title":"X","default":0},"y":{"type":"number","title":"Y","default":0}},"type":"object","title":"Position"},"ProductIn":{"properties":{"kind":{"type":"string","enum":["mcp","openapi"],"title":"Kind"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"slug":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}],"title":"Slug"},"description":{"type":"string","maxLength":4000,"title":"Description","default":""},"category":{"type":"string","title":"Category","default":"other"},"icon":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Icon"},"endpoint":{"type":"string","maxLength":2000,"title":"Endpoint","default":""},"specUrl":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Specurl"},"specText":{"anyOf":[{"type":"string","maxLength":5000000},{"type":"null"}],"title":"Spectext"},"auth":{"$ref":"#/components/schemas/autowp_api__routes__admin_market__AuthIn","default":{"type":"none"}},"secret":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Secret"},"keyModes":{"items":{"type":"string","enum":["platform","byok"]},"type":"array","title":"Keymodes","default":["platform"]},"feePct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Feepct"},"byokPriceUsd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Byokpriceusd"},"timeoutSec":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Timeoutsec"},"toolPriceUsd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Toolpriceusd"},"toolCostUsd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Toolcostusd"},"toolsEnabled":{"type":"boolean","title":"Toolsenabled","default":true},"pricing":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Pricing"},"specTransform":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Spectransform","description":"OpenAPI only: which operations become tools and how calls are sent. {include: [\"GET /v1/users/*\"], exclude: [...], dropParams: [...], headers: {...}, idempotencyHeader: \"Idempotency-Key\"}; one document can feed several products."},"installFields":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Installfields","description":"What a buyer enters when connecting, beside the key: [{name, label, help, placeholder, required, secret}]. A tool argument (or JSON body field) of the same name gets the value when a call leaves it out."},"docsMd":{"anyOf":[{"type":"string","maxLength":20000},{"type":"null"}],"title":"Docsmd","description":"A Markdown guide shown first in the product's documentation."},"connectionEndpoint":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Connectionendpoint","description":"true: each connection may give its own address (e.g. one MCP server per site); calls go there instead of the product's endpoint."},"translations":{"anyOf":[{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"type":"object"},{"type":"null"}],"title":"Translations","description":"Platform products: your own wording per language, {\"name\"|\"description\"|\"docs\"|\"field.<name>.label\": {\"tr\": \"...\"}}. Languages left out are translated automatically from the English; an empty text hands a language back to it."}},"type":"object","required":["kind","name"],"title":"ProductIn"},"ProductUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Description"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"icon":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Icon"},"endpoint":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Endpoint"},"specUrl":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Specurl"},"specText":{"anyOf":[{"type":"string","maxLength":5000000},{"type":"null"}],"title":"Spectext"},"auth":{"anyOf":[{"$ref":"#/components/schemas/autowp_api__routes__admin_market__AuthIn"},{"type":"null"}]},"secret":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Secret"},"keyModes":{"anyOf":[{"items":{"type":"string","enum":["platform","byok"]},"type":"array"},{"type":"null"}],"title":"Keymodes"},"feePct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Feepct"},"byokPriceUsd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Byokpriceusd"},"timeoutSec":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Timeoutsec"},"pricing":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Pricing"},"status":{"anyOf":[{"type":"string","enum":["approved","suspended"]},{"type":"null"}],"title":"Status"},"specTransform":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Spectransform","description":"OpenAPI only: which operations become tools and how calls are sent. {include: [\"GET /v1/users/*\"], exclude: [...], dropParams: [...], headers: {...}, idempotencyHeader: \"Idempotency-Key\"}; one document can feed several products."},"installFields":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Installfields","description":"What a buyer enters when connecting, beside the key: [{name, label, help, placeholder, required, secret}]. A tool argument (or JSON body field) of the same name gets the value when a call leaves it out."},"docsMd":{"anyOf":[{"type":"string","maxLength":20000},{"type":"null"}],"title":"Docsmd","description":"A Markdown guide shown first in the product's documentation."},"connectionEndpoint":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Connectionendpoint","description":"true: each connection may give its own address (e.g. one MCP server per site); calls go there instead of the product's endpoint."},"translations":{"anyOf":[{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"type":"object"},{"type":"null"}],"title":"Translations","description":"Platform products: your own wording per language, {\"name\"|\"description\"|\"docs\"|\"field.<name>.label\": {\"tr\": \"...\"}}. Languages left out are translated automatically from the English; an empty text hands a language back to it."}},"type":"object","title":"ProductUpdate"},"ResearchSettings":{"properties":{"weights":{"additionalProperties":{"type":"number"},"type":"object","title":"Weights","description":"referringDomains, authority, diversity, anchors, topic, history, traffic, geo (they need not add up to 1)"},"bands":{"additionalProperties":{"type":"number"},"type":"object","title":"Bands","description":"recommended (default 70), review (default 50)"},"rules":{"additionalProperties":{"type":"number"},"type":"object","title":"Rules","description":"Thresholds: spamReview/spamReject (0-100), topSubnetReview/Reject, topIpReview/Reject, topAsnReview/Reject, cjkReview/Reject, foreignReview/Reject (shares 0-1), subnetRatioReview/Reject, cjkConcentrated, cjkNetworks, minReferringDomains"}},"type":"object","title":"ResearchSettings"},"ResetIn":{"properties":{"items":{"type":"boolean","title":"Items","description":"Forget the items dedupe nodes let through (they come through again).","default":true},"values":{"type":"boolean","title":"Values","description":"Forget the values vars.set nodes kept.","default":true}},"type":"object","title":"ResetIn"},"Rule":{"properties":{"mode":{"type":"string","enum":["off","allowlist","directory"],"title":"Mode","description":"off, allowlist (only allow) or directory (any but block)"},"allow":{"items":{"type":"string"},"type":"array","maxItems":500,"title":"Allow","description":"wordpress.org slugs allowed in allowlist mode"},"block":{"items":{"type":"string"},"type":"array","maxItems":500,"title":"Block","description":"wordpress.org slugs never allowed"}},"type":"object","required":["mode"],"title":"Rule"},"Rules":{"properties":{"plugins":{"$ref":"#/components/schemas/Rule"},"themes":{"$ref":"#/components/schemas/Rule"},"autoUpdate":{"type":"boolean","title":"Autoupdate","description":"WordPress updates each site's plugins and themes by itself","default":true},"maxPlugins":{"anyOf":[{"type":"integer","maximum":1000.0,"minimum":1.0},{"type":"null"}],"title":"Maxplugins","description":"Most plugins per site; empty = unlimited"},"maxDiskMbPerSite":{"anyOf":[{"type":"integer","maximum":10000000.0,"minimum":50.0},{"type":"null"}],"title":"Maxdiskmbpersite","description":"Disk cap per site in MB over every hosting package; empty = unlimited (the package's own limit still applies)"}},"type":"object","required":["plugins","themes"],"title":"Rules"},"RunIn":{"properties":{"input":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Input","description":"The run's input, read as {{ trigger.<field> }} (a manual trigger)."},"draft":{"type":"boolean","title":"Draft","description":"Run the draft as it is now (a test run) instead of the published version.","default":false}},"type":"object","title":"RunIn"},"SearchBody":{"properties":{"topic":{"type":"string","maxLength":300,"title":"Topic","description":"What the new site is about; expired domains whose name fits it are picked, and their history is compared with it","default":""},"keywords":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Keywords","description":"More words the domain name may carry"},"language":{"type":"string","maxLength":12,"title":"Language","description":"The new site's language: backlinks from countries and scripts that do not fit it count against a domain","default":"en"},"tlds":{"items":{"type":"string"},"type":"array","maxItems":10,"title":"Tlds","description":"Only these extensions, e.g. com, net"},"maxPriceUsd":{"type":"number","maximum":10000.0,"minimum":0.0,"title":"Maxpriceusd","description":"The most a domain may cost (0: the platform ceiling)","default":0},"count":{"type":"integer","maximum":20.0,"minimum":1.0,"title":"Count","description":"How many domains to check at most","default":10},"domains":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Domains","description":"Check these domains instead of searching (ones you found yourself)"}},"type":"object","title":"SearchBody"},"SettingsChange":{"properties":{"general":{"additionalProperties":true,"type":"object","title":"General","description":"WordPress settings to change, {name: value}. Allowed: blogname, blogdescription, timezone_string, date_format, time_format, start_of_week, posts_per_page, posts_per_rss, rss_use_excerpt, show_on_front, page_on_front, page_for_posts, permalink_structure, category_base, tag_base, default_comment_status, default_ping_status, blog_public. The site's address, admin email, users, roles, plugins and theme cannot be changed here."},"plugins":{"additionalProperties":{"additionalProperties":{"additionalProperties":true,"type":"object"},"type":"object"},"type":"object","title":"Plugins","description":"Plugin settings to change: {plugin slug: {group: {key: value}}}, e.g. {\"seo-by-rank-math\": {\"titles\": {\"title_separator\": \"|\"}}}. Only keys that get_site_wordpress_settings shows, with the same kind of value as now (where `fields` lists choices, one of them); a setting cannot be removed."},"confirmToken":{"type":"string","title":"Confirmtoken","description":"Leave empty to preview. To apply, the confirmToken from the preview of exactly this change.","default":""}},"type":"object","title":"SettingsChange"},"ShardUpdate":{"properties":{"status":{"anyOf":[{"type":"string","enum":["active","draining","off"]},{"type":"null"}],"title":"Status","description":"active takes new sites; draining keeps its sites but takes no new ones; off: neither"},"capacity":{"anyOf":[{"type":"integer","maximum":5000.0,"minimum":1.0},{"type":"null"}],"title":"Capacity","description":"Most sites this shard hosts"}},"type":"object","title":"ShardUpdate"},"SiteIn":{"properties":{"url":{"type":"string","maxLength":2000,"title":"Url"}},"type":"object","required":["url"],"title":"SiteIn"},"SiteSettings":{"properties":{"useDefaults":{"type":"boolean","title":"Usedefaults","default":true},"writerModel":{"type":"string","maxLength":120,"title":"Writermodel","default":"anthropic/claude-sonnet-5-5"},"seoModel":{"type":"string","maxLength":120,"title":"Seomodel","default":"anthropic/claude-haiku-5-5"},"postStatus":{"type":"string","enum":["publish","draft","future"],"title":"Poststatus","default":"future"},"maxPostsPerDay":{"type":"integer","maximum":500.0,"minimum":1.0,"title":"Maxpostsperday","default":24},"checkModel":{"type":"string","maxLength":120,"title":"Checkmodel","default":"openai/gpt-5-mini"},"imageMethod":{"type":"string","maxLength":160,"title":"Imagemethod","default":"flux"},"imageFormat":{"type":"string","enum":["webp","jpeg","png"],"title":"Imageformat","default":"webp"},"imageWidth":{"anyOf":[{"type":"integer","maximum":4096.0,"minimum":64.0},{"type":"null"}],"title":"Imagewidth","default":1200},"imageHeight":{"anyOf":[{"type":"integer","maximum":4096.0,"minimum":64.0},{"type":"null"}],"title":"Imageheight","default":675},"imageEditPrompt":{"type":"string","maxLength":2000,"title":"Imageeditprompt","default":""},"imageChain":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Imagechain"},"searchLicense":{"type":"string","enum":["commercial","any"],"title":"Searchlicense","default":"any"},"textFallbacks":{"items":{"type":"string"},"type":"array","maxItems":5,"title":"Textfallbacks"},"defaultImage":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Defaultimage"}},"type":"object","title":"SiteSettings"},"SourceFilters":{"properties":{"duplicates":{"type":"boolean","title":"Duplicates","default":true},"titleSimilarity":{"type":"number","maximum":0.98,"minimum":0.6,"title":"Titlesimilarity","default":0.82},"minWords":{"type":"boolean","title":"Minwords","default":false},"minWordsValue":{"type":"integer","maximum":5000.0,"minimum":50.0,"title":"Minwordsvalue","default":300},"spam":{"type":"boolean","title":"Spam","default":false},"relevance":{"type":"boolean","title":"Relevance","default":false},"minRelevance":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Minrelevance","default":50},"spamPrompt":{"type":"string","maxLength":2000,"title":"Spamprompt","default":""},"relevancePrompt":{"type":"string","maxLength":2000,"title":"Relevanceprompt","default":""},"sameStoryPrompt":{"type":"string","maxLength":2000,"title":"Samestoryprompt","default":""}},"type":"object","title":"SourceFilters","description":"Per automation: which source checks run, and their settings. Everything is off except duplicates."},"SuggestBody":{"properties":{"topic":{"type":"string","maxLength":300,"minLength":2,"title":"Topic","description":"What the site is about, e.g. 'home baking for beginners'"},"keywords":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Keywords","description":"Words the name may use"},"language":{"type":"string","maxLength":12,"title":"Language","description":"The audience's language (names easy to say in it)","default":"en"},"tlds":{"items":{"type":"string"},"type":"array","maxItems":10,"title":"Tlds","description":"Extensions to try, e.g. com, net, blog (default: com, net, org, co, io, blog, news)"},"count":{"type":"integer","maximum":50.0,"minimum":1.0,"title":"Count","description":"How many free names to return at most","default":20}},"type":"object","required":["topic"],"title":"SuggestBody"},"TicketIn":{"properties":{"subject":{"type":"string","maxLength":200,"title":"Subject","description":"Short subject; the first line of the message when empty.","default":""},"message":{"type":"string","maxLength":8000,"minLength":1,"title":"Message","description":"What you need help with."},"channel":{"type":"string","enum":["ticket","chat"],"title":"Channel","description":"ticket (answered here and by email) or chat (live chat).","default":"ticket"}},"type":"object","required":["message"],"title":"TicketIn"},"ToolUpdate":{"properties":{"priceUsd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Priceusd"},"costUsd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Costusd"},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"}},"type":"object","title":"ToolUpdate"},"TryIn":{"properties":{"arguments":{"additionalProperties":true,"type":"object","title":"Arguments"},"connectionId":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Connectionid","description":"Which of your connections to use (default: the product's default connection)."}},"type":"object","title":"TryIn"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"WordpressPassword":{"properties":{"password":{"type":"string","maxLength":200,"minLength":12,"title":"Password","description":"The new password, 12+ characters"}},"type":"object","required":["password"],"title":"WordpressPassword"},"WordpressUsername":{"properties":{"username":{"type":"string","maxLength":50,"minLength":3,"pattern":"^[a-z0-9._-]+$","title":"Username","description":"3-50 lowercase letters, digits, dots, hyphens or underscores"}},"type":"object","required":["username"],"title":"WordpressUsername"},"WorkflowIn":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name","description":"The workflow's name."},"description":{"type":"string","maxLength":2000,"title":"Description","description":"What it does, for people.","default":""},"graph":{"$ref":"#/components/schemas/Graph","description":"The nodes and the edges between them. Exactly one trigger node (trigger.schedule, trigger.manual or trigger.webhook); every other node reached from it. Node settings follow each type's schema (get_workflow_node) and may read earlier nodes' outputs with {{ nodes.<id>.<field> }}, the run's input with {{ trigger.<field> }} and, inside a loop, {{ item }} and {{ index }}."}},"type":"object","required":["name"],"title":"WorkflowIn"},"autowp_api__routes__admin_market__AuthIn":{"properties":{"type":{"type":"string","enum":["none","bearer","basic","header","query","site"],"title":"Type","description":"How the key is sent. site: the call goes to the user's own WordPress site (the automation's site, or the call's \"site\" argument) with the site's stored application password; nothing to connect, no key.","default":"none"},"name":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Name","description":"Header or query parameter name of the key."}},"type":"object","title":"AuthIn"},"autowp_api__routes__automations__StatusIn":{"properties":{"status":{"type":"string","enum":["running","paused"],"title":"Status"}},"type":"object","required":["status"],"title":"StatusIn"},"autowp_api__routes__market__AuthIn":{"properties":{"type":{"type":"string","enum":["none","bearer","basic","header","query"],"title":"Type","default":"none"},"name":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Name"}},"type":"object","title":"AuthIn"},"autowp_api__routes__support__StatusIn":{"properties":{"status":{"type":"string","enum":["open","waiting_staff","answered","closed"],"title":"Status"}},"type":"object","required":["status"],"title":"StatusIn"},"autowp_api__routes__workflows__StatusIn":{"properties":{"status":{"type":"string","enum":["active","paused"],"title":"Status","description":"active: runs on its trigger; paused: does not."}},"type":"object","required":["status"],"title":"StatusIn"}},"securitySchemes":{"bearer":{"type":"http","scheme":"bearer"}}}}