CAIN-42 CAIN Studio

API reference · schema

MarketplaceEvaluateRequest

7 fields · used by 0 operations

Last reviewed 2026-10-02

Fields

FieldTypeMeaning
pack_id requiredstringVertical policy pack ID (e.g. FIN-REG, HEALTH-REG, FED-REG)
action requiredstringProposed agent action
resource requiredstringTarget resource URI
principalstring or nullAgent principal
default "agent-01"
tenant_idstring or nullTenant identity
default "tenant-default"
trust_scorenumber or nullCurrent agent trust score
default 0.85
contextobject or nullCustom contextual parameters

Smallest valid example

{
  "pack_id": "pack-id",
  "action": "action",
  "resource": "resource",
  "principal": "agent-01",
  "tenant_id": "tenant-default",
  "trust_score": 0.85
}

JSON Schema

Show the raw definition
{
  "properties": {
    "pack_id": {
      "type": "string",
      "title": "Pack Id",
      "description": "Vertical policy pack ID (e.g. FIN-REG, HEALTH-REG, FED-REG)"
    },
    "action": {
      "type": "string",
      "title": "Action",
      "description": "Proposed agent action"
    },
    "resource": {
      "type": "string",
      "title": "Resource",
      "description": "Target resource URI"
    },
    "principal": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Principal",
      "description": "Agent principal",
      "default": "agent-01"
    },
    "tenant_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tenant Id",
      "description": "Tenant identity",
      "default": "tenant-default"
    },
    "trust_score": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Trust Score",
      "description": "Current agent trust score",
      "default": 0.85
    },
    "context": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Context",
      "description": "Custom contextual parameters"
    }
  },
  "type": "object",
  "required": [
    "pack_id",
    "action",
    "resource"
  ],
  "title": "MarketplaceEvaluateRequest"
}

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