Ingest

Ingest Web Vital

Ingests one compact opt-in Web Vital sample from hk-vitals.js. The server resolves the site from Origin, derives the rating from standard thresholds, and strips browser-provided query strings or hashes from the path.

post/ingest/web-vitals

Request

  • Base URL: https://demo.hitkeep.com
  • URL: https://demo.hitkeep.com/ingest/web-vitals
  • Auth: none declared

Request body

midstring

Optional web-vitals metric instance ID used for future dedupe and bfcache analysis.

n'LCP' | 'INP' | 'CLS' | 'FCP' | 'TTFB' required

Metric name.

ntstring

Navigation type.

pstring required

Browser path. Query strings and hashes are stripped server-side.

pidstring uuid required
sidstring uuid required
tsrcstring
tvstring
uastring

Optional browser user agent used transiently for traffic exclusions. The request header is the compatibility fallback.

vnumber required

Metric value. LCP, INP, FCP, and TTFB use milliseconds. CLS is unitless.

Response

Accepted

Changes

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