Preview — pending review
This reference is generated from the platform API contract and is still under review. Operations, fields, and descriptions can change before publication.
Get one compute instance (detail read model)
Retrieves the full Instance read model that backs the instance detail page and all of its panels
(Overview, Monitoring, Disks, Networking, Size, Extensions, Connect, Activity, Tags). Returns
identity, scope (subscriptionId/projectId/region), lifecycle status, powerState, nullable
taskState, the embedded Flavor and ImageRef, fixed/floating IPs, key pair name, monitoring flag,
tags, and created/updated timestamps. The UI polls this read every 2.5s while status is one of
[BUILD, RESIZE, DELETING] to track transitional workflows.
Validation: scopeId must be an accessible scope and instanceId must identify an instance
that exists, is visible to the caller, and is not soft-deleted — otherwise 404 NOT_FOUND.
Async & state: Synchronous read; no state change. Pair with resource.updated SSE frames
(kind=instance) to refresh without polling.
Errors: 401 UNAUTHENTICATED for a missing/expired session; 403 FORBIDDEN when the caller has
no read permission in the scope; 404 NOT_FOUND for an unknown or deleted instanceId; 500 INTERNAL
on backend failure.
Idempotency/Concurrency: Safe, cacheable; no idempotency key required. The response carries
an ETag usable as If-Match on subsequent PATCH/PUT/DELETE calls.
bearerTokenAuthorizationBearer <token>An API token (pc_live_…) or a service-account key (sak_live_…), created in Identity & Access Management and sent as Authorization: Bearer <token>. Requests are rate limited per credential and per tenant: every response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset, and a refused request gets 429 RATE_LIMITED with Retry-After.
scopeId*stringOpaque ownership+authorization scope resolving to tenant + subscription + project.
instanceId*stringIdentifier of the compute instance.
The Instance detail read model.
application/json- response
Virtual machine Instance read model backing the Instances page and the instance detail page. Carries the resource scope fields (subscriptionId/projectId/region) and the timestamps (createdAt/updatedAt).
subscriptionId*stringprojectId*stringregion*RegionIdPlatform region code (a DNS-label-shaped slug, e.g. ist-1). No longer a closed enum: the set of valid region codes is operator-managed in the platform-region registry, so this carries only a shape guard. The authoritative set of activated regions is read from GET /regions; invalid-shape codes are VALIDATION_FAILED and codes absent from the registry are rejected at the resolving endpoint.
^[a-z][a-z0-9-]{1,39}$createdAt*stringupdatedAt*stringorigin?stringWhere the resource was made -- portal for a create on the console, api for an object made straight against the OpenStack API (CLI, Terraform, the Kubernetes cloud provider) that discovery adopted. Informational; nothing behaves differently. Absent from a backend that predates it, which means portal.
"portal""api""system""imported"id*stringname*stringstatus*InstanceStatusLifecycle status of a compute instance (drives polling and available actions in the UI).
"BUILD""ACTIVE""STOPPED""PAUSED""SUSPENDED""RESIZE""VERIFY_RESIZE""RESCUE""ERROR""DELETING"statusReason*|Human-readable reason for the current status when it is a failure (e.g. "instance build failed on the provider" on an ERROR instance); null while the instance is healthy or the failure carried no detail. Mirrors Volume.statusReason: an ERROR row explains itself on the read model instead of forcing the console to go read the tracking Operation.
statusReasonCode*|Machine-readable companion to statusReason: a small, OPEN vocabulary of codes the console can branch on without parsing the human text, deliberately a plain string rather than a closed enum so a code the client does not recognize yet degrades to the generic failure message. Today the only value is cancelled: the resource is in its failure state because its create operation was CANCELLED; a provider object the create had already built may be left in place, and the resource's DELETE removes it. Reported only while the resource is in that failure state; null otherwise.
powerState*PowerStateHypervisor power state of the instance, shown alongside the lifecycle status.
"RUNNING""SHUTDOWN""PAUSED""CRASHED"taskState*|In-flight task indicator (e.g. powering_on, disk_attaching); null when idle.
flavor*Compute size (flavor) embedded in the Instance read model and offered by the size picker.
image*Reference to the machine image an instance was provisioned from.
fixedIp*string|nullfloatingIp*string|nullkeyPairs*array<string>Names of the SSH key pairs whose PUBLIC keys were injected into this instance at first boot via cloud-init. Empty when the instance was launched with a password only. Platform-owned: the value is recorded by the create route and is NOT re-derived from the provider (Nova's single-valued key_name is no longer used), so the collector never overwrites it.
[]passwordAuth?booleanTrue when the create provisioned an admin account with a password (adminUsername + adminPassword). The access METHOD only: neither the password nor the account name is stored or returned. Together with keyPairs it tells a client how the instance is reached -- keys only, password only, or both. Platform-owned and set once at create; false for an instance created without a password and for one adopted by discovery.
falsemonitoringEnabled*booleanWhether VM metrics are collected for customer display and billed. While true the instance's Monitoring tab serves metrics and the monitoring.instance.hour SKU is metered per hour (free unless the operator prices it); while false neither happens. Toggled with the metadata PATCH or set at create.
deletionProtection*booleanDeletion guard. While true, compute.instance.delete is refused with 409 DELETION_PROTECTED before any work starts AND the Nova server carries a platform ADMIN lock (locked_reason publiccloud:deletion-protection), so the project's own OpenStack API credentials can neither delete the server nor lift the lock; the console's start / stop / restart / resize and NIC / disk actions keep working. Turn it off with the metadata PATCH, then delete. False for every instance unless a caller turned it on; the collector never writes it.
tags*array<>securityGroups?array<string>Attached security-group ids (bound at boot and via the attach/detach actions).
[]networkInterfaces?array<>Secondary NICs attached post-boot via the interface-attach action (the primary NIC is reported via fixedIp).
[]availabilityZone?|Nova availability zone the instance runs in (OS-EXT-AZ:availability_zone, typically "nova"); null when the provider does not report it.
bootsFromVolume?booleanTrue when the instance boots from a Cinder root volume (block_device_mapping_v2) sized by the create-time osDiskGb rather than the flavor's ephemeral disk. Lets the Disks tab surface the real root volume instead of the flavor's root disk.
falserootDiskGb?|Size in GB of the boot-from-volume root volume when bootsFromVolume is true; null for an ephemeral (flavor root disk) boot or a collector-discovered instance whose root volume size is unknown.
rootVolumeName?|Display name of the standalone Cinder root volume the instance boots from (shown as 'Boot from volume ()' on the Disks tab); null for an instance whose root volume has not been adopted (e.g. a collector-discovered instance) or a legacy ephemeral instance.
rootVolumeId?|Storage read-model id of the standalone root volume the instance boots from (for deep-linking to the Volumes page); null when not adopted.
curl -X GET "https://example.com/scopes/string/compute/instances/string"{ "subscriptionId": "string", "projectId": "string", "region": "string", "createdAt": "string", "updatedAt": "string", "origin": "portal", "id": "string", "name": "string", "status": "BUILD", "statusReason": "string", "statusReasonCode": "string", "powerState": "RUNNING", "taskState": "string", "flavor": { "id": "string", "name": "string", "family": "string", "restricted": true, "entitled": true, "vcpus": 0, "ramMb": 0, "diskGb": 0, "priceMonthly": { "amount": 0, "currency": "USD" }, "priceHourly": { "amount": 0, "currency": "USD" }, "gpu": { "count": 1, "model": "string" } }, "image": { "id": "string", "name": "string", "os": "string", "osVersion": "string" }, "fixedIp": "string", "floatingIp": "string", "keyPairs": [], "passwordAuth": false, "monitoringEnabled": true, "deletionProtection": true, "tags": [ { "key": "string", "value": "string" } ], "securityGroups": [], "networkInterfaces": [], "availabilityZone": "string", "bootsFromVolume": false, "rootDiskGb": 0, "rootVolumeName": "string", "rootVolumeId": "string"}