List quality targets
Retrieve all quality targets for a project.Parameters
The unique identifier of the project
Maximum number of targets to return per page
Cursor for pagination
Returns
Returns a cursor-paginated list of quality target objects.Array of quality target objects
Cursor for the next page of results
Cursor for the previous page of results
Whether more results are available
Create a quality target
Create a new quality target for a project.Parameters
The unique identifier of the project
Name of the quality target
Metric to monitor (e.g., ‘accuracy’, ‘precision’, ‘recall’, ‘f1_score’)
Comparison operator (‘gte’ for greater than or equal, ‘lte’ for less than or equal, ‘gt’ for greater than, ‘lt’ for less than, ‘eq’ for equal)
Threshold value for the metric
Severity level when breached (e.g., ‘low’, ‘medium’, ‘high’, ‘critical’)
Whether the target is active
Whether to send webhook notifications when breached
Email addresses to notify when breached
Returns
Returns the created quality target object.Unique identifier for the target
Name of the target
Metric being monitored
Comparison operator
Threshold value
Severity level
Whether the target is active
Whether webhook notifications are enabled
Email notification recipients
ISO 8601 timestamp of last evaluation
Last measured value
Whether the target is currently breached
Number of times the target has been breached
ISO 8601 timestamp of last breach
ISO 8601 timestamp of creation
ISO 8601 timestamp of last update
Get a quality target
Retrieve a specific quality target.Parameters
The unique identifier of the project
The unique identifier of the quality target
Returns
Returns the quality target object.Update a quality target
Update an existing quality target.Parameters
The unique identifier of the project
The unique identifier of the target to update
New name for the target
New metric to monitor
New comparison operator
New threshold value
New severity level
Whether the target should be active
Whether to enable webhook notifications
New email notification recipients
Returns
Returns the updated quality target object.Delete a quality target
Delete a quality target.Parameters
The unique identifier of the project
The unique identifier of the target to delete
Returns
Returns void on success.Evaluate quality targets
Evaluate all quality targets for a project and get current results.Parameters
The unique identifier of the project
Returns
Returns an array of quality target evaluation results.Quality target UID
Target name
Metric name
Threshold value
Comparison operator
Current measured value
Whether the target is breached
Severity level