CAIN-42 CAIN Studio

API reference · schema

CapLeaseIssueRequest

7 fields · used by 0 operations

Last reviewed 2026-10-03

Fields

FieldTypeMeaning
tenant_id requiredstring
principal_id requiredstring
agent_id requiredstring
authorized_ceilingstringdefault "EXECUTE"
capabilitiesarray of string or null
ttl_secondsintegerdefault 3600
budget_centsintegerdefault 10000

Smallest valid example

{
  "tenant_id": "tenant-id",
  "principal_id": "principal-id",
  "agent_id": "agent-id",
  "authorized_ceiling": "EXECUTE",
  "ttl_seconds": 3600,
  "budget_cents": 10000
}

JSON Schema

Show the raw definition
{
  "properties": {
    "tenant_id": {
      "type": "string",
      "title": "Tenant Id"
    },
    "principal_id": {
      "type": "string",
      "title": "Principal Id"
    },
    "agent_id": {
      "type": "string",
      "title": "Agent Id"
    },
    "authorized_ceiling": {
      "type": "string",
      "title": "Authorized Ceiling",
      "default": "EXECUTE"
    },
    "capabilities": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Capabilities"
    },
    "ttl_seconds": {
      "type": "integer",
      "title": "Ttl Seconds",
      "default": 3600
    },
    "budget_cents": {
      "type": "integer",
      "title": "Budget Cents",
      "default": 10000
    }
  },
  "type": "object",
  "required": [
    "tenant_id",
    "principal_id",
    "agent_id"
  ],
  "title": "CapLeaseIssueRequest"
}

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