CAIN-42 CAIN Studio

API reference · schema

EdgeReq

6 fields · used by 0 operations

Last reviewed 2026-10-02

Fields

FieldTypeMeaning
source requiredstring
target requiredstring
relation requiredstring
evidence_ref requiredstring
allowed_actions requiredarray of string
expires_atnumber or null

Smallest valid example

{
  "source": "source",
  "target": "target",
  "relation": "relation",
  "evidence_ref": "evidence-ref",
  "allowed_actions": [
    "allowed-actions"
  ]
}

JSON Schema

Show the raw definition
{
  "properties": {
    "source": {
      "type": "string",
      "title": "Source"
    },
    "target": {
      "type": "string",
      "title": "Target"
    },
    "relation": {
      "type": "string",
      "title": "Relation"
    },
    "evidence_ref": {
      "type": "string",
      "title": "Evidence Ref"
    },
    "allowed_actions": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Allowed Actions"
    },
    "expires_at": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Expires At"
    }
  },
  "type": "object",
  "required": [
    "source",
    "target",
    "relation",
    "evidence_ref",
    "allowed_actions"
  ],
  "title": "EdgeReq"
}

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