Sign in

Get Events for a Metric Timeline

documented

Fetch a batched timeline for a metric.

GET /api/metrics/{metric_id}/timelineMetricsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://a.klaviyo.com/api/metrics/{{$metric_id}}/timeline" \
  -X GET \
  -H "Authorization: Klaviyo-API-Key {{KLAVIYO_API_KEY}}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -H "revision: 2026-01-15" \
  -G \
  --data-urlencode "since={{$since}}" \
  --data-urlencode "count={{$count}}" \
  --data-urlencode "sort={{$sort}}"