Skip to main content
POST
Push a new accuracy metric (0.0–1.0) to the system’s Prometheus gauge. This endpoint is typically called by the Automated Evaluation Pipeline after a retraining job completes.

Parameters

float
required
New accuracy score (0.0 to 1.0) to be reported to Prometheus.
string
Identifier for the model being evaluated. Defaults to "production".

Usage

This does not retrain the model. It updates the metrics gauge (model_accuracy), which triggers alerts if accuracy drops below configured thresholds.

Query Parameters

accuracy
number<float>
required
model_id
string
default:production

Response

Metric updated