Submit a customer metric
Create or replace a customer-provided metric for a call. Send a verdict (pass/fail) and/or a score (0–100), and optionally map it to one of your Zelto metrics with metricId. Idempotent on (conversation, label): resubmitting the same label replaces the prior value. Requires metrics to be enabled for the organization.
Authorizations
Send Authorization: Bearer YOUR_API_KEY. The key resolves to a single organization.
Path Parameters
Body
Provide at least one of verdict or score.
The customer's name for this metric, e.g. "Compliance Check".
1 - 255pass, fail 0 <= x <= 1005000Map this customer metric to one of your Zelto metrics on the call's agent.
Your own id for this record.
255Response
The created (or replaced) customer metric.
The customer's name for the metric, e.g. "Compliance Check".
Provenance of the record, e.g. api.
The Zelto metric this customer metric maps to, if any.
The customer's own id for this record.
pass, fail 0–100. Null when only a pass/fail verdict was sent.

