CAIN-42 CAIN Studio

API reference · schema

ApprovalRequestCreate

11 fields · used by 1 operations

Last reviewed 2026-10-03

Fields

FieldTypeMeaning
requester_id requiredstringmin length 1
requester_identitystring or null
action requiredstringmin length 1
resourcestringdefault ""
justificationstringdefault ""
governance_policy_idstring or null
linked_budget_idstring or null
linked_policy_idstring or null
linked_control_policy_idstring or null
trace_idstring or null
ttl_secondsintegermin 60.0 · max 86400.0 · default 3600

Smallest valid example

{
  "requester_id": "requester-id",
  "action": "action",
  "resource": "",
  "justification": "",
  "ttl_seconds": 3600
}

Used by 1 operation

POST/fabric/governance/approvalsCreate Approval

JSON Schema

Show the raw definition
{
  "properties": {
    "requester_id": {
      "type": "string",
      "minLength": 1,
      "title": "Requester Id"
    },
    "requester_identity": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Requester Identity"
    },
    "action": {
      "type": "string",
      "minLength": 1,
      "title": "Action"
    },
    "resource": {
      "type": "string",
      "title": "Resource",
      "default": ""
    },
    "justification": {
      "type": "string",
      "title": "Justification",
      "default": ""
    },
    "governance_policy_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Governance Policy Id"
    },
    "linked_budget_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Linked Budget Id"
    },
    "linked_policy_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Linked Policy Id"
    },
    "linked_control_policy_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Linked Control Policy Id"
    },
    "trace_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Trace Id"
    },
    "ttl_seconds": {
      "type": "integer",
      "maximum": 86400.0,
      "minimum": 60.0,
      "title": "Ttl Seconds",
      "default": 3600
    }
  },
  "type": "object",
  "required": [
    "requester_id",
    "action"
  ],
  "title": "ApprovalRequestCreate"
}

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