API reference · schema
CapLeasePrepareRequest
6 fields · used by 0 operations
Last reviewed 2026-10-03
Fields
| Field | Type | Meaning |
|---|---|---|
parent_lease_id required | string | |
child_agent_id required | string | |
requested_ceiling | string or null | |
requested_capabilities | array of string or null | |
ttl_seconds | integer | default 1800 |
budget_cents | integer or null |
Smallest valid example
{
"parent_lease_id": "parent-lease-id",
"child_agent_id": "child-agent-id",
"ttl_seconds": 1800
}JSON Schema
Show the raw definition
{
"properties": {
"parent_lease_id": {
"type": "string",
"title": "Parent Lease Id"
},
"child_agent_id": {
"type": "string",
"title": "Child Agent Id"
},
"requested_ceiling": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Requested Ceiling"
},
"requested_capabilities": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Requested Capabilities"
},
"ttl_seconds": {
"type": "integer",
"title": "Ttl Seconds",
"default": 1800
},
"budget_cents": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Budget Cents"
}
},
"type": "object",
"required": [
"parent_lease_id",
"child_agent_id"
],
"title": "CapLeasePrepareRequest"
}Try CAIN-42 on your own agents
Create a free account and every new account starts with a 7-day trial of the full platform. Or try the sandbox first, with no account at all.
Create a free account → · Try the sandbox · See the whole ecosystem