Documentation Index
Fetch the complete documentation index at: https://docs.gravixlayer.ai/llms.txt
Use this file to discover all available pages before exploring further.
from gravixlayer import GravixLayer
client = GravixLayer()
created = client.runtime.create(template="python-3.14-base-small")
runtime = client.runtime.get(created.runtime_id)
print(runtime.runtime_id)
print(runtime.status)
print(runtime.template)
print(runtime.provider, runtime.region)
print(runtime.cpu_count, "vCPU")
print(runtime.memory_mb, "MB RAM")
print(runtime.started_at)
print(runtime.timeout_at)
created.kill()
Parameters
| Parameter | Type | Required | Description |
|---|
runtime_id | string | Yes | Runtime identifier |
Response
| Field | Type | Description |
|---|
runtime_id | string | Unique runtime ID |
status | string | Current status |
template | string | Template name |
provider | string | Cloud provider |
region | string | Region |
cpu_count | integer | vCPU count |
memory_mb | integer | Memory in MB |
disk_size_mb | integer | Disk in MB |
started_at | string | Start timestamp |
timeout_at | string | Timeout timestamp |
Status Values
| Status | Description |
|---|
creating | Runtime is being provisioned |
running | Runtime is active and ready |
stopped | Runtime was stopped |
terminated | Runtime was terminated |
failed | Runtime failed to start |
timed_out | Runtime exceeded its timeout |