> ## 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.

# Configure Runtime

> Update timeout and inspect metrics

```python theme={null}
from gravixlayer import GravixLayer

client = GravixLayer()
runtime = client.runtime.create(template="python-3.14-base-small")

# Extend timeout to 30 minutes
client.runtime.set_timeout(runtime.runtime_id, timeout=1800)

# Check resource usage
metrics = client.runtime.get_metrics(runtime.runtime_id)
print(f"CPU: {metrics.cpu_usage}%")

runtime.kill()
```

See individual pages for details:

* [Update Timeout](/documentation/agentruntime/sandbox-management/update-timeout)
* [Get Metrics](/documentation/agentruntime/sandbox-management/get-metrics)
