---
search:
  tags:
    - Planned
    - GET
seo:
  description: >-
    Planned endpoint. This operation is declared… Reference for the GET
    /v1/sandboxes/{id}/executions/{execution_id}/attach endpoint in the Carton
    API reference.
sidebar:
  label: GET /v1/sandboxes/{id}/executions/{execution_id}/attach
  badge: GET
title: GET /v1/sandboxes/{id}/executions/{execution_id}/attach
type: openapi-operation
---
**Planned endpoint.** This operation is declared in the public contract,
but the current Carton server does not expose it.

`GET /v1/sandboxes/{id}/executions/{execution_id}/attach`

**Responses**

- `101` — WebSocket upgrade. Raw binary stdin/PTY output; typed PtyClientControl/PtyServerControl JSON frames. Reconnect is a repaint, never output replay.
- `400` — Typed error; Retry-After is present when retryable
- `401` — Typed error; Retry-After is present when retryable
- `403` — Typed error; Retry-After is present when retryable
- `404` — Unknown resource
- `410` — Sandbox existed and is gone; details contains its reason
- `422` — Typed error; Retry-After is present when retryable
- `429` — Typed error; Retry-After is present when retryable
- `500` — Typed error; Retry-After is present when retryable
- `503` — Typed error; Retry-After is present when retryable
