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/v2023-01-24/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":"deserunt ut fugiat voluptate","attributes":{"name":"Excepteur aliq","created":"deserunt eiusmod Ut","updated":"dolor","integration":{}},"links":{"self":"https://hfOYpmKigZfUXk.ezobgq2brMLBoRynE05KxW9iHbQKUz6FV+"}},{"type":"metric","id":"esse voluptate","attributes":{"name":"fugiat adi","created":"est occaecat id do","updated":"reprehenderit adipisicing","integration":{}},"links":{"self":"http://CFXQeQyVn.cfalSilrik"}}],"links":{"self":"http://uWQaqWIoy.xzX84iP7","first":"http://yiDXdSCPzbMMalxiptNAXQAJ.ojbvPu-7EFBzLCBj.W5c,dW5shrFxqMelsvz,rlJuK5EJCyqJ5cTKfrZfSxgN","last":"https://ifxdWmRMKhiLIZolVs.yjins2KkuvHmlKodqZE64VvJlayV4-3+t6WYT+ES0ZwZdd.hqpMyGF","prev":"https://UywnwnjtUbiYVGhXUK.vnJ,NtYDIBPXfCoBH9OqB1HNh05RvS71vS,FX1,iKqCZHQHNhEHA425+,2kO5z30qote","next":"https://XYJoKeKv.yeY26E2zA,3Qheqc-l5oZ5JkEP+5mvfg0BwiXaWrQILoJ.LepoAFDApmieCpSBicseaE6"}}