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

# GET /containers/fetch-output

`GET /containers/fetch-output`

Gets the output of a container.

## Query parameters

- `id` string, required
- `mode` 'json' | 'raw'

## Headers

- `X-Phantombuster-Org` string

## Response `200`

OK

- object
  - `output` string, nullable

## Other responses

- `204` — Container output is empty.
- `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)
