---
title: "Update all associated journey runs' failure categorizations in a deployment event"
method: PUT
path: "/planRun/deployment/{deployment_event_id}/failureCategorization"
tags: ["PlanRun"]
---

# Update all associated journey runs' failure categorizations in a deployment event

`PUT /planRun/deployment/{deployment_event_id}/failureCategorization`

Used to query all plan runs for a given deployment

## Path parameters

- `deployment_event_id` string, required

## Query parameters

- `override_existing_failure_categorizations` boolean

## Request body

- FailureCategorization — Information describing the cause of a test run failure
  - `failure_category_id` string — A failure category id
  - `failure_synopsis` string — DEPRECATED -- Now persisted as FailureAnalysis -- A synopsis of the failure summary
  - `failure_summary_text` string — A summary describing the test run failure and potential root cause
  - `is_failure_category_generated` boolean — Indicates if the failure category was generated by AI
  - `is_failure_summary_generated` boolean — Indicates if the failure summary was generated by AI
  - `suggested_failure_category_id` string — Failure category ID suggested by automated analysis
  - `last_updated_by_id` string — The ID of the user who updated the categorization of this failure
  - `last_updated_time` integer — time the failure categorization was last updated
  - `failure_reason_assignment_source` 'manual' | 'auto' — How the failure reason was assigned to this test run. Server-managed; client-supplied values are ignored on write.
  - `failure_reason_assigned_by_id` string — The ID of the user or system that assigned the failure reason. Server-managed; client-supplied values are ignored on write.
  - `failure_reason_assigned_time` integer — Timestamp in epoch milliseconds when the failure reason was assigned. Server-managed; client-supplied values are ignored on write.

## Response `204`

Associated failed journey runs were updated

## Other responses

- `401` — User not authenticated
- `403` — User not authorized
- `default` — Unknown error

---

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