---
title: "Query Flow Series"
description: "How to call Query Flow Series (POST /api/flow-series-reports) in the Klaviyo REST API: authentication, parameters, request and response bodies, and an example request."
url: "https://developers.klaviyo.com/en/reference/query_flow_series"
revision: "2026-10-15"
operationId: "query_flow_series"
aliases: ["create_flow_sery_report","create_flow_series_report"]
method: "POST"
endpoint: "https://a.klaviyo.com/api/flow-series-reports"
authentication: "privateKey"
scopes: ["flows: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-10-15/openapi/stable/apis/query_flow_series.json"
jsonApi: {"fields":{"flow-series-report":["date_times","id","results"]}}
related: ["https://developers.klaviyo.com/en/reference/reporting/llms.txt","https://developers.klaviyo.com/en/reference/query_campaign_values.md","https://developers.klaviyo.com/en/reference/query_flow_values.md","https://developers.klaviyo.com/en/reference/query_form_values.md","https://developers.klaviyo.com/en/reference/query_form_series.md","https://developers.klaviyo.com/en/reference/query_segment_values.md","https://developers.klaviyo.com/en/reference/query_segment_series.md"]
---

# Query Flow Series

> This is the Markdown version of https://developers.klaviyo.com/en/reference/query_flow_series

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

Returns the requested flow analytics series data

- Revision header: `revision: 2026-10-15` (required)
- Scopes: `flows: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-10-15/openapi/stable/apis/query_flow_series.json)

## Example request

### curl

```bash
curl --request POST \
     --url 'https://a.klaviyo.com/api/flow-series-reports' \
     --header 'Authorization: Klaviyo-API-Key your-private-api-key' \
     --header 'accept: application/vnd.api+json' \
     --header 'revision: 2026-10-15' \
     --header 'content-type: application/vnd.api+json' \
     --data '{
  "data": {
    "type": "flow-series-report",
    "attributes": {
      "statistics": [
        "opens",
        "open_rate"
      ],
      "timeframe": {
        "key": "last_12_months"
      },
      "interval": "weekly",
      "conversion_metric_id": "RESQ6t",
      "filter": "and(equals(flow_id,\"abc123\"),contains-any(send_channel,[\"email\",\"sms\"]))"
    }
  }
}'
```

### CLI

```bash
klaviyo reporting query-flow-series \
  -d '{
  "data": {
    "type": "flow-series-report",
    "attributes": {
      "statistics": [
        "opens",
        "open_rate"
      ],
      "timeframe": {
        "key": "last_12_months"
      },
      "interval": "weekly",
      "conversion_metric_id": "RESQ6t",
      "filter": "and(equals(flow_id,\"abc123\"),contains-any(send_channel,[\"email\",\"sms\"]))"
    }
  }
}'
```

Sign in first with `klaviyo auth login`. [Install the Klaviyo CLI](https://developers.klaviyo.com/en/docs/klaviyo_cli.md)

### Python

```python
from klaviyo_api import KlaviyoAPI

klaviyo = KlaviyoAPI("your-private-api-key")

response = klaviyo.Reporting.query_flow_series(
    {
        "data": {
            "type": "flow-series-report",
            "attributes": {
                "statistics": [
                    "opens",
                    "open_rate",
                ],
                "timeframe": {
                    "key": "last_12_months",
                },
                "interval": "weekly",
                "conversion_metric_id": "RESQ6t",
                "filter": "and(equals(flow_id,\"abc123\"),contains-any(send_channel,[\"email\",\"sms\"]))",
            },
        },
    },
)
```

Install it with `pip install klaviyo-api`. [The Python SDK on GitHub](https://github.com/klaviyo/klaviyo-api-python)

### Node.js

```javascript
import { ApiKeySession, ReportingApi } from 'klaviyo-api'

const session = new ApiKeySession('your-private-api-key')
const reportingApi = new ReportingApi(session)

const response = await reportingApi.queryFlowSeries(
  {
    data: {
      type: 'flow-series-report',
      attributes: {
        statistics: [
          'opens',
          'open_rate',
        ],
        timeframe: {
          key: 'last_12_months',
        },
        interval: 'weekly',
        conversionMetricId: 'RESQ6t',
        filter: 'and(equals(flow_id,"abc123"),contains-any(send_channel,["email","sms"]))',
      },
    },
  },
)
```

Install it with `npm install klaviyo-api`. [The Node.js SDK on GitHub](https://github.com/klaviyo/klaviyo-api-node)

### Ruby

```ruby
require 'klaviyo-api-sdk'

KlaviyoAPI.configure do |config|
  config.api_key['Klaviyo-API-Key'] = 'Klaviyo-API-Key your-private-api-key'
end

response = KlaviyoAPI::Reporting.query_flow_series(
  {
    data: {
      type: 'flow-series-report',
      attributes: {
        statistics: [
          'opens',
          'open_rate',
        ],
        timeframe: {
          key: 'last_12_months',
        },
        interval: 'weekly',
        conversion_metric_id: 'RESQ6t',
        filter: 'and(equals(flow_id,"abc123"),contains-any(send_channel,["email","sms"]))',
      },
    },
  },
)
```

Install it with `gem install klaviyo-api-sdk`. [The Ruby SDK on GitHub](https://github.com/klaviyo/klaviyo-api-ruby)

### PHP

```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');

use KlaviyoAPI\KlaviyoAPI;

$klaviyo = new KlaviyoAPI('your-private-api-key');

