---
title: "Leave an operator note for the orchestrator or one task"
method: POST
path: "/api/v1/agent/swarms/{swarm_id}/notes"
tags: ["agent"]
---

# Leave an operator note for the orchestrator or one task

`POST /api/v1/agent/swarms/{swarm_id}/notes`

## Request

- Base URL: `https://composal.com` (the document declares no server; this is the origin it was published from)
- URL: `https://composal.com/api/v1/agent/swarms/{swarm_id}/notes`
- Auth: HTTP bearer

Operator steering. The note is recorded as an `operator_note` swarm event (in the feed and the replay), reaches the planner in its next plan or re-plan input, and reaches a running task on its next heartbeat, which steers the turn with it.

## Path parameters

- `swarm_id` string, required

## Request body

- object
  - `text` string, required
  - `task_id` string, nullable: A task public id; omitted

## Response `200`

Success

- object

## Other responses

- `201`: The note as a live feed event
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Invalid agent swarm request
- `409`: Invalid agent swarm request
- `422`: Invalid agent swarm request
- `502`: Bad gateway

---

[API](https://skmtc.dev/composal/apis/vex-api.md) - [All operations](https://skmtc.dev/composal/apis/vex-api/llms.txt) - [OpenAPI document](https://skmtc.dev/composal/apis/vex-api/revisions/74298a24e040?raw)
