---
title: "Toggle Process Plan Task"
method: POST
path: "/api/processes/{process_id}/plan/{session_id}/toggle"
---

# Toggle Process Plan Task

`POST /api/processes/{process_id}/plan/{session_id}/toggle`

Flip one GFM checkbox in the plan body. Body: `{task_index: int,
checked?: bool}`. Core does the markdown surgery.

## Path parameters

- `process_id` string, required
- `session_id` string, required

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/omicos/apis/omicos-server.md) · [All operations](https://skmtc.dev/omicos/apis/omicos-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/omicos/omicos-server/revisions/a00b94573ffe/schema)
