Skip to content

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

KlaviyoKlaviyoDevelopers
v2024-06-15

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

Get Metrics

GEThttps://a.klaviyo.com/api/metrics/

Get all metrics in an account.

Requests can be filtered by the following fields: integration name, integration category

Returns a maximum of 200 results per page.

Revision header
revision: 2024-06-15required
Scopes
metrics:read
Rate limits
Burst: 10/sSteady: 150/m

Query parameters

  • fields[metric]#string[]

    For more information please visit API overview

    Allowed values:
    • name
    • created
    • updated
    • integration
  • filter#string

    For more information please visit API overview
    Allowed field(s)/operator(s):
    integration.name: equals
    integration.category: equals

  • page[cursor]#string

    For more information please visit API overview

Headers

  • revision#stringrequired

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

    2024-06-15

Responses

200Success

Content type: application/json

  • data#object[]required
    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