CAIN-42 CAIN Studio

API reference · schema

EventIn

6 fields · used by 0 operations

Last reviewed 2026-10-31

Fields

FieldTypeMeaning
operatorstringmax length 80 · default "Vicente Noriega"
event requiredstringpattern ^(clock_in|clock_out|heartbeat|action)$
session_id requiredstringmin length 6 · max length 64 · pattern ^[A-Za-z0-9_.:-]+$
client_atstring or nullmax length 40
notestringmax length 240 · default ""
metricsmap of string to number

Smallest valid example

{
  "operator": "Vicente Noriega",
  "event": "event",
  "session_id": "session-id",
  "note": ""
}

JSON Schema

Show the raw definition
{
  "properties": {
    "operator": {
      "type": "string",
      "maxLength": 80,
      "title": "Operator",
      "default": "Vicente Noriega"
    },
    "event": {
      "type": "string",
      "pattern": "^(clock_in|clock_out|heartbeat|action)$",
      "title": "Event"
    },
    "session_id": {
      "type": "string",
      "maxLength": 64,
      "minLength": 6,
      "pattern": "^[A-Za-z0-9_.:-]+$",
      "title": "Session Id"
    },
    "client_at": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 40
        },
        {
          "type": "null"
        }
      ],
      "title": "Client At"
    },
    "note": {
      "type": "string",
      "maxLength": 240,
      "title": "Note",
      "default": ""
    },
    "metrics": {
      "additionalProperties": {
        "type": "number"
      },
      "type": "object",
      "title": "Metrics"
    }
  },
  "type": "object",
  "required": [
    "event",
    "session_id"
  ],
  "title": "EventIn"
}

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