Model Monitoring
A guide to Model Monitoring with Roboflow.
About
Roboflow's Model Monitoring dashboard shows how your models perform, from prototyping through production. You can view high-level statistics over time, or open individual inference requests to see how your models handle edge cases.
Model Monitoring records inference requests made with Roboflow's Cloud API or the Roboflow Inference Server, as long as the Inference Server has internet access. This includes edge deployments that use Roboflow's License Server.
You can attach custom metadata to an inference (ex: where the image was taken, or the expected prediction) and pull Model Monitoring statistics into other systems. Both use the HTTP API.
You and your team can subscribe to email alerts when something goes wrong (ex: your model's confidence suddenly drops, or your Inference Server goes down and your model stops running).
AlertingInference Images
Model Monitoring does not save inference images by default. There are two ways to save them:
Roboflow Dataset Upload block: in a Workflow, add a "Roboflow Dataset Upload" block and connect the predictions and the prediction image.

Active Learning: configure Active Learning rules in your Project to collect production inference images automatically.

Web App
Open the "Models" dropdown in your Workspace navigation and select "Model Monitoring".
The dashboard shows total requests, average confidence, and average inference time across all models. Inference time includes image preprocessing. Each % change compares the selected time range with the period before it. The default range is the last week.

The Models table lists every model that has inferences. Click a model to see the same statistics for that model, plus the number of detections per class. Other tabs show recent inferences across all models and your alerts.


Click "See All Inferences" to open the Inferences table, which also shows any custom metadata on each inference.

Click an inference to see its image, request details, and detections. The image appears only if you save inference images. Fields you hide in the details panel stay hidden in that browser.

HTTP API
Get Inference Statistics
Get inference counts, confidence, and inference time for your Workspace's models over a time range, with the same numbers for the period of the same length before it. This is the data behind the dashboard's totals and % changes. It is available on Enterprise plans, and each API key can make 50 requests per minute.
Get inference counts, confidence, and inference time for the Workspace's models, with the same numbers for the period of the same length before. Available on Enterprise plans. Requires workspace-stats:read. Each API key can make 50 requests per minute.
Roboflow API key or OAuth access token.
Workspace URL slug.
Start of the time range in UTC (ex: 2026-10-01 00:00:00). Defaults to 24 hours before the request.
2026-10-01 00:00:00End of the time range in UTC. Defaults to the time of the request.
2026-10-08 00:00:00Comma-separated model IDs without versions. Omit to include every model.
license-plate-detector,truck-detectorSuccessful response.
Totals across the selected models, then one row per model and predicted class. A null value means there were no inferences for it in that period.
Inferences in the time range.
Inferences in the period of the same length before the time range.
Failed inferences in the time range.
Failed inferences in the previous period.
Average prediction confidence, from 0 to 1.
Average prediction confidence in the previous period.
Average inference time in seconds, including image preprocessing.
Average inference time in seconds in the previous period.
A time is not a valid date, or the Workspace is not on an Enterprise plan.
Authentication is missing or invalid.
The credential does not have access to this resource.
The resource does not exist or is not accessible.
More than 50 requests in a minute from this API key. X-RateLimit-Reset gives the time the limit resets.
The statistics could not be fetched.
GET /{workspace}/inference-stats HTTP/1.1
Host: api.roboflow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"num_inferences": 120,
"prev_num_inferences": 290,
"num_errors": 0,
"prev_num_errors": 0,
"avg_confidence": 0.925,
"prev_avg_confidence": 0.861,
"avg_response_time": 0.165,
"prev_avg_response_time": 0.044,
"inference_stats": [
{
"model_name": "cards-3z9gn",
"predicted_class": "Playingcards",
"num_inferences": 106,
"prev_num_inferences": 190,
"num_errors": null,
"prev_num_errors": null,
"avg_confidence": 0.931,
"prev_avg_confidence": 0.936,
"avg_response_time": 0.177,
"prev_avg_response_time": 0.055,
"median_confidence": 0.927,
"class_count": 211,
"deployment_types": "hosted",
"inference_server_versions": "0.15.3,0.16.0",
"model_num_inferences": 107,
"prev_model_num_inferences": 190
}
]
}Attach Metadata to an Inference
Serverless and Inference Server responses include an inference_id. Send it with a field name and value to attach metadata you can filter and group by in the dashboard (ex: the camera location or production line). Field names are case-sensitive, so keep their spelling consistent.
Attach custom metadata to inferences so you can filter and group them in Model Monitoring. Requires model:infer.
Roboflow API key or OAuth access token.
Workspace URL slug.
Successful response.
Present when the metadata was saved.
Present instead of status when the metadata could not be saved. The status code is still 200.
The body is missing data, or a field_name or field_value is longer than 100 characters.
Authentication is missing or invalid.
The credential does not have access to this resource.
The resource does not exist or is not accessible.
The request rate is too high.
POST /{workspace}/inference-stats/metadata HTTP/1.1
Host: api.roboflow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 234
{
"data": [
{
"inference_ids": [
"a12a19a9-a933-44c9-970c-a55ea03bb453"
],
"field_name": "camera_location",
"field_value": "canada"
},
{
"inference_ids": [
"accf0af9-bdf0-4b22-8106-6988d4cada5a"
],
"field_name": "camera_location",
"field_value": "emea"
}
]
}{
"status": "ok"
}This example runs an inference on Serverless and attaches a location to it:
Last updated
Was this helpful?