Get an operation status
Returns the status of an operation.
For an EXECUTING INSTANCE operation, pass ?inflight=1 to
also synthesize the partial result.stdout / result.stderr
from the live event log. Off by default — each fetch with
inflight triggers an extra subscribe RPC to the guest and
drains its current events.gz, which is wasted work for
clients that only poll for status transitions.
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"
Query Parameters
HTTP-flag boolean. Present without a value (?inflight)
and ?inflight=1 both enable; ?inflight=0 and absence
disable. When enabled and the operation is EXECUTING
INSTANCE, partial stdout/stderr is synthesized from the
live event log and attached under result.
, 0, 1 Response
OK
A UUID string
"12345678-9abc-baba-deda-0123456789ab"
Type of the operation
image_import, instance PENDING, ASSIGNED, EXECUTING, SUCCESS, FAILED, CANCELLED ISO 8601 formatted timestamp when the operation was created
"2024-01-01T12:00:00+00:00"
Bytes written for the resulting image/layer(s).
null when not measured (e.g. disposable instance, non-SUCCESS operations).
CPU seconds (user_cpu_time + system_cpu_time) reported by the in-VM init.
null when not measured.
Peak memory (max_rss) reported by the in-VM init; units preserved as reported
by getrusage. null when not measured.
UUID of the source image this operation was run on.
Set for INSTANCE operations, null for IMAGE_IMPORT.
"12345678-9abc-baba-deda-0123456789ab"
UUID of the image produced by this operation.
Only set for completed (SUCCESS) operations, null otherwise.
"12345678-9abc-baba-deda-0123456789ab"
Metadata specific to the operation type
- Option 1
- Option 2
Result of the operation, if any