List runtimes
const url = 'http://127.0.0.1:8080/v1/runtimes?limit=100&offset=0';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'http://127.0.0.1:8080/v1/runtimes?limit=100&offset=0' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Comma-separated public status aliases.
Comma-separated public status aliases.
Maximum number of runtimes to return.
Maximum number of runtimes to return.
Number of matching runtimes to skip before returning a page.
Number of matching runtimes to skip before returning a page.
Responses
Section titled “ Responses ”List response envelope.
List response envelope.
object
Runtime response object.
object
User-chosen display name.
Egress policy.
object
Egress gateway mode.
Host names or wildcard patterns allowed in allowlist mode.
Host names or wildcard patterns denied in denylist mode.
Whether official LLM HTTP API tool input/output capture is enabled.
Runtime idle suspend timeout. Absent means disabled.
Stable runtime UUID.
Active ingress specs.
Public ingress forwarding rule.
object
Application-layer protocol.
Port inside the runtime VM.
Runtime resource state.
object
Resource limits.
object
Maximum memory in MiB.
Resource requests.
object
Requested baseline memory in MiB.
Requested virtual CPUs.
Runtime-scoped agent setup metadata.
object
Agent manifest key.
Agent setup status.
Runtime-local setup log path.
Last setup error, if any.
RFC3339 timestamp of the last setup state change.
Runtime status.
Offset pagination metadata.
object
Maximum number of items requested.
Number of matching items skipped before this page.
Total number of matching items before pagination.
Offset for the next page, or null when this page is complete.
Example
{ "data": [ { "egress_policy": { "mode": "denylist" }, "ingress_specs": [ { "protocol": "http" } ], "agent": { "status": "queued" }, "status": "running" } ]}Missing, malformed, or rejected bearer token
object
object
Example
{ "error": { "code": "already_exists" }}The bearer token is not allowed to perform this action
object
object
Example
{ "error": { "code": "already_exists" }}The requested resource was not found
object
object
Example
{ "error": { "code": "already_exists" }}The request conflicts with current resource state
object
object
Example
{ "error": { "code": "already_exists" }}Validation or application error
object
object
Example
{ "error": { "code": "already_exists" }}Rate limit exceeded
object
object
Example
{ "error": { "code": "already_exists" }}Upstream service is unavailable
object
object
Example
{ "error": { "code": "already_exists" }}Upstream request timed out
object
object
Example
{ "error": { "code": "already_exists" }}default
Section titled “default ”Error response
object
object
Example
{ "error": { "code": "already_exists" }}