Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

IAM bearer token issued by the Nebius IAM service. Sent as Authorization: Bearer <iam-token>. Must be combined with the Project header (see IAMProjectHeader).

This is the recommended authentication scheme for new clients.

Project
string
header
required

Nebius project ID associated with the IAM token. Required together with IAMBearerAuth. Identifies the project context the request is scoped to.

Path Parameters

operationId
string<uuid>
required

The ID of the operation A UUID string

Example:

"12345678-9abc-baba-deda-0123456789ab"

spid
integer
required

Spawn id (1 = main process; ≥2 = exec'd children).

Required range: x >= 1

Body

application/json

Stdin payload. Delivery to the child is always complete — stdin is never truncated on its way to the process. Only the recorded stdin events in the subprocess event log are capped by truncate_output_at, same as stdout/stderr. This schema also carries a close flag controlling the pipe's EOF.

value
string
required

Content to write to stdin (may be empty for a close-only request)

Example:

"aGVsbG8K"

encoding
enum<string>
default:ascii

Encoding of the content

Available options:
ascii,
base64
close
boolean
default:true

true (default) closes stdin (EOF) after writing value — the pre-existing one-shot behavior. false keeps the pipe open so more data can be sent later via POST /operations/{operationId}/subprocesses/{spid}/stdin.

Response

Chunk written (and/or stdin closed).