Skip to content

This page is available as Markdown at https://developers.klaviyo.com/en/v2024-02-15/reference/get_event_metric.md. An index of every page is at https://developers.klaviyo.com/llms.txt.

KlaviyoKlaviyoDevelopers
v2024-02-15

You're reading the reference for API revision 2024-02-15. The latest revision is 2026-10-15. See this page in the latest revision.

Get Event Metric

GEThttps://a.klaviyo.com/api/events/{id}/metric/

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

Revision header
revision: 2024-02-15required
Scopes
events:readmetrics:read
Rate limits
Burst: 350/sSteady: 3500/m

Path parameters

  • id#stringrequired

Query parameters

  • fields[metric]#string[]

    For more information please visit API overview

    Allowed values:
    • name
    • created
    • updated
    • integration

Headers

  • revision#stringrequired

    API endpoint revision (format: YYYY-MM-DD[.suffix])

    2024-02-15

Responses

200Success

Content type: application/json

  • data#objectrequired
    Show 4 fields
    • type#stringrequired
      Allowed values:
      • metric
    • id#stringrequired

      The Metric ID

    • attributes#objectrequired
      Show 4 fields
      • name#stringnullable

        The name of the metric

      • created#stringnullable

        Creation time in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm)

      • updated#stringnullable

        Last updated time in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm)

      • integration#objectnullable

        The integration associated with the event

4XXClient Error

Content type: application/json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string

5XXServer Error

Content type: application/json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string