CAIN-42 CAIN Studio

API reference · schema

AgentIn

7 fields · used by 0 operations

Last reviewed 2026-11-13

Fields

FieldTypeMeaning
agent requiredstringmin length 1 · max length 128
pub requiredstringmin length 16
asset requiredstring
envelope requiredobject
profilestringdefault "motion"
parentstring or null
ttl_snumberdefault 600.0

Smallest valid example

{
  "agent": "agent",
  "pub": "pub",
  "asset": "asset",
  "envelope": {},
  "profile": "motion",
  "ttl_s": 600.0
}

JSON Schema

Show the raw definition
{
  "properties": {
    "agent": {
      "type": "string",
      "maxLength": 128,
      "minLength": 1,
      "title": "Agent"
    },
    "pub": {
      "type": "string",
      "minLength": 16,
      "title": "Pub"
    },
    "asset": {
      "type": "string",
      "title": "Asset"
    },
    "envelope": {
      "additionalProperties": true,
      "type": "object",
      "title": "Envelope"
    },
    "profile": {
      "type": "string",
      "title": "Profile",
      "default": "motion"
    },
    "parent": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Parent"
    },
    "ttl_s": {
      "type": "number",
      "title": "Ttl S",
      "default": 600.0
    }
  },
  "type": "object",
  "required": [
    "agent",
    "pub",
    "asset",
    "envelope"
  ],
  "title": "AgentIn"
}

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