Query Flow Series

POST {{baseUrl}}/api/flow-series-reports/

Returns the requested flow analytics series data

Rate limits:
Burst: 1/s
Steady: 2/m
Daily: 225/d

Scopes: flows:read

Request Params

KeyDatatypeRequiredDescription
page_cursorstringFor more information please visit https://developers.klaviyo.com/en/v2024-02-15/reference/api-overview#pagination

Request Body

{"data"=>{"type"=>"flow-series-report", "attributes"=>{"statistics"=>["unsubscribe_rate", "bounced_or_failed"], "timeframe"=>{"key"=>"this_month"}, "interval"=>"hourly", "conversion_metric_id"=>"<string>", "filter"=>"<string>"}}}

HEADERS

KeyDatatypeRequiredDescription
revisionstring(Required) API endpoint revision (format: YYYY-MM-DD[.suffix])
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;data&quot;:{&quot;type&quot;:&quot;flow-series-report&quot;,&quot;attributes&quot;:{&quot;results&quot;:[{&quot;groupings&quot;:{},&quot;statistics&quot;:{}},{&quot;groupings&quot;:{},&quot;statistics&quot;:{}}],&quot;date_times&quot;:[&quot;\u003cdateTime\u003e&quot;,&quot;\u003cdateTime\u003e&quot;]},&quot;links&quot;:{&quot;self&quot;:&quot;\u003curi\u003e&quot;},&quot;relationships&quot;:{&quot;flows&quot;:{&quot;data&quot;:[{&quot;type&quot;:&quot;flow&quot;,&quot;id&quot;:&quot;\u003cstring\u003e&quot;},{&quot;type&quot;:&quot;flow&quot;,&quot;id&quot;:&quot;\u003cstring\u003e&quot;}],&quot;links&quot;:{&quot;self&quot;:&quot;\u003curi\u003e&quot;,&quot;related&quot;:&quot;\u003curi\u003e&quot;}},&quot;flow-messages&quot;:{&quot;data&quot;:[{&quot;type&quot;:&quot;flow-message&quot;,&quot;id&quot;:&quot;\u003cstring\u003e&quot;},{&quot;type&quot;:&quot;flow-message&quot;,&quot;id&quot;:&quot;\u003cstring\u003e&quot;}],&quot;links&quot;:{&quot;self&quot;:&quot;\u003curi\u003e&quot;,&quot;related&quot;:&quot;\u003curi\u003e&quot;}}}}}