Measure the audit's speed again
https://seolyticize.com /api/v1/tools/run_audit_performance_sample Takes the latest complete audit's speed sample again, in the background: a Lighthouse run (mobile) of the homepage and one page of each of the largest URL templates (up to 5 pages), and the origin's Chrome UX Report reading for phone and desktop — the same sample an audit takes when it finishes, replacing that audit's figures. For an audit that finished before a PageSpeed Insights key was connected, or whose runs failed. Takes a few minutes; read the result with get_audit_performance. Uses the agency's PageSpeed Insights and Chrome UX Report connections. Answers 'measure the site's speed now'.
Parameters
Idempotency-KeystringheaderRequest body
application/json
clientIdstringrequiredmaxCostMicrosintegerdryRunboolean{
"clientId": "string",
"maxCostMicros": 0,
"dryRun": true
}Code samples
cURL
curl -X POST "https://seolyticize.com/api/v1/tools/run_audit_performance_sample" \
-H "Authorization: Bearer $SEOLYTICIZE_API_KEY" \
-H "Idempotency-Key: <value>" \
-H "Content-Type: application/json" \
-d '{"clientId":"string","maxCostMicros":0,"dryRun":true}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
data, and its meta.Example
{
"data": {},
"meta": {
"requestId": "string",
"costMicros": 0,
"cached": true,
"cachedFrom": "string",
"dataAsOf": "string",
"sources": [
"string"
],
"partial": true,
"next": [
{
"tool": "string",
"args": {},
"why": "string"
}
],
"nextCursor": "string",
"dryRun": true
}
}Schema
datarequiredmetaobjectrequiredShow child parameters
requestIdstringrequiredcostMicrosintegerrequiredcachedbooleanrequiredcachedFromstringdataAsOfstringsourcesstring[]partialbooleanrequirednextobject[]requiredShow child parameters
toolstringargsobjectwhystringnextCursorstringdryRunbooleanX-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerX-Request-IdstringExample
{
"error": "string",
"code": "string",
"next": "string",
"requestId": "string"
}Schema
errorstringrequiredcodestringnextstringrequestIdstringX-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/run_audit_performance_sample
WWW-AuthenticatestringSame as 400 · POST /api/v1/tools/run_audit_performance_sample
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/run_audit_performance_sample
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/run_audit_performance_sample
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/run_audit_performance_sample
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/run_audit_performance_sample
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerRetry-AfterintegerSame as 400 · POST /api/v1/tools/run_audit_performance_sample
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-Resetinteger