---
title: "Undo a partially-completed spawn (delete seed row, or kill if spawn output exists)"
method: POST
path: "/api/v1/sessions/{sessionId}/rollback"
tags: ["sessions"]
---

# Undo a partially-completed spawn (delete seed row, or kill if spawn output exists)

`POST /api/v1/sessions/{sessionId}/rollback`

## Path parameters

- `sessionId` string, required — Session identifier, e.g. project-1.

## Response `200`

OK

- RollbackSessionResponse
  - `deleted` boolean
  - `killed` boolean
  - `ok` boolean, required
  - `sessionId` string, required

## Other responses

- `404` — Not Found
- `409` — Conflict
- `500` — Internal Server Error

---

[API](https://skmtc.net/composiohq/apis/agent-orchestrator-http-daemon.md) · [All operations](https://skmtc.net/composiohq/apis/agent-orchestrator-http-daemon/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/composiohq/agent-orchestrator-http-daemon/versions/0754881ee8f4/schema)
