Web Vitals
Get Layout Shift Activity
GET
apiKeyAuthheader
x-api-key<token>FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.
idOrSlug*stringmetric?|nullpositiveOnly?|nullfrom?string|nullto?string|nulldevice?string|nullbrowser?string|nullos?string|nullcountry?string|nullroute?string|nullbucketMs?string|nullSuccess
application/json- response
[index: integer]?curl -X GET "https://example.com/v0/projects/string/vitals/cls-activity"[ { "period": "current", "bucketStart": 0, "samples": 0, "sessions": 0, "good": 0, "needsImprovement": 0, "poor": 0 }]