v50

latestOpenAPI 3.1.0raw.githubusercontent.com2026-04-285553225.5 KB
Metric Policy

Create a metric policy

Creates a new metric policy. Policies define which metrics to collect and under what conditions.

post/v1/metric/policies

Request body

namestring required

Name of the metric policy

status'ACTIVE' | 'INACTIVE'

Status of the policy (default: ACTIVE)

modality'call' | 'chat' required

Modality this policy targets. A policy fires for exactly one modality and can only reference metrics that support that modality.

Example request

{
  "name": "Evaluate all inbound calls",
  "status": "ACTIVE",
  "modality": "call"
}

Response

The created metric policy