CAIN-42 CAIN Studio

API reference · schema

ActionIn

4 fields · used by 0 operations

Last reviewed 2026-11-02

Fields

FieldTypeMeaning
id requiredintegermin 1.0
action requiredstringpattern ^(approve|reject|edit|retry)$
textstring or nullmax length 40000
subredditstring or nullpattern ^[A-Za-z0-9_]{2,21}$

Smallest valid example

{
  "id": 1,
  "action": "action"
}

JSON Schema

Show the raw definition
{
  "properties": {
    "id": {
      "type": "integer",
      "minimum": 1.0,
      "title": "Id"
    },
    "action": {
      "type": "string",
      "pattern": "^(approve|reject|edit|retry)$",
      "title": "Action"
    },
    "text": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 40000
        },
        {
          "type": "null"
        }
      ],
      "title": "Text"
    },
    "subreddit": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^[A-Za-z0-9_]{2,21}$"
        },
        {
          "type": "null"
        }
      ],
      "title": "Subreddit"
    }
  },
  "type": "object",
  "required": [
    "id",
    "action"
  ],
  "title": "ActionIn"
}

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