Skip to content

This page is available as Markdown at https://developers.klaviyo.com/en/v2026-07-15/reference/query_segment_series.md. Its OpenAPI document is at https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/query_segment_series.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.

Query Segment Series

POSThttps://a.klaviyo.com/api/segment-series-reports

Returns the requested segment analytics series data.

Revision header
revision: 2026-07-15required
Scopes
segments:read
Rate limits
Burst: 1/sSteady: 2/mDaily: 225/d

Query parameters

  • fields[segment-series-report]#string[]

    For more information please visit API overview

    Allowed values:
    • date_times
    • id
    • results

Headers

  • revision#stringrequired

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

    2026-07-15

Request body

Content type: application/vnd.api+jsonrequired

  • data#objectrequired
    Show 2 fields
    • type#stringrequired
      Allowed values:
      • segment-series-report
    • attributes#objectrequired
      Show 4 fields
      • statistics#string[]required

        List of statistics to query for.

        Allowed values:
        • members_added
        • members_removed
        • net_members_changed
        • total_members
      • timeframe#oneOfrequired

        The time frame to pull data from (Max length: 1 year). Data is unavailable before June 1st, 2023. Please use a time frame after this date. See available time frames.

        One of:

        1. Option 1: Timeframe
          • key#stringrequired

            Pre-defined key that represents a set timeframe

            Show 14 allowed values
            • last_12_months
            • last_30_days
            • last_365_days
            • last_3_months
            • last_7_days
            • last_90_days
            • last_month
            • last_week
            • last_year
            • this_month
            • this_week
            • this_year
            • today
            • yesterday
        2. Option 2: CustomTimeframe
          • start#string<date-time>required

            A datetime that represents the start of a custom time frame. Offset is ignored and the company timezone is used.

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

          • end#string<date-time>required

            A datetime that represents the end of a custom time frame. Offset is ignored and the company timezone is used.

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

      • interval#stringrequired

        The interval used to aggregate data within the series request. If hourly is used, the timeframe cannot be longer than 7 days. If daily is used, the timeframe cannot be longer than 60 days. If monthly is used, the timeframe cannot be longer than 52 weeks.

        Allowed values:
        • daily
        • hourly
        • monthly
        • weekly

        Example: weekly

      • filter#stringnullable

        API filter string used to filter the query. Allowed filters are segment_id. Allowed operators are equals, any. Only one filter can be used per attribute. Max of 100 messages per ANY filter.

        Example: any(segment_id,["xyz123","ghi456"])

Responses

200Success

Content type: application/vnd.api+json

  • data#objectrequired
    Show 2 fields
    • type#stringrequired
      Allowed values:
      • segment-series-report
    • attributes#objectrequired
      Show 2 fields
      • results#object[]required

        An array of all the returned values data. Each object in the array represents one unique grouping and the results for that grouping. Each value in the results array corresponds to the date time at the same index.

        Show 2 fields
        • groupings#objectrequired

          Applied groupings and the values for this object

        • statistics#objectrequired

          Requested statistics and their series result

      • date_times#string<date-time>[]required

        An array of date times which correspond to the equivalent index in the results data.

  • 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