---
title: "Transition a cluster through the lifecycle state machine"
method: POST
path: "/v1/knowledge-gaps/clusters/{cluster_id}/status"
tags: ["knowledge-gap-analytics"]
---

# Transition a cluster through the lifecycle state machine

`POST /v1/knowledge-gaps/clusters/{cluster_id}/status`

## Path parameters

- `cluster_id` string, uuid, required

## Request body

- ChangeStatusRequest — Body for ``POST /clusters/{cluster_id}/status``. ``target_cluster_id`` is required when ``to_status='merged'`` and ignored otherwise. The state-machine enforcement lives in ``GapClusterLifecycleService``; this schema only constrains the wire shape.
  - `to_status` 'acknowledged' | 'in_progress' | 'fixed' | 'reopened' | 'merged' | 'archived', required
  - `note` string, nullable
  - `target_cluster_id` string, uuid, nullable — Required when to_status == 'merged'; ignored otherwise.

## Response `200`

Successful Response

- LifecycleTransitionResponse — Wire shape for a successful lifecycle mutation. Mirrors ``ClusterTransitionResult`` from the lifecycle service with enum statuses flattened to their string values for SDK ergonomics.
  - `cluster_id` string, uuid, required
  - `from_status` string, required
  - `to_status` string, required
  - `actor_user_id` string, uuid, nullable, required
  - `event_id` string, uuid, nullable, required

## Other responses

- `400` — Bad request
- `401` — Authentication required
- `422` — Validation Error

---

[API](https://skmtc.net/oneloop-hq/apis/feather-api.md) · [All operations](https://skmtc.net/oneloop-hq/apis/feather-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/oneloop-hq/feather-api/versions/888bdd5c076e/schema)
