CAIN-42 CAIN Studio

API reference · schema

CapLeasePrepareRequest

6 fields · used by 0 operations

Last reviewed 2026-10-03

Fields

FieldTypeMeaning
parent_lease_id requiredstring
child_agent_id requiredstring
requested_ceilingstring or null
requested_capabilitiesarray of string or null
ttl_secondsintegerdefault 1800
budget_centsinteger 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