Re-run a Diagnostic
run_diagnosticRequests a new Diagnostic of the same website and business as an earlier one (prior_diagnostic_id), reusing that run's answers. Available only on a connection an account admin set up in the Yellowhead app and allowed to make this request; a connection made through an assistant's sign-in cannot make it, on any plan. The website, business and account cannot be changed here. The owner's 1-to-10 area ratings (side_a_scores) and the spend figures can optionally be updated: anything not sent keeps the earlier run's value, and the approver sees each change beside the earlier value. A run is always held for an account admin to approve in the Yellowhead app, whatever the connection's settings; the result is {status: 'pending_approval', approval_id}. It uses one of the account's included monthly Diagnostics while any remain (get_usage shows how many). Once those are used, a plan that offers additional Diagnostics pays the published per-run rate from the account's prepaid balance, and any other plan is refused. Which of the two applies is decided when the run is requested and checked again at approval; if it changed in between, the run is refused rather than charged differently. After approval a run takes 5 to 10 minutes: get_approval_status gives the new Diagnostic's id and get_diagnostic its progress. Only accounts enabled for runs requested from an assistant can use this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| budget | No | Optional. Stated monthly marketing tools/software spend, whole US dollars. Without an override the prior run's stated figure is replayed, or 0 if it never stated one. | |
| side_a_scores | No | Optional. Per-pillar self-assessment overrides, merged over the prior run's scores — omitted pillars keep their prior value. Whole numbers 1–10; unknown pillar names are refused, not ignored. (`web_seo` is the legacy alias for `discoverability`; prefer the latter.) | |
| digital_share_pct | No | Optional. Digital share of total media spend: 100 = all digital, 1–99 = partial. This SCALES UP rather than parting out: advertising_budget_digital must carry the DIGITAL amount, never the total, because the total is derived from it as digital / (share/100). Omit this field when unknown; the total is then never fabricated. | |
| advertising_budget | No | Optional. Total monthly media spend, whole US dollars. | |
| prior_diagnostic_id | Yes | The diagnostic whose intake this run replays. Must belong to your organization. | |
| advertising_platform_fees | No | Optional. Monthly ad platform / management fees, whole US dollars. | |
| advertising_budget_digital | No | Optional. Monthly DIGITAL ad spend, whole US dollars. |