CAIN-42 CAIN Studio

API reference · schema

SandboxSimulateRequest

5 fields · used by 0 operations

Last reviewed 2026-10-02

Fields

FieldTypeMeaning
action requiredstringAction to evaluate (e.g. read, query, delete, escalate_trust)
resource requiredstringTarget resource path (e.g. /health, /database/users)
principalstring or nullAgent principal identity
default "agent-developer-01"
trust_scorenumber or nullCurrent agent trust score in range [0.0, 1.0]
default 0.85
tenant_idstring or nullTenant isolation scope
default "default"

Smallest valid example

{
  "action": "action",
  "resource": "resource",
  "principal": "agent-developer-01",
  "trust_score": 0.85,
  "tenant_id": "default"
}

JSON Schema

Show the raw definition
{
  "properties": {
    "action": {
      "type": "string",
      "title": "Action",
      "description": "Action to evaluate (e.g. read, query, delete, escalate_trust)"
    },
    "resource": {
      "type": "string",
      "title": "Resource",
      "description": "Target resource path (e.g. /health, /database/users)"
    },
    "principal": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Principal",
      "description": "Agent principal identity",
      "default": "agent-developer-01"
    },
    "trust_score": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Trust Score",
      "description": "Current agent trust score in range [0.0, 1.0]",
      "default": 0.85
    },
    "tenant_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tenant Id",
      "description": "Tenant isolation scope",
      "default": "default"
    }
  },
  "type": "object",
  "required": [
    "action",
    "resource"
  ],
  "title": "SandboxSimulateRequest"
}

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