Skip to content

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

KlaviyoKlaviyoDevelopers
v2025-01-15

You're reading the reference for API revision 2025-01-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: 2025-01-15required
Scopes
metrics:read
Rate limits
Burst: 10/sSteady: 150/m

Query parameters

  • fields[flow]#string[]

    For more information please visit API overview

    Allowed values:
    • name
    • status
    • archived
    • created
    • updated
    • trigger_type
  • 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

    Example: equals(integration.name,'example')

  • include#string[]

    For more information please visit API overview

    Allowed values:
    • flow-triggers
  • page[cursor]#string

    For more information please visit API overview

Headers

  • revision#stringrequired

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

    2025-01-15

Responses

200Success

Content type: application/vnd.api+json

  • data#object[]required
    Show 5 fields
    • relationships#object
      Show 1 field
      • flow-triggers#object
        Show 2 fields
        • data#object[]
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • flow
          • id#stringrequired
    • 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

  • included#object[]
    Show 4 fields
    • type#stringrequired
      Allowed values:
      • flow
    • id#stringrequired
    • attributes#objectrequired
      Show 6 fields
      • name#stringnullable
      • status#stringnullable
      • archived#booleannullable
      • created#string<date-time>nullable

        Example: 2022-11-08T00:00:00+00:00

      • updated#string<date-time>nullable

        Example: 2022-11-08T00:00:00+00:00

      • trigger_type#stringnullable

        Corresponds to the object which triggered the flow.

        Allowed values:
        • Added to List
        • Date Based
        • Low Inventory
        • Metric
        • Price Drop
        • Unconfigured

4XXClient Error

Content type: application/vnd.api+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/vnd.api+json

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