CAIN-42 CAIN Studio

API reference · schema

ReserveRequest

6 fields · used by 1 operations

Last reviewed 2026-10-03

Fields

FieldTypeMeaning
amount_cents requirednumber> 0.0
action requiredstringmin length 1
trace_idstring or null
decision_idstring or null
ttl_secondsintegermin 1.0 · max 3600.0 · default 300
idempotency_keystring or null

Smallest valid example

{
  "amount_cents": 1.0,
  "action": "action",
  "ttl_seconds": 300
}

Used by 1 operation

POST/fabric/budgets/{budget_id}/reserveReserve Budget

JSON Schema

Show the raw definition
{
  "properties": {
    "amount_cents": {
      "type": "number",
      "exclusiveMinimum": 0.0,
      "title": "Amount Cents"
    },
    "action": {
      "type": "string",
      "minLength": 1,
      "title": "Action"
    },
    "trace_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Trace Id"
    },
    "decision_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Decision Id"
    },
    "ttl_seconds": {
      "type": "integer",
      "maximum": 3600.0,
      "minimum": 1.0,
      "title": "Ttl Seconds",
      "default": 300
    },
    "idempotency_key": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Idempotency Key"
    }
  },
  "type": "object",
  "required": [
    "amount_cents",
    "action"
  ],
  "title": "ReserveRequest"
}

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