Runtime · Schema
MachineUpdate
A change to a machine's settings: each field left out stays as it is.
CloudComputeSandboxArtificial IntelligenceDevelopment
Properties
| Name | Type | Description |
|---|---|---|
| name | string | Its name, unique in its project. |
| labels | object | Its labels, in place of its own; those under `runtime.` are kept. |
| idlePauseSeconds | integer | Seconds with nothing happening before it pauses, 60 to 86400; 0 never. Nothing happening means no call or command running, no traffic, almost no CPU, and no outbound connection it opened still open. |
| vcpu | integer | Its vCPUs, grown while it runs; a running machine's vCPUs only grow. |
| memoryGB | number | Its memory in GB (1 GB is 1,024 MiB), grown while it runs; a running machine's memory only grows. |
| diskGB | number | Its disk in GB (1 GB is 1,024 MiB), grown while it runs, its file system with it; a disk only grows. |
| user | string | Who its commands run as from now when a call names no `user`: `runtime` or `root`. Running ones keep theirs. |
| env | object | Environment variables to set, each over its own value, the others kept: the update answers once a running one holds the change (a paused one is given it at its wake), so each process, command and term |
| removeEnv | array | Names of environment variables to take out, the same way: gone from the next process it starts; processes already running keep them. |
| maxCost | string | The most it may cost in all, in US dollars (`"5.00"`), in place of its own: one paused at its old maxCost wakes at its next call under a higher one. |
| autoWake | boolean | Whether a call that reaches it paused (an exec, a file, a terminal, a preview's visitor) resumes it from now. false: such a call answers 409 sandbox_paused and it stays paused until its own `:resume`. |
| deleteAfterSeconds | integer | Seconds from now until Runtime deletes it, as its delete does: final, and it can't be undone. Sent again before then, it renews it; 0 takes its end off (kept until deleted). |
| deleteProtection | boolean | true refuses its delete (409 `delete_protected`) until an update sends false; while true, its time limit pauses it instead of deleting it. Not while it has a `deleteAt`, unless the same update sends ` |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/withruntime-com/json-schema/withruntime-com-machine-update-schema.json",
"title": "MachineUpdate",
"description": "A change to a machine's settings: each field left out stays as it is.",
"x-generated": "2026-11-28",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/withruntime-com-openapi.json#/components/schemas/MachineUpdate",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Its name, unique in its project."
},
"labels": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Its labels, in place of its own; those under `runtime.` are kept."
},
"idlePauseSeconds": {
"type": "integer",
"description": "Seconds with nothing happening before it pauses, 60 to 86400; 0 never. Nothing happening means no call or command running, no traffic, almost no CPU, and no outbound connection it opened still open."
},
"vcpu": {
"type": "integer",
"description": "Its vCPUs, grown while it runs; a running machine's vCPUs only grow.",
"minimum": 1
},
"memoryGB": {
"type": "number",
"description": "Its memory in GB (1 GB is 1,024 MiB), grown while it runs; a running machine's memory only grows.",
"minimum": 1
},
"diskGB": {
"type": "number",
"description": "Its disk in GB (1 GB is 1,024 MiB), grown while it runs, its file system with it; a disk only grows.",
"minimum": 1
},
"user": {
"type": "string",
"enum": [
"runtime",
"root"
],
"description": "Who its commands run as from now when a call names no `user`: `runtime` or `root`. Running ones keep theirs."
},
"env": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Environment variables to set, each over its own value, the others kept: the update answers once a running one holds the change (a paused one is given it at its wake), so each process, command and terminal it starts after the answer has them; processes already running keep the environment they started with. At most 32 variables and 32768 bytes of names and values in all, as a create's; values are never answered."
},
"removeEnv": {
"type": "array",
"items": {
"type": "string"
},
"description": "Names of environment variables to take out, the same way: gone from the next process it starts; processes already running keep them."
},
"maxCost": {
"type": "string",
"format": "decimal",
"pattern": "^(0|[1-9][0-9]{0,11})(\\.[0-9]{1,9})?$",
"description": "The most it may cost in all, in US dollars (`\"5.00\"`), in place of its own: one paused at its old maxCost wakes at its next call under a higher one."
},
"autoWake": {
"type": "boolean",
"description": "Whether a call that reaches it paused (an exec, a file, a terminal, a preview's visitor) resumes it from now. false: such a call answers 409 sandbox_paused and it stays paused until its own `:resume`."
},
"deleteAfterSeconds": {
"type": "integer",
"description": "Seconds from now until Runtime deletes it, as its delete does: final, and it can't be undone. Sent again before then, it renews it; 0 takes its end off (kept until deleted).",
"minimum": 0,
"maximum": 315360000
},
"deleteProtection": {
"type": "boolean",
"description": "true refuses its delete (409 `delete_protected`) until an update sends false; while true, its time limit pauses it instead of deleting it. Not while it has a `deleteAt`, unless the same update sends `deleteAfterSeconds` 0."
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/withruntime-com-machine-update"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.