---
title: "Move session"
method: POST
path: "/api/session/{sessionID}/move"
tags: ["session"]
---

# Move session

`POST /api/session/{sessionID}/move`

## Request

- Base URL: `https://opencode.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://opencode.ai/api/session/{sessionID}/move`
- Auth: none required

Move a session to another project directory at the requested delivery boundary.

## Path parameters

- `sessionID` string, required

## Request body

- object
  - `directory` string, required
  - `delivery` 'steer' | 'queue'

## Response `204`

<No Content>

## Other responses

- `400`: InvalidRequestError
- `401`: UnauthorizedError
- `404`: SessionNotFoundError

---

[API](https://skmtc.dev/kaaass/apis/opencode.md) - [All operations](https://skmtc.dev/kaaass/apis/opencode/llms.txt) - [OpenAPI document](https://skmtc.dev/kaaass/apis/opencode/revisions/4e083d954707?raw)
