API reference · schema
PublishIn
7 fields · used by 0 operations
Last reviewed 2026-10-31
Fields
| Field | Type | Meaning |
|---|---|---|
platform required | string | pattern ^(local|webhook|telegram|x|linkedin|facebook|whatsapp|github|huggingface)$ |
caption | string | max length 4000 · default "" |
link | string | max length 500 · default "" |
image_b64 | string | max length 40000000 · default "" |
video_b64 | string | max length 40000000 · default "" |
filename | string | max length 120 · default "cain42-asset.png" |
mime | string | max 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