---
title: "Reconnect Terminal Session"
method: POST
path: "/api/terminal/session/{session_id}/reconnect"
tags: ["modal-terminal", "modal-terminal"]
---

# Reconnect Terminal Session

`POST /api/terminal/session/{session_id}/reconnect`

Reconnect to an existing terminal session.

## Path parameters

- `session_id` string, required

## Response `200`

Successful Response

- TerminalReconnectResponse — Response containing a fresh session token for reconnection.
  - `token` string, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-18** `abf76937a751` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Change history](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/changes/api/terminal/session/:session_id/reconnect/post.md)

---

[API](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api.md) · [All operations](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/revisions/d61e2ec5a271?raw)
