Result of one subprocess, reconstructed from its events
Returns an InstanceResult for spid — the same shape as the
parent operation’s metadata.result — folded from the
subprocess’s event log (spawn / stdout / stderr / exit).
Works for running and terminal operations alike. While the
process is still running, state.exit_code and state.signal
are -1 (unknown) and resources holds sentinel defaults;
once the exit event lands they carry the real values.
stdout / stderr are consolidated and capped at the spec’s
truncate_output_at. The raw event stream stays available at
GET /operations/{operationId}/events?spid={spid}.
Authorizations
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.
Nebius project ID associated with the IAM token. Required together
with IAMBearerAuth. Identifies the project context the request is
scoped to.
Path Parameters
The ID of the operation A UUID string
"12345678-9abc-baba-deda-0123456789ab"
Spawn id (1 = main process; ≥2 = exec'd children).
x >= 1