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.
Authorization: Only the creator of the parent SandboxEngine is allowed to call this method.
get/v1/{name}:readOutput
Request
- Base URLhttps://docs.h2o.ai (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScripthttps://skmtc.dev/h2o/apis/ai-h2o-engine-sandbox-v1-filesystem-proto/docs/v1/:name:readOutput/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
namestring required
Required. The name of the process whose output to retrieve. Format: workspaces/{workspace}/sandboxEngines/{sandbox_engine}/processes/{process}
Query parameters
outputStream'OUTPUT_STREAM_UNSPECIFIED' | 'OUTPUT_STREAM_STDOUT' | 'OUTPUT_STREAM_STDERR' | 'OUTPUT_STREAM_COMBINED'
Required. The output stream to read. Must be one of: OUTPUT_STREAM_STDOUT, OUTPUT_STREAM_STDERR, or OUTPUT_STREAM_COMBINED.
- OUTPUT_STREAM_UNSPECIFIED: Not specified. The server may default to STDOUT.
- OUTPUT_STREAM_STDOUT: The standard output stream.
- OUTPUT_STREAM_STDERR: The standard error stream.
- OUTPUT_STREAM_COMBINED: Both stdout and stderr combined (interleaved in order received).
Response
A successful response.
Changes
No recorded changes to this operation across all 1 revision of this API.