Chat

List chat metrics

Fetch all metrics for a specific chat, including both system-generated and custom metrics. Only returns rows from the latest metric-collection job per metric — if the same metric has been recomputed, prior runs are excluded and remain in the metric history. By default returns only successfully computed metrics; pass ?status=all to also include rows that resolved as NOT_APPLICABLE / DATA_MISSING / ERROR (the value field is omitted on those entries — check captureStatus).

get/v1/chat/{id}/metrics

Path parameters

idstring required

Query parameters

flattenstring

Whether to return a flat list instead of grouped by metric definition (default: false)

status'success' | 'all'

Filter metrics by capture status. success (default) returns only successfully computed metrics — backwards-compatible with the historical behavior. all also returns NOT_APPLICABLE / DATA_MISSING / ERROR rows (with value omitted), so clients can distinguish "still computing" from "computed but no value" and exit retry loops correctly.

Response

Metrics for a specific chat

Changes

Changed in 1 of the 105 revisions of this API.1