Skip to main content
POST
/
projects
/
{project_id}
/
rule_results
/
bulk_dismiss
Bulk dismiss rule results
curl --request POST \
  --url https://app.gomangrove.com/api/v1/projects/{project_id}/rule_results/bulk_dismiss \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "result_ids": [
    "dpres_8XF1QtGs79oX9A6k",
    "dpres_7nxaDUf65c36v6mz",
    "mrres_AIKqFEtr5OpAqram"
  ],
  "reason": "Reviewed with site engineer — sensor recalibrated, readings are expected."
}
'
{
  "data": [
    {
      "id": "dpres_8XF1QtGs79oX9A6k",
      "status": "dismissed",
      "entered_value": "-2.5",
      "rule_id": "rule_Qb3k9TzdL0pWnXyz",
      "rule_version": 3,
      "rule_name": "Negative Temp Alert",
      "data_point_id": "in_JuGzRS08MbVSEkCj",
      "data_point_slug": "ambient-temperature-c",
      "dismissed_at": "2026-06-18T19:43:11.000Z",
      "dismissed_by": "Aaron Rosenberg",
      "dismissal_reason": "Reviewed with site engineer — sensor recalibrated, readings are expected.",
      "evaluated_at": "2026-06-18T19:43:11.000Z"
    },
    {
      "id": "mrres_AIKqFEtr5OpAqram",
      "status": "dismissed",
      "checked_value": "1450.2",
      "node_ids": [
        "node_total_emissions"
      ],
      "rule_id": "rule_Lp7m2XcQd0RtVbnm",
      "rule_version": 1,
      "rule_name": "Emissions Ceiling",
      "model_run_id": "mr_c3krFTxCxJSQR5Rc",
      "dismissed_at": "2026-06-18T19:43:11.000Z",
      "dismissed_by": "Aaron Rosenberg",
      "dismissal_reason": "Reviewed with site engineer — sensor recalibrated, readings are expected.",
      "evaluated_at": "2026-06-18T19:43:11.000Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

project_id
string
required

Body

application/json
result_ids
string[]
required

Rule-result friendly IDs to dismiss. These are the id on each entry in a data point's or model run's rule_results array (e.g. dpres_..., mrres_...) — not data point, event, or model run IDs. Duplicate IDs are de-duplicated.

reason
string
required

Dismissal reason applied to every result in the batch. Cannot be blank.

Response

200

data
object[]