---
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

## Changes

- **2026-09-03** `d31a2d019c47` — 3 info
  - added the optional property `reporting_owner` to the response with the `404` status
  - added the optional property `reporting_owner` to the response with the `409` status
  - added the optional property `reporting_owner` to the response with the `500` status

[Change history](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/changes/api/v1/sessions/:sessionId/rollback/post.md)

---

[API](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon.md) · [All operations](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/llms.txt) · [OpenAPI document](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/revisions/ddc4b9bdba9c?raw)
