Update Rule
Update an existing rule.
Only the fields you send are changed. Changing the condition source re-validates the operator and value against the new source.
Authorizations
Use Tuner API key (tr_api_...) or user session token. Find your API key in Workspace Settings > API Keys.
Path Parameters
Tuner's internal numeric ID for the agent.
Workspace ID. Find this in Workspace > General Settings.
Body
Schema for updating a rule.
Category of call data the condition tests.
eval, voice_metric, data_extraction_field, call_metadata, latency How to compare. Which operators are valid depends on the source's input_datatype.
=, !=, >=, <=, >, <, exists, not_exists, contains, starts_with Whether a matching call gets a label or a red flag.
label, red_flag 1 - 200Optional note explaining what this rule is for.
Response
Successful Response
Response schema for a rule.
Tuner's ID for this rule.
Category of call data the condition tests.
ID of the eval, metric, or field the condition tests.
How the value is compared.
Value the condition compares against.
Whether matching calls get a label or a red flag.
Tag applied to matching calls.
When the rule was created.
When the rule was last updated.
Display name of the referenced eval, metric, or field.
Note explaining what this rule is for.