Get Metrics

GET {{baseUrl}}/api/metrics/

Get all metrics in an account. Requests can be filtered by the following fields: integration name, integration category Request specific fields using sparse fieldsets. Returns a maximum of 200 results per page, which can be paginated with cursor-based pagination

Rate limits:
Burst: 10/s
Steady: 150/m

Scopes: Metrics Read

Request Params

KeyDatatypeRequiredDescription
fields[metric]stringFor more information please visit https://developers.klaviyo.com/en/v2022-10-17/reference/api-overview#sparse-fieldsets
filterstringFor more information please visit https://developers.klaviyo.com/en/v2022-10-17/reference/api-overview#filtering&lt;br&gt;Allowed field(s)/operator(s):<br>integration.name: equals<br>integration.category: equals
page[cursor]stringFor more information please visit https://developers.klaviyo.com/en/v2022-10-17/reference/api-overview#pagination

HEADERS

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

RESPONSES

status: OK

{&quot;data&quot;:[{&quot;type&quot;:&quot;metric&quot;,&quot;id&quot;:&quot;cillum reprehenderit&quot;,&quot;attributes&quot;:{&quot;name&quot;:&quot;in&quot;,&quot;created&quot;:&quot;ut eiusmo&quot;,&quot;updated&quot;:&quot;amet&quot;,&quot;integration&quot;:{}},&quot;links&quot;:{&quot;self&quot;:&quot;https://Nlh.fboylH4wwAFWXlHKrRCLu+Pr4SHgRWhD,er7qARai0&quot;}},{&quot;type&quot;:&quot;metric&quot;,&quot;id&quot;:&quot;in ut&quot;,&quot;attributes&quot;:{&quot;name&quot;:&quot;nostrud dolore ut est enim&quot;,&quot;created&quot;:&quot;dolore ex ea irure&quot;,&quot;updated&quot;:&quot;eu cupidatat&quot;,&quot;integration&quot;:{}},&quot;links&quot;:{&quot;self&quot;:&quot;http://pnoeNjZmClYDiOlyvfbdrJqiQTyefgAT.lfyppWw0rm&quot;}}],&quot;links&quot;:{&quot;self&quot;:&quot;https://ngVwxZRohaAfGQhqPFtNf.bjbz0ZT9rwpHOtNNUEUiMZa7ecqCKfdudO&quot;,&quot;first&quot;:&quot;http://tXjkIidqpjWTcMVLucqOTASOy.qrhvFV3.oQCbniUZvu77DJDqrlTkQCwcY.JptXee0J6GS.l-qo69rA&quot;,&quot;last&quot;:&quot;http://NqnaPpxf.yjWcWkpiwzr5hH+HAn-j2E43xMNs1xNV,HvvKTvBAC0DFfkBPw,Qd7K13.i3NVM8H5a1I&quot;,&quot;prev&quot;:&quot;https://e.dcuqkqqiCUohdkHubdtVl&quot;,&quot;next&quot;:&quot;https://GRRGrTyjEKvZYKZd.nkxlf99v63RUaXFg6EqbWZ4qlHs&quot;}}