corestack_ company_ performance_ audit_ report_ get
Read a performance audit report.
When to use it
Read a performance audit's report as the Control Panel's report preview shows it: the comparison between the environments, the response times and how they break down, Google and Lighthouse scores when the audit has them, and which sections the Simple and Technical tabs show. These are today's figures; a shared link keeps the figures it was frozen with until it is refreshed (corestack_company_performance_audit_report_refresh). The raw Google and Lighthouse responses are not included.
Ask for it
Using the Corefinity MCP server, call corestack_company_performance_audit_report_get with audit_id 276. (Read a performance audit report.) Tell me what it returned.Inputs
At least 1.
Answers {built_at, sections, report}: sections lists the section keys the simple and technical tabs show, in order, and whether the contact block shows; report is the report's figures (baseline, comparisons, pages, metric, psi, lighthouse, coverage and the audit's details).
report.lighthouse_state says where the Lighthouse comparison stands: pending (being measured: read the report again in a few minutes), ready (in lighthouse), no_scores (measured, but no run has a category score), failed (the last attempt ended without a result; report.lighthouse_failure gives failed_at and a code: connection, refused, upstream, malformed or lost), not_requested (nothing asked for these sites yet) or unavailable (not offered here). For failed or not_requested, corestack_ (or sharing the audit) asks again. report.lighthouse_failure is null otherwise.
Example call
{
"name": "corestack_company_performance_audit_report_get",
"arguments": {
"audit_id": 276
}
}If it is refused
| Reason | What to do |
|---|---|
tenant_mismatch | No such audit, or it belongs to a company you may not access. |
rate_limited | The person's performance audit reads (120 a minute, shared with the API) are used up; wait a minute. |
invalid_arguments | The arguments do not match the tool's input schema, or the Control Panel refused a field. Fix the fields named in the answer and call again. |
scope_required | The token lacks a scope this call needs. Open the link in the answer to add it, then call again. |
pin_refused | The grant is limited to chosen clusters, sites or environments, and this call is outside them. Open the link in the answer to widen it. |
temporarily_unavailable | The Control Panel could not answer just now. Nothing was started; try again shortly. |
internal_error | Something went wrong on our side. Quote the trace id to support. |