Skip to main content
POST /v1/projects/{projectId}/metrics/query Runs read-only SQL over the Project’s message_events or call_events table. Get the SQL schema for supported columns, capabilities, and limits.
TypeScript

Parameters

string
required
string (date)
API schema date. Defaults to the latest served version; resolves to the latest served date on or before this value.

Body

object
string
required

Returns

200 Dynamic SQL columns and rows followed by bounded ClickHouse read statistics. QueryMessageMetricsResponse
array of MessageMetricsQueryColumn
required
array of array of object
required
MessageMetricsQueryStatistics
required