---
title: "Switch Phase"
method: POST
path: "/gnimbus/toggle_phase"
---

# Switch Phase

`POST /gnimbus/toggle_phase`

Switch the phase from one to another. "learning", "crp", "decision" and "compromise" phases are allowed.

## Request body

- GNIMBUSSwitchPhaseRequest — A request for a certain phase. Comes from the group owner/analyst.
  - `group_id` integer, required
  - `new_phase` string, required

## Response `200`

Successful Response

- GNIMBUSSwitchPhaseResponse — A response for the above request.
  - `old_phase` string, required
  - `new_phase` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/industrial-optimization-group/apis/desdeo-fast-api.md) · [All operations](https://skmtc.net/industrial-optimization-group/apis/desdeo-fast-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/industrial-optimization-group/desdeo-fast-api/versions/c24fa4e23380/schema)
