Skip to content

This page is available as Markdown at https://developers.klaviyo.com/en/v2026-07-15/reference/get_metric_ids_for_custom_metric.md. Its OpenAPI document is at https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_metric_ids_for_custom_metric.json. An index of every page is at https://developers.klaviyo.com/llms.txt.

KlaviyoKlaviyoDevelopers
v2026-07-15

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

Get Metric IDs for Custom Metric

GEThttps://a.klaviyo.com/api/custom-metrics/{id}/relationships/metrics

Get all metrics for the given custom metric ID.

Revision header
revision: 2026-07-15required
Scopes
metrics:read
Rate limits
Burst: 3/sSteady: 60/m

Path parameters

  • id#stringrequired

    The ID of the custom metric

    Example: 925e385b52fb405715f3616c337cc65c

Headers

  • revision#stringrequired

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

    2026-07-15

Responses

200Success

Content type: application/vnd.api+json

  • data#object[]required
    Show 2 fields
    • type#stringrequired
      Allowed values:
      • metric
    • id#stringrequired

      The Metric ID

  • meta#object

    Response-level metadata

    Show 1 field
    • agent_hints#object

      Optional hints emitted by the API for agent callers

      Show 1 field
      • next_steps#string[]

        Suggested follow-up actions for agents to take after this response

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