CAIN-42 CAIN Studio

API reference · schema

PublishIn

7 fields · used by 0 operations

Last reviewed 2026-10-31

Fields

FieldTypeMeaning
platform requiredstringpattern ^(local|webhook|telegram|x|linkedin|facebook|whatsapp|github|huggingface)$
captionstringmax length 4000 · default ""
linkstringmax length 500 · default ""
image_b64stringmax length 40000000 · default ""
video_b64stringmax length 40000000 · default ""
filenamestringmax length 120 · default "cain42-asset.png"
mimestringmax length 80 · default "image/png"

Smallest valid example

{
  "platform": "platform",
  "caption": "",
  "link": "",
  "image_b64": "",
  "video_b64": "",
  "filename": "cain42-asset.png",
  "mime": "image/png"
}

JSON Schema

Show the raw definition
{
  "properties": {
    "platform": {
      "type": "string",
      "pattern": "^(local|webhook|telegram|x|linkedin|facebook|whatsapp|github|huggingface)$",
      "title": "Platform"
    },
    "caption": {
      "type": "string",
      "maxLength": 4000,
      "title": "Caption",
      "default": ""
    },
    "link": {
      "type": "string",
      "maxLength": 500,
      "title": "Link",
      "default": ""
    },
    "image_b64": {
      "type": "string",
      "maxLength": 40000000,
      "title": "Image B64",
      "default": ""
    },
    "video_b64": {
      "type": "string",
      "maxLength": 40000000,
      "title": "Video B64",
      "default": ""
    },
    "filename": {
      "type": "string",
      "maxLength": 120,
      "title": "Filename",
      "default": "cain42-asset.png"
    },
    "mime": {
      "type": "string",
      "maxLength": 80,
      "title": "Mime",
      "default": "image/png"
    }
  },
  "type": "object",
  "required": [
    "platform"
  ],
  "title": "PublishIn"
}

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