$response = $klaviyo->Reporting->queryFlowSeries(
    [
        'data' => [
            'type' => 'flow-series-report',
            'attributes' => [
                'statistics' => [
                    'opens',
                    'open_rate',
                ],
                'timeframe' => [
                    'key' => 'last_12_months',
                ],
                'interval' => 'weekly',
                'conversion_metric_id' => 'RESQ6t',
                'filter' => 'and(equals(flow_id,"abc123"),contains-any(send_channel,["email","sms"]))',
            ],
        ],
    ],
);
```

Install it with `composer require klaviyo/api`. [The PHP SDK on GitHub](https://github.com/klaviyo/klaviyo-api-php)

## Query parameters

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

## Headers

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

## Request body

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

- `data` (object, required)
  - `type` (string, required): Allowed values: `flow-series-report`
  - `attributes` (object, required)
    - `statistics` (string[], required): List of statistics to query for. All rate statistics will be returned in fractional form [0.0, 1.0] Allowed values: `average_order_value`, `bounce_rate`, `bounced`, `bounced_or_failed`, `bounced_or_failed_rate`, `click_rate`, `click_to_open_rate`, `clicks`, `clicks_unique`, `conversion_rate`, `conversion_uniques`, `conversion_value`, `conversions`, `delivered`, `delivery_rate`, `failed`, `failed_rate`, `message_segment_count_sum`, `open_rate`, `opens`, `opens_unique`, `recipients`, `revenue_per_recipient`, `spam_complaint_rate`, `spam_complaints`, `text_message_credit_usage_amount`, `text_message_roi`, `text_message_spend`, `unsubscribe_rate`, `unsubscribe_uniques`, `unsubscribes`
    - `timeframe` (oneOf, required): The time frame to pull data from (Max length: 1 year). See [available time frames](https://developers.klaviyo.com/en/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-10-15/openapi/stable/apis/query_flow_series.json).
        - Option 2: `CustomTimeframe` Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/query_flow_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`
    - `conversion_metric_id` (string, required): ID of the metric to be used for conversion statistics Example: `RESQ6t`
    - `group_by` (string[], nullable): List of attributes to group the data by.
      Allowed group-bys are flow_id, flow_message_id, flow_message_name, flow_name, send_channel, tag_id, tag_name, text_message_format, variation, variation_name.
      If not passed in, the data will be grouped by flow_id, flow_message_id, send_channel.
      The following group by attributes are required: flow_message_id, flow_id. Allowed values: `flow_id`, `flow_message_id`, `flow_message_name`, `flow_name`, `send_channel`, `tag_id`, `tag_name`, `text_message_format`, `variation`, `variation_name`
    - `filter` (string, nullable): API filter string used to filter the query.
      Scalar attributes (flow_id, flow_name, send_channel, flow_message_id, flow_message_name, text_message_format, variation, variation_name): Supported operators: equals, contains-any.
      List attributes (tag_id, tag_name): Supported operators: contains-any, contains-all.
      Only one filter can be used per attribute.
      Only AND can be used as a combination operator.
      Max of 100 items per list filter.
      When filtering on send_channel, allowed values are email, sms, push-notification, whatsapp. Example: `and(equals(flow_id,"abc123"),contains-any(send_channel,["email","sms"]))`

### Example request body

```json
{
  "data": {
    "type": "flow-series-report",
    "attributes": {
      "statistics": [
        "opens",
        "open_rate"
      ],
      "timeframe": {
        "key": "last_12_months"
      },
      "interval": "weekly",
      "conversion_metric_id": "RESQ6t",
      "filter": "and(equals(flow_id,\"abc123\"),contains-any(send_channel,[\"email\",\"sms\"]))"
    }
  }
}
```

## Responses

### 200: Success

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

- `data` (object, required)
  - `type` (string, required): Allowed values: `flow-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.
  - `relationships` (object)
    - `flows` (object)
      - `data` (object[]): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/query_flow_series.json).
      - `links` (object): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/query_flow_series.json).
    - `flow-messages` (object)
      - `data` (object[]): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/query_flow_series.json).
      - `links` (RelationshipLinks): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/query_flow_series.json).
- `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": "flow-series-report",
    "attributes": {
      "results": [
        {
          "groupings": {
            "flow_id": "XVTP5Q",
            "send_channel": "email",
            "flow_message_id": "01GMRWDSA0ARTAKE1SFX8JGXAY"
          },
          "statistics": {
            "opens": [
              123,
              156,
              144
            ],
            "open_rate": [
              0.8253,
              0.8722,
              0.8398
            ]
          }
        },
        {
          "groupings": {
            "flow_id": "XVTP5Q",
            "send_channel": "email",
            "flow_message_id": "01GJTHNWVG93F3KNX71SJ4FDBB"
          },
          "statistics": {
            "opens": [
              97,
              98,
              65
            ],
            "open_rate": [
              0.7562,
              0.761,
              0.688
            ]
          }
        }
      ],
      "date_times": [
        "2024-01-05T00:00:00+00:00",
        "2024-01-06T00:00:00+00:00",
        "2024-01-07T00:00:00+00:00"
      ]
    },
    "relationships": {
      "flows": {
        "data": [
          {
            "type": "flow",
            "id": "string"
          }
        ],
        "links": {
          "self": "https://www.example.com",
          "related": "https://www.example.com"
        }
      },
      "flow-messages": {
        "data": [
          {
            "type": "flow-message",
            "id": "string"
          }
        ],
        "links": {
          "self": "https://www.example.com",
          "related": "https://www.example.com"
        }
      }
    }
  },
  "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"
      }
    }
  ]
}
```
