---
title: "Query Segment Series"
description: "How to call Query Segment Series (POST /api/segment-series-reports) in the Klaviyo REST API: authentication, parameters, request and response bodies, and an example request."
url: "https://developers.klaviyo.com/en/v2026-07-15/reference/query_segment_series"
revision: "2026-07-15"
latestUrl: "https://developers.klaviyo.com/en/reference/query_segment_series"
operationId: "query_segment_series"
aliases: ["create_segment_sery_report","create_segment_series_report"]
method: "POST"
endpoint: "https://a.klaviyo.com/api/segment-series-reports"
authentication: "privateKey"
scopes: ["segments:read"]
rateLimits: {"burst":"1/s","steady":"2/m","daily":"225/d"}
revisionHeader: {"name":"revision","required":true}
deprecated: false
openApi: "https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/query_segment_series.json"
jsonApi: {"fields":{"segment-series-report":["date_times","id","results"]}}
related: ["https://developers.klaviyo.com/en/v2026-07-15/reference/reporting/llms.txt","https://developers.klaviyo.com/en/v2026-07-15/reference/query_campaign_values.md","https://developers.klaviyo.com/en/v2026-07-15/reference/query_flow_values.md","https://developers.klaviyo.com/en/v2026-07-15/reference/query_flow_series.md","https://developers.klaviyo.com/en/v2026-07-15/reference/query_form_values.md","https://developers.klaviyo.com/en/v2026-07-15/reference/query_form_series.md","https://developers.klaviyo.com/en/v2026-07-15/reference/query_segment_values.md"]
---

# Query Segment Series

> This is the Markdown version of https://developers.klaviyo.com/en/v2026-07-15/reference/query_segment_series

```http
POST https://a.klaviyo.com/api/segment-series-reports
```

Returns the requested segment analytics series data.

- Revision header: `revision: 2026-07-15` (required)
- Scopes: `segments:read`
- Rate limits: Burst: `1/s`, Steady: `2/m`, Daily: `225/d`
- OpenAPI: [Download this endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/query_segment_series.json)

## Example request

```bash
curl --request POST \
     --url 'https://a.klaviyo.com/api/segment-series-reports' \
     --header 'Authorization: Klaviyo-API-Key your-private-api-key' \
     --header 'accept: application/vnd.api+json' \
     --header 'revision: 2026-07-15' \
     --header 'content-type: application/vnd.api+json' \
     --data '{
  "data": {
    "type": "segment-series-report",
    "attributes": {
      "statistics": [
        "total_members",
        "net_members_changed"
      ],
      "timeframe": {
        "key": "last_12_months"
      },
      "interval": "weekly",
      "filter": "any(segment_id,[\"xyz123\",\"ghi456\"])"
    }
  }
}'
```

## Query parameters

- `fields[segment-series-report]` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/v2026-07-15/reference.md) Allowed values: `date_times`, `id`, `results`

## Headers

- `revision` (string, required): API endpoint revision (format: YYYY-MM-DD[.suffix]) Default: `2026-07-15`

## Request body

Content type: `application/vnd.api+json` (required)

- `data` (object, required)
  - `type` (string, required): Allowed values: `segment-series-report`
  - `attributes` (object, required)
    - `statistics` (string[], required): List of statistics to query for. Allowed values: `members_added`, `members_removed`, `net_members_changed`, `total_members`
    - `timeframe` (oneOf, required): 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](https://developers.klaviyo.com/en/v2026-07-15/reference/reporting.md).
      - One of:
        - Option 1: `Timeframe` Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/query_segment_series.json).
        - Option 2: `CustomTimeframe` Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/query_segment_series.json).
    - `interval` (string, required): 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` (string, nullable): 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"])`

### Example request body

```json
{
  "data": {
    "type": "segment-series-report",
    "attributes": {
      "statistics": [
        "total_members",
        "net_members_changed"
      ],
      "timeframe": {
        "key": "last_12_months"
      },
      "interval": "weekly",
      "filter": "any(segment_id,[\"xyz123\",\"ghi456\"])"
    }
  }
}
```

## Responses

### 200: Success

Content type: `application/vnd.api+json`

- `data` (object, required)
  - `type` (string, required): Allowed values: `segment-series-report`
  - `attributes` (object, required)
    - `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.
      - `groupings` (object, required): Applied groupings and the values for this object
      - `statistics` (object, required): 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.
- `links` (object)
  - `self` (string<uri>, required)
- `meta` (object): Response-level metadata
  - `agent_hints` (object): Optional hints emitted by the API for agent callers
    - `next_steps` (string[]): Suggested follow-up actions for agents to take after this response

#### Example response body

```json
{
  "data": {
    "type": "segment-series-report",
    "attributes": {
      "results": [
        {
          "groupings": {
            "segment_id": "abc123"
          },
          "statistics": {
            "total_members": [
              120,
              185,
              240
            ],
            "net_members_changed": [
              40,
              62,
              88
            ]
          }
        },
        {
          "groupings": {
            "segment_id": "def456"
          },
          "statistics": {
            "total_members": [
              103,
              163,
              213
            ],
            "net_members_changed": [
              36,
              66,
              86
            ]
          }
        }
      ],
      "date_times": [
        "2024-01-05T00:00:00+00:00",
        "2024-01-06T00:00:00+00:00",
        "2024-01-07T00:00:00+00:00"
      ]
    }
  },
  "links": {
    "self": "https://www.example.com"
  },
  "meta": {
    "agent_hints": {
      "next_steps": [
        "string"
      ]
    }
  }
}
```

### 4XX: Client Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```

### 5XX: Server Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```
