Sites

Get Web Vitals summary

Returns p75, sample count, rating counts, and derived p75 rating for each Web Vital metric.

get/api/sites/{id}/web-vitals/summary

Request

  • Base URL: https://demo.hitkeep.com
  • URL: https://demo.hitkeep.com/api/sites/{id}/web-vitals/summary
  • Auth: one of:
    • API key in cookie hk_token
    • HTTP bearer
    • API key in header X-API-Key

Path parameters

idstring uuid required

Query parameters

fromstring date-time
tostring date-time
pathstring

Exact normalized page path.

rating'good' | 'needs_improvement' | 'poor'

Web Vital threshold rating.

metric'LCP' | 'INP' | 'CLS' | 'FCP' | 'TTFB'

Web Vital metric.

Response

Web Vitals summary

goodinteger
metric'LCP' | 'INP' | 'CLS' | 'FCP' | 'TTFB'
needs_improvementinteger
p75number
poorinteger
rating'good' | 'needs_improvement' | 'poor'
samplesinteger

Changes

No recorded changes to this operation across all 1 revision of this API.