CAIN-42 CAIN Studio

API reference · schema

ActionRule

8 fields · used by 1 operations

Last reviewed 2026-10-02

Fields

FieldTypeMeaning
id requiredstring
type requiredstring
actionstring or null
thresholdnumber or null
approval_actionstring or null
min_distinct_approversinteger or null
max_callsinteger or null
actionsarray of string or null

Smallest valid example

{
  "id": "id",
  "type": "type"
}

Used by 1 operation

POST/fabric/guard/action/verifyVerify Action Plan

JSON Schema

Show the raw definition
{
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "type": {
      "type": "string",
      "title": "Type"
    },
    "action": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Action"
    },
    "threshold": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Threshold"
    },
    "approval_action": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Approval Action"
    },
    "min_distinct_approvers": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Min Distinct Approvers"
    },
    "max_calls": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Max Calls"
    },
    "actions": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Actions"
    }
  },
  "type": "object",
  "required": [
    "id",
    "type"
  ],
  "title": "ActionRule"
}

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