---
title: "GET /containers/attach"
method: GET
path: "/containers/attach"
tags: ["containers"]
---

# GET /containers/attach

`GET /containers/attach`

Attaches to a running container and streams its output in real-time.

## Query parameters

- `id` string, required

## Headers

- `X-Phantombuster-Org` string

## Response `200`

OK - Returns a stream of container output

## Other responses

- `404` — No container exists with the provided id.

---

[API](https://skmtc.dev/phantombuster/apis/phantombuster-api-v2.md) · [All operations](https://skmtc.dev/phantombuster/apis/phantombuster-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/phantombuster/phantombuster-api-v2/revisions/acf0049d7c7f/schema)
