---
title: "(-- api-linter: core::0131::synonyms=disabled aip.dev/not-precedent: ReadOutput reads stdout/stderr streams, not a resource. This is semantically different from Get operations. --) Reads the entire collected output of a process. This is intended for completed processes with a finite amount of output."
method: GET
path: "/v1/{name}:readOutput"
tags: ["ProcessService"]
---

# (-- api-linter: core::0131::synonyms=disabled aip.dev/not-precedent: ReadOutput reads stdout/stderr streams, not a resource. This is semantically different from Get operations. --) Reads the entire collected output of a process. This is intended for completed processes with a finite amount of output.

`GET /v1/{name}:readOutput`

## Request

- Base URL: `https://docs.h2o.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.h2o.ai/v1/{name}:readOutput`
- Auth: none declared
- TypeScript: <https://skmtc.dev/h2o/apis/ai-h2o-engine-sandbox-v1-filesystem-proto/docs/v1/:name:readOutput/get.ts> (a function with typed inputs; its response is checked against the schema)

Authorization: Only the creator of the parent SandboxEngine is allowed to call this method.

## Path parameters

- `name` string, required

## Query parameters

- `outputStream` 'OUTPUT_STREAM_UNSPECIFIED' | 'OUTPUT_STREAM_STDOUT' | 'OUTPUT_STREAM_STDERR' | 'OUTPUT_STREAM_COMBINED'

## Response `200`

A successful response.

- V1ReadOutputResponse: The collected output from a process stream.
  - `data` string, byte: The raw bytes of the requested output stream.

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/h2o/apis/ai-h2o-engine-sandbox-v1-filesystem-proto.md) - [All operations](https://skmtc.dev/h2o/apis/ai-h2o-engine-sandbox-v1-filesystem-proto/llms.txt) - [OpenAPI document](https://skmtc.dev/h2o/apis/ai-h2o-engine-sandbox-v1-filesystem-proto/revisions/297cfadc1d39?raw)
