---
title: "Resolve an expectation incident"
method: POST
path: "/expectation_incidents/{id}/resolve"
tags: ["expectation_incidents", "Expectation Incidents"]
---

# Resolve an expectation incident

`POST /expectation_incidents/{id}/resolve`

Resolve an expectation incident

## Path parameters

- `id` integer, required

## Response `200`

The ExpectationIncidents object.

- ExpectationIncidentEntity — ExpectationIncidentEntity model
  - `id` integer — Expectation Incident ID
  - `workspace_id` integer — Workspace ID. `0` means the default workspace.
  - `expectation_id` integer — Expectation ID.
  - `status` 'open' | 'acknowledged' | 'snoozed' | 'resolved' — Incident status.
  - `opened_at` string, date-time — When the incident was opened.
  - `last_failed_at` string, date-time — When the most recent failing evaluation contributing to the incident occurred.
  - `acknowledged_at` string, date-time — When the incident was acknowledged.
  - `snoozed_until` string, date-time — When the current snooze expires.
  - `resolved_at` string, date-time — When the incident was resolved.
  - `opened_by_evaluation_id` integer — Evaluation that first opened the incident.
  - `last_evaluation_id` integer — Most recent evaluation linked to the incident.
  - `resolved_by_evaluation_id` integer — Evaluation that resolved the incident.
  - `summary` object — Compact incident summary payload.
  - `created_at` string, date-time — Creation time.
  - `updated_at` string, date-time — Last update time.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `405` — Method Not Allowed
- `409` — Conflict
- `412` — Precondition Failed
- `422` — Unprocessable Entity
- `423` — Locked
- `429` — Too Many Requests

---

[API](https://skmtc.net/files/apis/files-com-api.md) · [All operations](https://skmtc.net/files/apis/files-com-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/files/files-com-api/versions/c80c746637fd/schema)
