Skip to main content
POST
Start an instance

Authorizations

Authorization
string
header
required

An API key issued by Hive Compute support. See Authentication above for how to request one.

Path Parameters

id
string<uuid>
required

The instance's unique identifier.

Body

application/json

Optional context recorded in the audit trail for this action.

reason_note
string

Free-text note explaining why the action was taken.

Maximum string length: 10000
Example:

"scaling down overnight"

Response

The request was accepted; the instance's current state is returned.

instance_id
string<uuid>

Unique identifier.

name
string

Display name.

Example:

"training-run-4"

status
enum<string>

Current lifecycle state.

Available options:
CREATED,
DEPLOYED,
STARTING,
RUNNING,
ERRORED,
TERMINATING,
TERMINATED,
STOPPING,
STOPPED
region
string

The datacenter location the instance runs in, which is narrower than a region: a region contains several locations.

This value cannot be passed back as the region filter on GET /instances or GET /presets — those take a region code from GET /regions (FR), not a location (france-2). Filtering on a location returns an empty page rather than an error.

Example:

"france-2"

gpu_type
string

GPU model.

Example:

"RTX 4090"

size
string

Headline shape of the instance, as a count and a unit rather than a preset name. Use GET /presets to resolve the full hardware.

Example:

"8 x GPU"

cpu_count
integer

Virtual CPUs allocated.

resources
string

Human-readable summary of the allocated hardware.

bandwidth
number

Allocated bandwidth, in Mbps.

storage_used_gb
number

Disk provisioned for the instance, in GB. Not a measure of use.

hourly_rate
number

Price charged per hour while running, in credits.

current_cost
number

Total spend accrued over the instance's life, in credits. Currently identical to total_cost_incurred; it is not scoped to the current run.

total_cost_incurred
number

Total cost over the instance's whole life, in credits.

total_runtime_hours
number

Total hours the instance has spent running.

ttl_remaining_hours
number

Credit runway in hours, computed across the whole organisation rather than for this instance, so every instance in an org reports the same figure.

started_at
string<date-time> | null

When the instance last entered RUNNING.

terminated_at
string<date-time> | null

When the instance was terminated, if it has been.

termination_reason
string | null

Why the instance was terminated, if it has been.

guest_ready
string

Whether the guest OS has finished booting and is reachable.

guest_ready_reason
string | null

Explanation when the guest is not ready.