ApiSchemas
SandboxLifecycle
One shape from the contract, as it appears on the wire.
Used by agents.create, agents.promote, agents.update, agents.upsert, agents.versions, sessions.children, sessions.create, sessions.decide, sessions.get, sessions.interrupt, sessions.list, sessions.updateMetadata
JSON Schema
{
"type": "object",
"properties": {
"idleAfterMs": {
"type": "integer",
"minimum": 1000
},
"onIdle": {
"$ref": "#/components/schemas/SandboxOnIdle"
},
"snapshotEveryMs": {
"type": "integer",
"minimum": 1000
},
"keepSnapshots": {
"type": "integer",
"minimum": 0,
"maximum": 50
},
"resume": {
"$ref": "#/components/schemas/SandboxResumeSource"
},
"maxSnapshotAgeMs": {
"type": "integer",
"minimum": 1000
}
},
"additionalProperties": false
}