CAIN-42 is in Public Beta. Expect changes, and do not rely on it as your only control for anything critical. What beta means
CAIN-42 CAIN Studio

API reference · schema

EventRequest

6 fields · used by 0 operations

Last reviewed 2026-10-19

Fields

FieldTypeMeaning
name requiredstring
attributesobjectdefault {}
payloadany
parent_span_idstring or null
kindstringdefault "INTERNAL"
statusstringdefault "OK"

Smallest valid example

{
  "name": "name",
  "attributes": {},
  "kind": "INTERNAL",
  "status": "OK"
}

JSON Schema

Show the raw definition
{
  "properties": {
    "name": {
      "type": "string",
      "title": "Name"
    },
    "attributes": {
      "additionalProperties": true,
      "type": "object",
      "title": "Attributes",
      "default": {}
    },
    "payload": {
      "title": "Payload"
    },
    "parent_span_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Parent Span Id"
    },
    "kind": {
      "type": "string",
      "title": "Kind",
      "default": "INTERNAL"
    },
    "status": {
      "type": "string",
      "title": "Status",
      "default": "OK"
    }
  },
  "type": "object",
  "required": [
    "name"
  ],
  "title": "EventRequest"
}

Try CAIN-42 on your own agents

Create a free account and every new account starts with a 30-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