---
title: "Query Flow Values"
description: "How to call Query Flow Values (POST /api/flow-values-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_flow_values"
revision: "2026-07-15"
latestUrl: "https://developers.klaviyo.com/en/reference/query_flow_values"
operationId: "query_flow_values"
aliases: ["create_flow_value_report","create_flow_values_report"]
method: "POST"
endpoint: "https://a.klaviyo.com/api/flow-values-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-07-15/openapi/stable/apis/query_flow_values.json"
jsonApi: {"fields":{"flow-values-report":["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_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","https://developers.klaviyo.com/en/v2026-07-15/reference/query_segment_series.md"]
---

# Query Flow Values

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

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

Returns the requested flow analytics values data

- Revision header: `revision: 2026-07-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-07-15/openapi/stable/apis/query_flow_values.json)

## Example request

```bash
curl --request POST \
     --url 'https://a.klaviyo.com/api/flow-values-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": "flow-values-report",
    "attributes": {
      "statistics": [
        "opens",
        "open_rate"
      ],
      "timeframe": {
        "key": "last_12_months"
      },
      "conversion_metric_id": "RESQ6t",
      "filter": "and(equals(flow_id,\"abc123\"),contains-any(send_channel,[\"email\",\"sms\"]))"
    }
  }
}'
```

## Query parameters

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

## 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: `flow-values-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/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_flow_values.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_flow_values.json).
    - `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-values-report",
    "attributes": {
      "statistics": [
        "opens",
        "open_rate"
      ],
      "timeframe": {
        "key": "last_12_months"
      },
      "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-values-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.
      - `groupings` (object, required): Applied groupings and the values for this object
      - `statistics` (object, required): Requested statistics and their values results
  - `relationships` (object)
    - `flows` (object)
      - `data` (object[]): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/query_flow_values.json).
      - `links` (object): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/query_flow_values.json).
    - `flow-messages` (object)
      - `data` (object[]): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/query_flow_values.json).
      - `links` (RelationshipLinks): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/query_flow_values.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-values-report",
    "attributes": {
      "results": [
        {
          "groupings": {
            "flow_id": "XVTP5Q",
            "send_channel": "email",
            "flow_message_id": "01GMRWDSA0ARTAKE1SFX8JGXAY"
          },
          "statistics": {
            "opens": 123,
            "open_rate": 0.8253
          }
        },
        {
          "groupings": {
            "flow_id": "XVTP5Q",
            "send_channel": "email",
            "flow_message_id": "01GJTHNWVG93F3KNX71SJ4FDBB"
          },
          "statistics": {
            "opens": 97,
            "open_rate": 0.7562
          }
        }
      ]
    },
    "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"
      }
    }
  ]
}
```
