CAIN-42 CAIN Studio

API reference · schema

ProofTestResponse

14 fields · used by 0 operations

Last reviewed 2026-10-02

Fields

FieldTypeMeaning
test_id requiredstring
decision requiredstring
enforcement requiredstring
executed requiredboolean
evidence_id requiredstring
evidence_hash requiredstring
timestamp requiredstring
policy_idstringdefault "cain.authz"
policy_versionstringdefault "1.0"
schema_versionstringdefault "1.0"
decision_statestringdefault "DECISION_STATE"
execution_allowedbooleandefault false
signaturestring or null
signing_key_idstring or null

Smallest valid example

{
  "test_id": "test-id",
  "decision": "decision",
  "enforcement": "enforcement",
  "executed": false,
  "evidence_id": "evidence-id",
  "evidence_hash": "evidence-hash",
  "timestamp": "timestamp",
  "policy_id": "cain.authz",
  "policy_version": "1.0",
  "schema_version": "1.0",
  "decision_state": "DECISION_STATE",
  "execution_allowed": false
}

JSON Schema

Show the raw definition
{
  "properties": {
    "test_id": {
      "type": "string",
      "title": "Test Id"
    },
    "decision": {
      "type": "string",
      "title": "Decision"
    },
    "enforcement": {
      "type": "string",
      "title": "Enforcement"
    },
    "executed": {
      "type": "boolean",
      "title": "Executed"
    },
    "evidence_id": {
      "type": "string",
      "title": "Evidence Id"
    },
    "evidence_hash": {
      "type": "string",
      "title": "Evidence Hash"
    },
    "timestamp": {
      "type": "string",
      "title": "Timestamp"
    },
    "policy_id": {
      "type": "string",
      "title": "Policy Id",
      "default": "cain.authz"
    },
    "policy_version": {
      "type": "string",
      "title": "Policy Version",
      "default": "1.0"
    },
    "schema_version": {
      "type": "string",
      "title": "Schema Version",
      "default": "1.0"
    },
    "decision_state": {
      "type": "string",
      "title": "Decision State",
      "default": "DECISION_STATE"
    },
    "execution_allowed": {
      "type": "boolean",
      "title": "Execution Allowed",
      "default": false
    },
    "signature": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Signature"
    },
    "signing_key_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Signing Key Id"
    }
  },
  "type": "object",
  "required": [
    "test_id",
    "decision",
    "enforcement",
    "executed",
    "evidence_id",
    "evidence_hash",
    "timestamp"
  ],
  "title": "ProofTestResponse"
}

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