Get Event Metrics

GET {{baseUrl}}/api/events/:id/metrics/

Get the metric for an event with the given event ID.

Rate limits:
Burst: 350/s
Steady: 3500/m

Scopes: Events Read Metrics Read

Request Params

KeyDatatypeRequiredDescription
fields[metric]stringFor more information please visit https://developers.klaviyo.com/en/v2022-10-17/reference/api-overview#sparse-fieldsets

HEADERS

KeyDatatypeRequiredDescription
revisionstring(Required) API endpoint revision (format: YYYY-MM-DD[.suffix])
Acceptstring

RESPONSES

status: OK

{"data":[{"type":"metric","id":"dolore eu","attributes":{"name":"ex","created":"ipsum ","updated":"officia nulla","integration":{}},"links":{"self":"https://kgCeOfglHrIHeWiVpCNGyCYK.eujYVyv6Pk0fJd0n.g"}},{"type":"metric","id":"id voluptate","attributes":{"name":"in reprehenderit elit","created":"nulla commodo","updated":"sunt adipisicing","integration":{}},"links":{"self":"https://VebBloJmHuxEPQVpLLEJ.dafQ.D5piug+aedszgBOQjazTraxX8TEK8lSmZgC.LVsY4na"}}],"links":{"self":"https://QxsIqSHbQvReprbgrJZFVOOE.myb27dV7i0kIPc.-iYTBHwgPPCW6DB4wZBhizv.-ronKK1yb9pduB-GSHG7pCnk.Zlyn8icsbrD","first":"https://kGSLZQaCqeWzLNWdoHiXcMjesdqizev.dzlcYbQViViwORL7k,5QenjH3MJJZ.Z1aHRV5oJwJFMKfwG+0gF","last":"https://GPeatGhsYWeyvZfHCSkTOqA.ulyS,AiXqxj8sM4LDd0,.25T4zPeHgAdVavXySVr,MdhbJHwiFjImr","prev":"http://EfKZWYTNJNNtlNyVfyGXDkVJccTxWuQO.kvrj-zLwFztV3yBCns","next":"https://BZZMHtlBfRNum.owfuEii6fJ49m,ujvSTEnAA6-uhMQbebECSlLl-kHpmXPSurO,go+HI16q5asD.Rp+PwH,oBGmrL"}}