Query Customer Agent Tool Values
POSThttps://a.klaviyo.com/api/customer-agent-tool-values-reports
Returns per-tool aggregates across the requested timeframe.
Each row of results is one tool bucket with the requested statistics. Counts are at the invocation level: one conversation that calls a tool multiple times contributes multiple invocations to that tool's bucket.
- Revision header
revision: 2026-07-15.prerequired- Scopes
agents:read- Rate limits
- Burst:
3/sSteady:60/m
Query parameters
For more information please visit API overview
Headers
API endpoint revision (format: YYYY-MM-DD[.suffix])
2026-07-15.pre
Request body
Content type: application/vnd.api+jsonrequired
Show 2 fields
Show 4 fields
Metrics to compute for each tool bucket. Combine any of count, last-call, avg-duration-ms, and success-rate in one call to receive them per bucket.
Required grouping. Each result row corresponds to one tool.
Time window for the report.
Optional Klaviyo filter syntax. Use any(tool,[...]) to narrow to specific namespaced tool ids; use any(source,[...]) to narrow by call source (conversation or test). When omitted, returns aggregates for every tool the company has called in the timeframe.
Responses
201Success
Content type: application/vnd.api+json
Show 4 fields
Opaque identifier for the tool-values report response.
Show 1 field
4XXClient Error
Content type: application/vnd.api+json
5XXServer Error
Content type: application/vnd.api+json