Preferências de privacidade

Funções necessárias

Necessárias para a segurança e as funções básicas do site.

Sempre ativas

Análises opcionais de uso

Permitir análises de uso do PostHog? Altere sua escolha a qualquer momento no rodapé.

Permitir também a reprodução de sessões neste site público

A reprodução mostra páginas públicas e interações, com campos de entrada e conteúdo privado ocultos. A reprodução no App é uma escolha separada.

Requer análises; a reprodução do site fica desativada por padrão.

As análises do navegador não ativam as análises da conta.

A busca carrega apenas quando você a usa. Explore todas as categorias abaixo.

Ferramenta MCP

Criar um rascunho editorial a partir de uma variante de pesquisa revisada

sosoapi_research_briefs_handoff

Criar um rascunho canônico não agendado a partir de uma variante revisada; também exige agent:operate. Sem envio ou publicação. Exige agent:research.

Ler como Markdown

Perfis e transportes

Perfis: full · Transportes: stdio, http

Escolha core ou full para controlar quais ferramentas seu cliente vê; isso não altera suas permissões. O envio de arquivos locais exige stdio e não está disponível por HTTP. Defina SOSOAPI_OUTPUT_SCHEMAS=1 para incluir schemas de saída na descoberta. As ferramentas retornam resultados estruturados com ou sem essa configuração.

Permissões e efeitos colaterais

As anotações ajudam os clientes a descrever uma ferramenta. Cada chamada ainda verifica autenticação, função, acesso a recursos e concessões de capacidades do usuário.

{
  "readOnlyHint": false,
  "destructiveHint": false,
  "idempotentHint": true,
  "openWorldHint": true
}
  • /research-api/briefs/handoff: agent:research · um rascunho de conteúdo canônico não agendado confirmado, com proveniência privada das fontes; nunca envio/publicação

Campos de entrada

Obrigatório significa obrigatório dentro do objeto pai e da ramificação selecionada. Um filho obrigatório não torna obrigatório um pai opcional. As regras e nomes de campos abaixo são copiados do contrato.

Campos de entrada
Campo / ramificaçãoTipo / obrigatórioRestrições
$objectObrigatório no objeto pai
  • additionalProperties: false
workspace_idstringObrigatório no objeto pai
  • format: "uuid"
mutation_idstringObrigatório no objeto pai
  • format: "uuid"
brief_idstringObrigatório no objeto pai
  • format: "uuid"
brief_revisionintegerObrigatório no objeto pai
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
variant_idstringObrigatório no objeto pai
  • format: "uuid"
variant_revisionintegerObrigatório no objeto pai
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
contentobjectObrigatório no objeto pai
  • additionalProperties: false
content.schemaVersionnumberOpcional / item
  • enum: [1]
content.accountIdsarrayOpcional / item
  • maxItems: 50
content.accountIds[]stringOpcional / item
  • format: "uuid"
content.captionstringOpcional / item
  • maxLength: 5000
content.hashtagsstringOpcional / item
  • maxLength: 5000
content.assetIdsarrayOpcional / item
  • maxItems: 20
content.assetIds[]stringOpcional / item
  • maxLength: 16
  • pattern: "^[1-9][0-9]*$"
content.threadsTextOnlybooleanOpcional / item—
content.threadsOptionsobjectOpcional / item
  • additionalProperties: false
content.threadsOptions.post_typestringOpcional / item
  • enum: ["TEXT","IMAGE","VIDEO","CAROUSEL","REPOST"]
content.threadsOptions.reply_to_idstringOpcional / item
  • maxLength: 128
content.threadsOptions.quote_post_idstringOpcional / item
  • maxLength: 128
content.threadsOptions.repost_target_idstringOpcional / item
  • maxLength: 128
content.threadsOptions.reply_controlstringOpcional / item
  • enum: ["everyone","accounts_you_follow","mentioned_only","parent_post_author_only","followers_only"]
content.threadsOptions.enable_reply_approvalsbooleanOpcional / item—
content.threadsOptions.link_attachmentstringOpcional / item
  • maxLength: 2048
content.threadsOptions.poll_attachmentobjectOpcional / item
  • additionalProperties: false
content.threadsOptions.poll_attachment.option_astringObrigatório no objeto pai
  • maxLength: 25
content.threadsOptions.poll_attachment.option_bstringObrigatório no objeto pai
  • maxLength: 25
content.threadsOptions.poll_attachment.option_cstringOpcional / item
  • maxLength: 25
content.threadsOptions.poll_attachment.option_dstringOpcional / item
  • maxLength: 25
content.threadsOptions.gif_attachmentobjectOpcional / item
  • additionalProperties: false
content.threadsOptions.gif_attachment.gif_idstringObrigatório no objeto pai
  • maxLength: 128
content.threadsOptions.gif_attachment.providerstringObrigatório no objeto pai
  • enum: ["GIPHY"]
content.threadsOptions.text_attachmentobjectOpcional / item
  • additionalProperties: false
content.threadsOptions.text_attachment.plaintextstringObrigatório no objeto pai
  • maxLength: 10000
content.threadsOptions.text_attachment.link_attachment_urlstringOpcional / item
  • maxLength: 2048
content.threadsOptions.text_attachment.text_with_styling_infoarrayOpcional / item
  • maxItems: 100
content.threadsOptions.text_attachment.text_with_styling_info[]objectOpcional / item
  • additionalProperties: false
content.threadsOptions.text_attachment.text_with_styling_info[].offsetintegerObrigatório no objeto pai
  • minimum: 0
  • maximum: 9007199254740991
content.threadsOptions.text_attachment.text_with_styling_info[].lengthintegerObrigatório no objeto pai
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
content.threadsOptions.text_attachment.text_with_styling_info[].styling_infoarrayObrigatório no objeto pai
  • minItems: 1
content.threadsOptions.text_attachment.text_with_styling_info[].styling_info[]stringOpcional / item
  • enum: ["bold","italic","highlight","underline","strikethrough"]
content.threadsOptions.topic_tagstringOpcional / item
  • maxLength: 50
content.threadsOptions.text_entitiesarrayOpcional / item
  • maxItems: 10
content.threadsOptions.text_entities[]objectOpcional / item
  • additionalProperties: false
content.threadsOptions.text_entities[].entity_typestringObrigatório no objeto pai
  • enum: ["SPOILER","spoiler"]
content.threadsOptions.text_entities[].offsetintegerObrigatório no objeto pai
  • minimum: 0
  • maximum: 9007199254740991
content.threadsOptions.text_entities[].lengthintegerObrigatório no objeto pai
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
content.threadsOptions.is_spoiler_mediabooleanOpcional / item—
content.threadsOptions.is_ghost_postbooleanOpcional / item—
content.threadsOptions.location_idstringOpcional / item
  • maxLength: 128
content.threadsOptions.allowlisted_country_codesarrayOpcional / item
  • minItems: 1
  • maxItems: 249
content.threadsOptions.allowlisted_country_codes[]stringOpcional / item
  • pattern: "^[A-Z]{2}$"
content.threadsOptions.crossreshare_to_igbooleanOpcional / item—
content.threadsOptions.crossreshare_to_ig_dark_modebooleanOpcional / item—
content.threadsOptions.auto_publish_textbooleanOpcional / item—
content.threadsOptions.media_optionsarrayOpcional / item
  • maxItems: 20
content.threadsOptions.media_options[]objectOpcional / item
  • additionalProperties: false
content.threadsOptions.media_options[].asset_idintegerObrigatório no objeto pai
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
content.threadsOptions.media_options[].alt_textstringOpcional / item
  • minLength: 1
  • maxLength: 1000
content.threadsOptions.media_options[].is_spoiler_mediabooleanOpcional / item—
content.instagramModestringOpcional / item
  • enum: ["IMAGE","REELS","CAROUSEL","STORY_IMAGE","STORY_VIDEO"]
content.youtubeTitlestringOpcional / item
  • maxLength: 100
content.youtubePrivacystringOpcional / item
  • enum: ["private","unlisted","public"]
content.youtubeSyntheticbooleanOpcional / item—
content.youtubeCategoryIdstringOpcional / item
  • maxLength: 32
content.youtubeShortbooleanOpcional / item—
content.linkUrlstringOpcional / item
  • maxLength: 2048
content.scheduledAtstringOpcional / item
  • maxLength: 64
content.displayTimezonestringOpcional / item
  • minLength: 1
  • maxLength: 128
content.publishNowbooleanOpcional / item—
content.destinationOverridesobjectOpcional / item
  • additionalProperties: {"type":"object","properties":{"caption":{"type":"string","maxLength":5000},"scheduledAt":{"type":"string","maxLength":64}},"additionalProperties":false}
content.destinationOverrides.*objectOpcional / item
  • additionalProperties: false
content.destinationOverrides.*.captionstringOpcional / item
  • maxLength: 5000
content.destinationOverrides.*.scheduledAtstringOpcional / item
  • maxLength: 64
content.expiresAtstringOpcional / item
  • maxLength: 64
JSON Schema completo
{
  "type": "object",
  "properties": {
    "workspace_id": {
      "$ref": "#/$defs/s1"
    },
    "mutation_id": {
      "$ref": "#/$defs/s1"
    },
    "brief_id": {
      "$ref": "#/$defs/s1"
    },
    "brief_revision": {
      "$ref": "#/$defs/s0"
    },
    "variant_id": {
      "$ref": "#/$defs/s1"
    },
    "variant_revision": {
      "$ref": "#/$defs/s0"
    },
    "content": {
      "type": "object",
      "properties": {
        "schemaVersion": {
          "type": "number",
          "enum": [
            1
          ]
        },
        "accountIds": {
          "maxItems": 50,
          "type": "array",
          "items": {
            "$ref": "#/$defs/s1"
          }
        },
        "caption": {
          "type": "string",
          "maxLength": 5000
        },
        "hashtags": {
          "type": "string",
          "maxLength": 5000
        },
        "assetIds": {
          "maxItems": 20,
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 16,
            "pattern": "^[1-9][0-9]*$"
          }
        },
        "threadsTextOnly": {
          "type": "boolean"
        },
        "threadsOptions": {
          "type": "object",
          "properties": {
            "post_type": {
              "type": "string",
              "enum": [
                "TEXT",
                "IMAGE",
                "VIDEO",
                "CAROUSEL",
                "REPOST"
              ]
            },
            "reply_to_id": {
              "$ref": "#/$defs/s2"
            },
            "quote_post_id": {
              "$ref": "#/$defs/s2"
            },
            "repost_target_id": {
              "$ref": "#/$defs/s2"
            },
            "reply_control": {
              "type": "string",
              "enum": [
                "everyone",
                "accounts_you_follow",
                "mentioned_only",
                "parent_post_author_only",
                "followers_only"
              ]
            },
            "enable_reply_approvals": {
              "type": "boolean"
            },
            "link_attachment": {
              "type": "string",
              "maxLength": 2048
            },
            "poll_attachment": {
              "type": "object",
              "properties": {
                "option_a": {
                  "$ref": "#/$defs/s4"
                },
                "option_b": {
                  "$ref": "#/$defs/s4"
                },
                "option_c": {
                  "$ref": "#/$defs/s4"
                },
                "option_d": {
                  "$ref": "#/$defs/s4"
                }
              },
              "required": [
                "option_a",
                "option_b"
              ],
              "additionalProperties": false
            },
            "gif_attachment": {
              "type": "object",
              "properties": {
                "gif_id": {
                  "$ref": "#/$defs/s2"
                },
                "provider": {
                  "type": "string",
                  "enum": [
                    "GIPHY"
                  ]
                }
              },
              "required": [
                "gif_id",
                "provider"
              ],
              "additionalProperties": false
            },
            "text_attachment": {
              "type": "object",
              "properties": {
                "plaintext": {
                  "type": "string",
                  "maxLength": 10000
                },
                "link_attachment_url": {
                  "type": "string",
                  "maxLength": 2048
                },
                "text_with_styling_info": {
                  "maxItems": 100,
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "offset": {
                        "$ref": "#/$defs/s3"
                      },
                      "length": {
                        "$ref": "#/$defs/s0"
                      },
                      "styling_info": {
                        "minItems": 1,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "bold",
                            "italic",
                            "highlight",
                            "underline",
                            "strikethrough"
                          ]
                        }
                      }
                    },
                    "required": [
                      "offset",
                      "length",
                      "styling_info"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "plaintext"
              ],
              "additionalProperties": false
            },
            "topic_tag": {
              "type": "string",
              "maxLength": 50
            },
            "text_entities": {
              "maxItems": 10,
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "entity_type": {
                    "type": "string",
                    "enum": [
                      "SPOILER",
                      "spoiler"
                    ]
                  },
                  "offset": {
                    "$ref": "#/$defs/s3"
                  },
                  "length": {
                    "$ref": "#/$defs/s0"
                  }
                },
                "required": [
                  "entity_type",
                  "offset",
                  "length"
                ],
                "additionalProperties": false
              }
            },
            "is_spoiler_media": {
              "type": "boolean"
            },
            "is_ghost_post": {
              "type": "boolean"
            },
            "location_id": {
              "$ref": "#/$defs/s2"
            },
            "allowlisted_country_codes": {
              "minItems": 1,
              "maxItems": 249,
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^[A-Z]{2}$"
              }
            },
            "crossreshare_to_ig": {
              "type": "boolean"
            },
            "crossreshare_to_ig_dark_mode": {
              "type": "boolean"
            },
            "auto_publish_text": {
              "type": "boolean"
            },
            "media_options": {
              "maxItems": 20,
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "asset_id": {
                    "$ref": "#/$defs/s0"
                  },
                  "alt_text": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 1000
                  },
                  "is_spoiler_media": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "asset_id"
                ],
                "additionalProperties": false
              }
            }
          },
          "additionalProperties": false
        },
        "instagramMode": {
          "type": "string",
          "enum": [
            "IMAGE",
            "REELS",
            "CAROUSEL",
            "STORY_IMAGE",
            "STORY_VIDEO"
          ]
        },
        "youtubeTitle": {
          "type": "string",
          "maxLength": 100
        },
        "youtubePrivacy": {
          "type": "string",
          "enum": [
            "private",
            "unlisted",
            "public"
          ]
        },
        "youtubeSynthetic": {
          "type": "boolean"
        },
        "youtubeCategoryId": {
          "type": "string",
          "maxLength": 32
        },
        "youtubeShort": {
          "type": "boolean"
        },
        "linkUrl": {
          "type": "string",
          "maxLength": 2048
        },
        "scheduledAt": {
          "type": "string",
          "maxLength": 64
        },
        "displayTimezone": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "publishNow": {
          "type": "boolean"
        },
        "destinationOverrides": {
          "type": "object",
          "additionalProperties": {
            "type": "object",
            "properties": {
              "caption": {
                "type": "string",
                "maxLength": 5000
              },
              "scheduledAt": {
                "type": "string",
                "maxLength": 64
              }
            },
            "additionalProperties": false
          }
        },
        "expiresAt": {
          "type": "string",
          "maxLength": 64
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "workspace_id",
    "mutation_id",
    "brief_id",
    "brief_revision",
    "variant_id",
    "variant_revision",
    "content"
  ],
  "additionalProperties": false,
  "$defs": {
    "s0": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "s1": {
      "type": "string",
      "format": "uuid"
    },
    "s2": {
      "type": "string",
      "maxLength": 128
    },
    "s3": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "s4": {
      "type": "string",
      "maxLength": 25
    }
  }
}

Saída estruturada

Este schema descreve structuredContent em um resultado de ferramenta bem-sucedido. A resposta MCP também inclui content e pode definir isError quando uma chamada falha. Para publicações, consulte o resultado final do post em vez de tratar uma requisição aceita ou resposta de texto como confirmação. A operação de API vinculada explica as permissões e regras de repetição.

Obrigatório significa obrigatório dentro do objeto pai e da ramificação selecionada. Um filho obrigatório não torna obrigatório um pai opcional. As regras e nomes de campos abaixo são copiados do contrato.

Saída estruturada
Campo / ramificaçãoTipo / obrigatórioRestrições
$objectObrigatório no objeto pai
  • additionalProperties: false
handoffobjectObrigatório no objeto pai
  • additionalProperties: false
handoff.idstringObrigatório no objeto pai
  • format: "uuid"
handoff.workspace_idstringObrigatório no objeto pai
  • format: "uuid"
handoff.mutation_idstringObrigatório no objeto pai
  • format: "uuid"
handoff.brief_idstringObrigatório no objeto pai
  • format: "uuid"
handoff.brief_revisionintegerObrigatório no objeto pai
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
handoff.variantobjectObrigatório no objeto pai
  • additionalProperties: false
handoff.variant.idstringObrigatório no objeto pai
  • format: "uuid"
handoff.variant.revisionintegerObrigatório no objeto pai
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
handoff.variant.localestringObrigatório no objeto pai
  • enum: ["en","zh-HK"]
handoff.draft_idstring | nullObrigatório no objeto pai—
handoff.draft_idanyOf 1stringObrigatório no objeto pai
  • format: "uuid"
handoff.draft_idanyOf 2nullObrigatório no objeto pai—
handoff.draft_revisionintegerObrigatório no objeto pai
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
handoff.created_atstringObrigatório no objeto pai
  • format: "date-time"
  • pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
handoff.evidencearrayObrigatório no objeto pai
  • maxItems: 500
handoff.evidence[]objectOpcional / item
  • additionalProperties: false
handoff.evidence[].evidence_idstringObrigatório no objeto pai
  • format: "uuid"
handoff.evidence[].revisionintegerObrigatório no objeto pai
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
handoff.locked_finding_idsarrayObrigatório no objeto pai
  • maxItems: 100
handoff.locked_finding_ids[]stringOpcional / item
  • format: "uuid"
handoff.availabilitystringObrigatório no objeto pai
  • enum: ["available","stale","unavailable"]
handoff.reasonsarrayObrigatório no objeto pai
  • maxItems: 6
handoff.reasons[]stringOpcional / item
  • enum: ["source_unavailable","source_changed","brief_changed","variant_changed","draft_changed","draft_unavailable","not_reviewed"]
handoff.methodstringObrigatório no objeto pai
  • const: "reviewed_manual_handoff/v1"
draftobject | nullObrigatório no objeto pai—
draftanyOf 1objectObrigatório no objeto pai
  • additionalProperties: false
draft.idanyOf 1stringObrigatório no objeto pai
  • format: "uuid"
draft.workspace_idanyOf 1stringObrigatório no objeto pai
  • format: "uuid"
draft.revisionanyOf 1integerObrigatório no objeto pai
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
draft.stateanyOf 1stringObrigatório no objeto pai
  • enum: ["draft","submitting","submitted"]
draft.contentanyOf 1objectObrigatório no objeto pai
  • additionalProperties: false
draft.content.schemaVersionanyOf 1numberObrigatório no objeto pai
  • const: 1
  • default: 1
draft.content.accountIdsanyOf 1arrayObrigatório no objeto pai
  • maxItems: 50
  • default: []
draft.content.accountIds[]anyOf 1stringOpcional / item
  • format: "uuid"
draft.content.captionanyOf 1stringObrigatório no objeto pai
  • maxLength: 5000
  • default: ""
draft.content.hashtagsanyOf 1stringObrigatório no objeto pai
  • maxLength: 5000
  • default: ""
draft.content.assetIdsanyOf 1arrayObrigatório no objeto pai
  • maxItems: 20
  • default: []
draft.content.assetIds[]anyOf 1stringOpcional / item
  • maxLength: 16
  • pattern: "^[1-9][0-9]*$"
draft.content.threadsTextOnlyanyOf 1booleanObrigatório no objeto pai
  • default: false
draft.content.threadsOptionsanyOf 1objectOpcional / item
  • additionalProperties: false
draft.content.threadsOptions.post_typeanyOf 1stringOpcional / item
  • enum: ["TEXT","IMAGE","VIDEO","CAROUSEL","REPOST"]
draft.content.threadsOptions.reply_to_idanyOf 1stringOpcional / item
  • maxLength: 128
draft.content.threadsOptions.quote_post_idanyOf 1stringOpcional / item
  • maxLength: 128
draft.content.threadsOptions.repost_target_idanyOf 1stringOpcional / item
  • maxLength: 128
draft.content.threadsOptions.reply_controlanyOf 1stringOpcional / item
  • enum: ["everyone","accounts_you_follow","mentioned_only","parent_post_author_only","followers_only"]
draft.content.threadsOptions.enable_reply_approvalsanyOf 1booleanOpcional / item—
draft.content.threadsOptions.link_attachmentanyOf 1stringOpcional / item
  • maxLength: 2048
draft.content.threadsOptions.poll_attachmentanyOf 1objectOpcional / item
  • additionalProperties: false
draft.content.threadsOptions.poll_attachment.option_aanyOf 1stringObrigatório no objeto pai
  • maxLength: 25
draft.content.threadsOptions.poll_attachment.option_banyOf 1stringObrigatório no objeto pai
  • maxLength: 25
draft.content.threadsOptions.poll_attachment.option_canyOf 1stringOpcional / item
  • maxLength: 25
draft.content.threadsOptions.poll_attachment.option_danyOf 1stringOpcional / item
  • maxLength: 25
draft.content.threadsOptions.gif_attachmentanyOf 1objectOpcional / item
  • additionalProperties: false
draft.content.threadsOptions.gif_attachment.gif_idanyOf 1stringObrigatório no objeto pai
  • maxLength: 128
draft.content.threadsOptions.gif_attachment.provideranyOf 1stringObrigatório no objeto pai
  • const: "GIPHY"
draft.content.threadsOptions.text_attachmentanyOf 1objectOpcional / item
  • additionalProperties: false
draft.content.threadsOptions.text_attachment.plaintextanyOf 1stringObrigatório no objeto pai
  • maxLength: 10000
draft.content.threadsOptions.text_attachment.link_attachment_urlanyOf 1stringOpcional / item
  • maxLength: 2048
draft.content.threadsOptions.text_attachment.text_with_styling_infoanyOf 1arrayOpcional / item
  • maxItems: 100
draft.content.threadsOptions.text_attachment.text_with_styling_info[]anyOf 1objectOpcional / item
  • additionalProperties: false
draft.content.threadsOptions.text_attachment.text_with_styling_info[].offsetanyOf 1integerObrigatório no objeto pai
  • minimum: 0
  • maximum: 9007199254740991
draft.content.threadsOptions.text_attachment.text_with_styling_info[].lengthanyOf 1integerObrigatório no objeto pai
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
draft.content.threadsOptions.text_attachment.text_with_styling_info[].styling_infoanyOf 1arrayObrigatório no objeto pai
  • minItems: 1
draft.content.threadsOptions.text_attachment.text_with_styling_info[].styling_info[]anyOf 1stringOpcional / item
  • enum: ["bold","italic","highlight","underline","strikethrough"]
draft.content.threadsOptions.topic_taganyOf 1stringOpcional / item
  • maxLength: 50
draft.content.threadsOptions.text_entitiesanyOf 1arrayOpcional / item
  • maxItems: 10
draft.content.threadsOptions.text_entities[]anyOf 1objectOpcional / item
  • additionalProperties: false
draft.content.threadsOptions.text_entities[].entity_typeanyOf 1stringObrigatório no objeto pai
  • enum: ["SPOILER","spoiler"]
draft.content.threadsOptions.text_entities[].offsetanyOf 1integerObrigatório no objeto pai
  • minimum: 0
  • maximum: 9007199254740991
draft.content.threadsOptions.text_entities[].lengthanyOf 1integerObrigatório no objeto pai
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
draft.content.threadsOptions.is_spoiler_mediaanyOf 1booleanOpcional / item—
draft.content.threadsOptions.is_ghost_postanyOf 1booleanOpcional / item—
draft.content.threadsOptions.location_idanyOf 1stringOpcional / item
  • maxLength: 128
draft.content.threadsOptions.allowlisted_country_codesanyOf 1arrayOpcional / item
  • minItems: 1
  • maxItems: 249
draft.content.threadsOptions.allowlisted_country_codes[]anyOf 1stringOpcional / item
  • pattern: "^[A-Z]{2}$"
draft.content.threadsOptions.crossreshare_to_iganyOf 1booleanOpcional / item—
draft.content.threadsOptions.crossreshare_to_ig_dark_modeanyOf 1booleanOpcional / item—
draft.content.threadsOptions.auto_publish_textanyOf 1booleanOpcional / item—
draft.content.threadsOptions.media_optionsanyOf 1arrayOpcional / item
  • maxItems: 20
draft.content.threadsOptions.media_options[]anyOf 1objectOpcional / item
  • additionalProperties: false
draft.content.threadsOptions.media_options[].asset_idanyOf 1integerObrigatório no objeto pai
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
draft.content.threadsOptions.media_options[].alt_textanyOf 1stringOpcional / item
  • minLength: 1
  • maxLength: 1000
draft.content.threadsOptions.media_options[].is_spoiler_mediaanyOf 1booleanOpcional / item—
draft.content.instagramModeanyOf 1stringObrigatório no objeto pai
  • enum: ["IMAGE","REELS","CAROUSEL","STORY_IMAGE","STORY_VIDEO"]
  • default: "REELS"
draft.content.youtubeTitleanyOf 1stringObrigatório no objeto pai
  • maxLength: 100
  • default: ""
draft.content.youtubePrivacyanyOf 1stringObrigatório no objeto pai
  • enum: ["private","unlisted","public"]
  • default: "private"
draft.content.youtubeSyntheticanyOf 1booleanObrigatório no objeto pai
  • default: false
draft.content.youtubeCategoryIdanyOf 1stringObrigatório no objeto pai
  • maxLength: 32
  • default: ""
draft.content.youtubeShortanyOf 1booleanObrigatório no objeto pai
  • default: false
draft.content.linkUrlanyOf 1stringObrigatório no objeto pai
  • maxLength: 2048
  • default: ""
draft.content.scheduledAtanyOf 1stringObrigatório no objeto pai
  • maxLength: 64
  • default: ""
draft.content.displayTimezoneanyOf 1stringObrigatório no objeto pai
  • minLength: 1
  • maxLength: 128
  • default: "UTC"
draft.content.publishNowanyOf 1booleanObrigatório no objeto pai
  • default: false
draft.content.destinationOverridesanyOf 1objectObrigatório no objeto pai
  • default: {}
  • additionalProperties: {"type":"object","properties":{"caption":{"type":"string","maxLength":5000},"scheduledAt":{"type":"string","maxLength":64}},"additionalProperties":false}
draft.content.destinationOverrides.*anyOf 1objectOpcional / item
  • additionalProperties: false
draft.content.destinationOverrides.*.captionanyOf 1stringOpcional / item
  • maxLength: 5000
draft.content.destinationOverrides.*.scheduledAtanyOf 1stringOpcional / item
  • maxLength: 64
draft.content.expiresAtanyOf 1stringObrigatório no objeto pai
  • maxLength: 64
  • default: ""
draft.created_byanyOf 1string | nullObrigatório no objeto pai—
draft.created_byanyOf 1 / anyOf 1stringObrigatório no objeto pai
  • format: "uuid"
draft.created_byanyOf 1 / anyOf 2nullObrigatório no objeto pai—
draft.updated_byanyOf 1string | nullObrigatório no objeto pai—
draft.updated_byanyOf 1 / anyOf 1stringObrigatório no objeto pai
  • format: "uuid"
draft.updated_byanyOf 1 / anyOf 2nullObrigatório no objeto pai—
draft.created_atanyOf 1stringObrigatório no objeto pai
  • format: "date-time"
  • pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
draft.updated_atanyOf 1stringObrigatório no objeto pai
  • format: "date-time"
  • pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
draft.submissionanyOf 1object | nullObrigatório no objeto pai—
draft.submissionanyOf 1 / anyOf 1objectObrigatório no objeto pai
  • additionalProperties: false
draft.submission.idanyOf 1 / anyOf 1stringObrigatório no objeto pai
  • format: "uuid"
draft.submission.expected_revisionanyOf 1 / anyOf 1integerObrigatório no objeto pai
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
draft.submission.started_atanyOf 1 / anyOf 1stringObrigatório no objeto pai
  • format: "date-time"
  • pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
draft.submission.receiptanyOf 1 / anyOf 1object | nullObrigatório no objeto pai—
draft.submission.receiptanyOf 1 / anyOf 1 / anyOf 1objectObrigatório no objeto pai
  • additionalProperties: false
draft.submission.receipt.batch_idanyOf 1 / anyOf 1 / anyOf 1string | nullObrigatório no objeto pai—
draft.submission.receipt.batch_idanyOf 1 / anyOf 1 / anyOf 1 / anyOf 1stringObrigatório no objeto pai
  • format: "uuid"
draft.submission.receipt.batch_idanyOf 1 / anyOf 1 / anyOf 1 / anyOf 2nullObrigatório no objeto pai—
draft.submission.receipt.successesanyOf 1 / anyOf 1 / anyOf 1arrayObrigatório no objeto pai
  • maxItems: 50
draft.submission.receipt.successes[]anyOf 1 / anyOf 1 / anyOf 1objectOpcional / item
  • additionalProperties: false
draft.submission.receipt.successes[].social_account_idanyOf 1 / anyOf 1 / anyOf 1stringObrigatório no objeto pai
  • format: "uuid"
draft.submission.receipt.successes[].post_idanyOf 1 / anyOf 1 / anyOf 1stringObrigatório no objeto pai
  • pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
draft.submission.receipt.failuresanyOf 1 / anyOf 1 / anyOf 1arrayObrigatório no objeto pai
  • maxItems: 50
draft.submission.receipt.failures[]anyOf 1 / anyOf 1 / anyOf 1objectOpcional / item
  • additionalProperties: false
draft.submission.receipt.failures[].social_account_idanyOf 1 / anyOf 1 / anyOf 1stringObrigatório no objeto pai
  • format: "uuid"
draft.submission.receipt.failures[].codeanyOf 1 / anyOf 1 / anyOf 1stringObrigatório no objeto pai
  • minLength: 1
  • maxLength: 160
draft.submission.receipt.failures[].messageanyOf 1 / anyOf 1 / anyOf 1stringObrigatório no objeto pai
  • maxLength: 2000
draft.submission.receiptanyOf 1 / anyOf 1 / anyOf 2nullObrigatório no objeto pai—
draft.submissionanyOf 1 / anyOf 2nullObrigatório no objeto pai—
draft.brand_contextanyOf 1object | nullOpcional / item—
draft.brand_contextanyOf 1 / anyOf 1objectOpcional / item
  • additionalProperties: false
draft.brand_context.workspace_idanyOf 1 / anyOf 1stringObrigatório no objeto pai
  • format: "uuid"
draft.brand_context.selectionanyOf 1 / anyOf 1objectObrigatório no objeto pai
  • additionalProperties: false
draft.brand_context.selection.profile_idanyOf 1 / anyOf 1stringObrigatório no objeto pai
  • format: "uuid"
draft.brand_context.selection.version_idanyOf 1 / anyOf 1stringObrigatório no objeto pai
  • format: "uuid"
draft.brand_context.selection.revisionanyOf 1 / anyOf 1integerObrigatório no objeto pai
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
draft.brand_context.selection.content_digestanyOf 1 / anyOf 1stringObrigatório no objeto pai
  • pattern: "^[a-f0-9]{64}$"
draft.brand_context.selection.context_digestanyOf 1 / anyOf 1stringObrigatório no objeto pai
  • pattern: "^[a-f0-9]{64}$"
draft.brand_context.availabilityanyOf 1 / anyOf 1stringObrigatório no objeto pai
  • enum: ["available","missing"]
draft.brand_context.profile_stateanyOf 1 / anyOf 1string | nullObrigatório no objeto pai—
draft.brand_context.profile_stateanyOf 1 / anyOf 1 / anyOf 1stringObrigatório no objeto pai
  • enum: ["active","archived"]
draft.brand_context.profile_stateanyOf 1 / anyOf 1 / anyOf 2nullObrigatório no objeto pai—
draft.brand_context.contentanyOf 1 / anyOf 1object | nullObrigatório no objeto pai—
draft.brand_context.contentanyOf 1 / anyOf 1 / anyOf 1objectObrigatório no objeto pai
  • additionalProperties: false
draft.brand_context.content.nameanyOf 1 / anyOf 1 / anyOf 1stringObrigatório no objeto pai
  • maxLength: 120
draft.brand_context.content.audienceanyOf 1 / anyOf 1 / anyOf 1stringObrigatório no objeto pai
  • maxLength: 2000
draft.brand_context.content.voiceanyOf 1 / anyOf 1 / anyOf 1stringObrigatório no objeto pai
  • maxLength: 2000
draft.brand_context.content.languageanyOf 1 / anyOf 1 / anyOf 1string | nullObrigatório no objeto pai—
draft.brand_context.content.languageanyOf 1 / anyOf 1 / anyOf 1 / anyOf 1stringObrigatório no objeto pai
  • minLength: 1
  • maxLength: 64
draft.brand_context.content.languageanyOf 1 / anyOf 1 / anyOf 1 / anyOf 2nullObrigatório no objeto pai—
draft.brand_context.content.preferred_termsanyOf 1 / anyOf 1 / anyOf 1arrayObrigatório no objeto pai
  • maxItems: 50
draft.brand_context.content.preferred_terms[]anyOf 1 / anyOf 1 / anyOf 1stringOpcional / item
  • minLength: 1
  • maxLength: 120
draft.brand_context.content.prohibited_termsanyOf 1 / anyOf 1 / anyOf 1arrayObrigatório no objeto pai
  • maxItems: 50
draft.brand_context.content.prohibited_terms[]anyOf 1 / anyOf 1 / anyOf 1stringOpcional / item
  • minLength: 1
  • maxLength: 120
draft.brand_context.content.locked_factsanyOf 1 / anyOf 1 / anyOf 1arrayObrigatório no objeto pai
  • maxItems: 50
draft.brand_context.content.locked_facts[]anyOf 1 / anyOf 1 / anyOf 1stringOpcional / item
  • minLength: 1
  • maxLength: 500
draft.brand_context.content.call_to_actionanyOf 1 / anyOf 1 / anyOf 1string | nullObrigatório no objeto pai—
draft.brand_context.content.call_to_actionanyOf 1 / anyOf 1 / anyOf 1 / anyOf 1stringObrigatório no objeto pai
  • maxLength: 1000
draft.brand_context.content.call_to_actionanyOf 1 / anyOf 1 / anyOf 1 / anyOf 2nullObrigatório no objeto pai—
draft.brand_context.contentanyOf 1 / anyOf 1 / anyOf 2nullObrigatório no objeto pai—
draft.brand_context.sourcesanyOf 1 / anyOf 1objectObrigatório no objeto pai
  • additionalProperties: false
draft.brand_context.sources.websiteanyOf 1 / anyOf 1stringObrigatório no objeto pai
  • enum: ["available","not_available"]
draft.brand_context.sources.logoanyOf 1 / anyOf 1stringObrigatório no objeto pai
  • enum: ["none","present","missing"]
draft.brand_context.sources.own_postsanyOf 1 / anyOf 1objectObrigatório no objeto pai
  • additionalProperties: false
draft.brand_context.sources.own_posts.selectedanyOf 1 / anyOf 1integerObrigatório no objeto pai
  • minimum: 0
  • maximum: 10
draft.brand_context.sources.own_posts.availableanyOf 1 / anyOf 1integerObrigatório no objeto pai
  • minimum: 0
  • maximum: 10
draft.brand_context.sources.own_posts.unavailableanyOf 1 / anyOf 1integerObrigatório no objeto pai
  • minimum: 0
  • maximum: 10
draft.brand_context.sources.own_posts.erasedanyOf 1 / anyOf 1integerObrigatório no objeto pai
  • minimum: 0
  • maximum: 10
draft.brand_contextanyOf 1 / anyOf 2nullOpcional / item—
draft.brand_reviewanyOf 1object | nullOpcional / item—
draft.brand_reviewanyOf 1 / anyOf 1objectOpcional / item
  • additionalProperties: false
draft.brand_review.rule_versionanyOf 1 / anyOf 1numberObrigatório no objeto pai
  • const: 1
draft.brand_review.context_digestanyOf 1 / anyOf 1stringObrigatório no objeto pai
  • pattern: "^[a-f0-9]{64}$"
draft.brand_review.content_digestanyOf 1 / anyOf 1stringObrigatório no objeto pai
  • pattern: "^[a-f0-9]{64}$"
draft.brand_review.statusanyOf 1 / anyOf 1stringObrigatório no objeto pai
  • enum: ["clear","attention","unavailable"]
draft.brand_review.issuesanyOf 1 / anyOf 1arrayObrigatório no objeto pai
  • maxItems: 5151
draft.brand_review.issues[]anyOf 1 / anyOf 1objectOpcional / item
  • additionalProperties: false
draft.brand_review.issues[].codeanyOf 1 / anyOf 1stringObrigatório no objeto pai
  • enum: ["prohibited_term","locked_fact_missing","conflicting_rule","context_unavailable"]
draft.brand_review.issues[].targetanyOf 1 / anyOf 1stringObrigatório no objeto pai
  • minLength: 1
  • maxLength: 80
draft.brand_review.issues[].rule_indexanyOf 1 / anyOf 1integer | nullObrigatório no objeto pai—
draft.brand_review.issues[].rule_indexanyOf 1 / anyOf 1 / anyOf 1integerObrigatório no objeto pai
  • minimum: 0
  • maximum: 49
draft.brand_review.issues[].rule_indexanyOf 1 / anyOf 1 / anyOf 2nullObrigatório no objeto pai—
draft.brand_review.issues[].messageanyOf 1 / anyOf 1stringObrigatório no objeto pai
  • minLength: 1
  • maxLength: 240
draft.brand_reviewanyOf 1 / anyOf 2nullOpcional / item—
draftanyOf 2nullObrigatório no objeto pai—
JSON Schema completo
{
  "type": "object",
  "properties": {
    "handoff": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "workspace_id": {
          "type": "string",
          "format": "uuid"
        },
        "mutation_id": {
          "type": "string",
          "format": "uuid"
        },
        "brief_id": {
          "type": "string",
          "format": "uuid"
        },
        "brief_revision": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        },
        "variant": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "format": "uuid"
            },
            "revision": {
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 9007199254740991
            },
            "locale": {
              "type": "string",
              "enum": [
                "en",
                "zh-HK"
              ]
            }
          },
          "required": [
            "id",
            "revision",
            "locale"
          ],
          "additionalProperties": false
        },
        "draft_id": {
          "anyOf": [
            {
              "type": "string",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ]
        },
        "draft_revision": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        },
        "created_at": {
          "type": "string",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
          "format": "date-time"
        },
        "evidence": {
          "maxItems": 500,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "evidence_id": {
                "type": "string",
                "format": "uuid"
              },
              "revision": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "evidence_id",
              "revision"
            ],
            "additionalProperties": false
          }
        },
        "locked_finding_ids": {
          "maxItems": 100,
          "type": "array",
          "items": {
            "type": "string",
            "format": "uuid"
          }
        },
        "availability": {
          "type": "string",
          "enum": [
            "available",
            "stale",
            "unavailable"
          ]
        },
        "reasons": {
          "maxItems": 6,
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "source_unavailable",
              "source_changed",
              "brief_changed",
              "variant_changed",
              "draft_changed",
              "draft_unavailable",
              "not_reviewed"
            ]
          }
        },
        "method": {
          "type": "string",
          "const": "reviewed_manual_handoff/v1"
        }
      },
      "required": [
        "id",
        "workspace_id",
        "mutation_id",
        "brief_id",
        "brief_revision",
        "variant",
        "draft_id",
        "draft_revision",
        "created_at",
        "evidence",
        "locked_finding_ids",
        "availability",
        "reasons",
        "method"
      ],
      "additionalProperties": false
    },
    "draft": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "format": "uuid"
            },
            "workspace_id": {
              "type": "string",
              "format": "uuid"
            },
            "revision": {
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 9007199254740991
            },
            "state": {
              "type": "string",
              "enum": [
                "draft",
                "submitting",
                "submitted"
              ]
            },
            "content": {
              "type": "object",
              "properties": {
                "schemaVersion": {
                  "default": 1,
                  "type": "number",
                  "const": 1
                },
                "accountIds": {
                  "default": [],
                  "maxItems": 50,
                  "type": "array",
                  "items": {
                    "type": "string",
                    "format": "uuid"
                  }
                },
                "caption": {
                  "default": "",
                  "type": "string",
                  "maxLength": 5000
                },
                "hashtags": {
                  "default": "",
                  "type": "string",
                  "maxLength": 5000
                },
                "assetIds": {
                  "default": [],
                  "maxItems": 20,
                  "type": "array",
                  "items": {
                    "type": "string",
                    "maxLength": 16,
                    "pattern": "^[1-9][0-9]*$"
                  }
                },
                "threadsTextOnly": {
                  "default": false,
                  "type": "boolean"
                },
                "threadsOptions": {
                  "type": "object",
                  "properties": {
                    "post_type": {
                      "type": "string",
                      "enum": [
                        "TEXT",
                        "IMAGE",
                        "VIDEO",
                        "CAROUSEL",
                        "REPOST"
                      ]
                    },
                    "reply_to_id": {
                      "type": "string",
                      "maxLength": 128
                    },
                    "quote_post_id": {
                      "type": "string",
                      "maxLength": 128
                    },
                    "repost_target_id": {
                      "type": "string",
                      "maxLength": 128
                    },
                    "reply_control": {
                      "type": "string",
                      "enum": [
                        "everyone",
                        "accounts_you_follow",
                        "mentioned_only",
                        "parent_post_author_only",
                        "followers_only"
                      ]
                    },
                    "enable_reply_approvals": {
                      "type": "boolean"
                    },
                    "link_attachment": {
                      "type": "string",
                      "maxLength": 2048
                    },
                    "poll_attachment": {
                      "type": "object",
                      "properties": {
                        "option_a": {
                          "type": "string",
                          "maxLength": 25
                        },
                        "option_b": {
                          "type": "string",
                          "maxLength": 25
                        },
                        "option_c": {
                          "type": "string",
                          "maxLength": 25
                        },
                        "option_d": {
                          "type": "string",
                          "maxLength": 25
                        }
                      },
                      "required": [
                        "option_a",
                        "option_b"
                      ],
                      "additionalProperties": false
                    },
                    "gif_attachment": {
                      "type": "object",
                      "properties": {
                        "gif_id": {
                          "type": "string",
                          "maxLength": 128
                        },
                        "provider": {
                          "type": "string",
                          "const": "GIPHY"
                        }
                      },
                      "required": [
                        "gif_id",
                        "provider"
                      ],
                      "additionalProperties": false
                    },
                    "text_attachment": {
                      "type": "object",
                      "properties": {
                        "plaintext": {
                          "type": "string",
                          "maxLength": 10000
                        },
                        "link_attachment_url": {
                          "type": "string",
                          "maxLength": 2048
                        },
                        "text_with_styling_info": {
                          "maxItems": 100,
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "offset": {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 9007199254740991
                              },
                              "length": {
                                "type": "integer",
                                "exclusiveMinimum": 0,
                                "maximum": 9007199254740991
                              },
                              "styling_info": {
                                "minItems": 1,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "enum": [
                                    "bold",
                                    "italic",
                                    "highlight",
                                    "underline",
                                    "strikethrough"
                                  ]
                                }
                              }
                            },
                            "required": [
                              "offset",
                              "length",
                              "styling_info"
                            ],
                            "additionalProperties": false
                          }
                        }
                      },
                      "required": [
                        "plaintext"
                      ],
                      "additionalProperties": false
                    },
                    "topic_tag": {
                      "type": "string",
                      "maxLength": 50
                    },
                    "text_entities": {
                      "maxItems": 10,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "entity_type": {
                            "type": "string",
                            "enum": [
                              "SPOILER",
                              "spoiler"
                            ]
                          },
                          "offset": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "length": {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          }
                        },
                        "required": [
                          "entity_type",
                          "offset",
                          "length"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "is_spoiler_media": {
                      "type": "boolean"
                    },
                    "is_ghost_post": {
                      "type": "boolean"
                    },
                    "location_id": {
                      "type": "string",
                      "maxLength": 128
                    },
                    "allowlisted_country_codes": {
                      "minItems": 1,
                      "maxItems": 249,
                      "type": "array",
                      "items": {
                        "type": "string",
                        "pattern": "^[A-Z]{2}$"
                      }
                    },
                    "crossreshare_to_ig": {
                      "type": "boolean"
                    },
                    "crossreshare_to_ig_dark_mode": {
                      "type": "boolean"
                    },
                    "auto_publish_text": {
                      "type": "boolean"
                    },
                    "media_options": {
                      "maxItems": 20,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "asset_id": {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          "alt_text": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 1000
                          },
                          "is_spoiler_media": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "asset_id"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "additionalProperties": false
                },
                "instagramMode": {
                  "default": "REELS",
                  "type": "string",
                  "enum": [
                    "IMAGE",
                    "REELS",
                    "CAROUSEL",
                    "STORY_IMAGE",
                    "STORY_VIDEO"
                  ]
                },
                "youtubeTitle": {
                  "default": "",
                  "type": "string",
                  "maxLength": 100
                },
                "youtubePrivacy": {
                  "default": "private",
                  "type": "string",
                  "enum": [
                    "private",
                    "unlisted",
                    "public"
                  ]
                },
                "youtubeSynthetic": {
                  "default": false,
                  "type": "boolean"
                },
                "youtubeCategoryId": {
                  "default": "",
                  "type": "string",
                  "maxLength": 32
                },
                "youtubeShort": {
                  "default": false,
                  "type": "boolean"
                },
                "linkUrl": {
                  "default": "",
                  "type": "string",
                  "maxLength": 2048
                },
                "scheduledAt": {
                  "default": "",
                  "type": "string",
                  "maxLength": 64
                },
                "displayTimezone": {
                  "default": "UTC",
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 128
                },
                "publishNow": {
                  "default": false,
                  "type": "boolean"
                },
                "destinationOverrides": {
                  "default": {},
                  "type": "object",
                  "propertyNames": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "additionalProperties": {
                    "type": "object",
                    "properties": {
                      "caption": {
                        "type": "string",
                        "maxLength": 5000
                      },
                      "scheduledAt": {
                        "type": "string",
                        "maxLength": 64
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "expiresAt": {
                  "default": "",
                  "type": "string",
                  "maxLength": 64
                }
              },
              "required": [
                "schemaVersion",
                "accountIds",
                "caption",
                "hashtags",
                "assetIds",
                "threadsTextOnly",
                "instagramMode",
                "youtubeTitle",
                "youtubePrivacy",
                "youtubeSynthetic",
                "youtubeCategoryId",
                "youtubeShort",
                "linkUrl",
                "scheduledAt",
                "displayTimezone",
                "publishNow",
                "destinationOverrides",
                "expiresAt"
              ],
              "additionalProperties": false
            },
            "created_by": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "uuid"
                },
                {
                  "type": "null"
                }
              ]
            },
            "updated_by": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "uuid"
                },
                {
                  "type": "null"
                }
              ]
            },
            "created_at": {
              "type": "string",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
              "format": "date-time"
            },
            "updated_at": {
              "type": "string",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
              "format": "date-time"
            },
            "submission": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "expected_revision": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    "started_at": {
                      "type": "string",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                      "format": "date-time"
                    },
                    "receipt": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "batch_id": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "format": "uuid"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "successes": {
                              "maxItems": 50,
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "social_account_id": {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  "post_id": {
                                    "type": "string",
                                    "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
                                  }
                                },
                                "required": [
                                  "social_account_id",
                                  "post_id"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "failures": {
                              "maxItems": 50,
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "social_account_id": {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  "code": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 160
                                  },
                                  "message": {
                                    "type": "string",
                                    "maxLength": 2000
                                  }
                                },
                                "required": [
                                  "social_account_id",
                                  "code",
                                  "message"
                                ],
                                "additionalProperties": false
                              }
                            }
                          },
                          "required": [
                            "batch_id",
                            "successes",
                            "failures"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "expected_revision",
                    "started_at",
                    "receipt"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "null"
                }
              ]
            },
            "brand_context": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "workspace_id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "selection": {
                      "type": "object",
                      "properties": {
                        "profile_id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "version_id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "revision": {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991
                        },
                        "content_digest": {
                          "type": "string",
                          "pattern": "^[a-f0-9]{64}$"
                        },
                        "context_digest": {
                          "type": "string",
                          "pattern": "^[a-f0-9]{64}$"
                        }
                      },
                      "required": [
                        "profile_id",
                        "version_id",
                        "revision",
                        "content_digest",
                        "context_digest"
                      ],
                      "additionalProperties": false
                    },
                    "availability": {
                      "type": "string",
                      "enum": [
                        "available",
                        "missing"
                      ]
                    },
                    "profile_state": {
                      "anyOf": [
                        {
                          "type": "string",
                          "enum": [
                            "active",
                            "archived"
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "content": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string",
                              "maxLength": 120
                            },
                            "audience": {
                              "type": "string",
                              "maxLength": 2000
                            },
                            "voice": {
                              "type": "string",
                              "maxLength": 2000
                            },
                            "language": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 64
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "preferred_terms": {
                              "maxItems": 50,
                              "type": "array",
                              "items": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 120
                              }
                            },
                            "prohibited_terms": {
                              "maxItems": 50,
                              "type": "array",
                              "items": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 120
                              }
                            },
                            "locked_facts": {
                              "maxItems": 50,
                              "type": "array",
                              "items": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 500
                              }
                            },
                            "call_to_action": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "maxLength": 1000
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "audience",
                            "voice",
                            "language",
                            "preferred_terms",
                            "prohibited_terms",
                            "locked_facts",
                            "call_to_action"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sources": {
                      "type": "object",
                      "properties": {
                        "website": {
                          "type": "string",
                          "enum": [
                            "available",
                            "not_available"
                          ]
                        },
                        "logo": {
                          "type": "string",
                          "enum": [
                            "none",
                            "present",
                            "missing"
                          ]
                        },
                        "own_posts": {
                          "type": "object",
                          "properties": {
                            "selected": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 10
                            },
                            "available": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 10
                            },
                            "unavailable": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 10
                            },
                            "erased": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 10
                            }
                          },
                          "required": [
                            "selected",
                            "available",
                            "unavailable",
                            "erased"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "website",
                        "logo",
                        "own_posts"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "workspace_id",
                    "selection",
                    "availability",
                    "profile_state",
                    "content",
                    "sources"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "null"
                }
              ]
            },
            "brand_review": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "rule_version": {
                      "type": "number",
                      "const": 1
                    },
                    "context_digest": {
                      "type": "string",
                      "pattern": "^[a-f0-9]{64}$"
                    },
                    "content_digest": {
                      "type": "string",
                      "pattern": "^[a-f0-9]{64}$"
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "clear",
                        "attention",
                        "unavailable"
                      ]
                    },
                    "issues": {
                      "maxItems": 5151,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string",
                            "enum": [
                              "prohibited_term",
                              "locked_fact_missing",
                              "conflicting_rule",
                              "context_unavailable"
                            ]
                          },
                          "target": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 80
                          },
                          "rule_index": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 49
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "message": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 240
                          }
                        },
                        "required": [
                          "code",
                          "target",
                          "rule_index",
                          "message"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "rule_version",
                    "context_digest",
                    "content_digest",
                    "status",
                    "issues"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "id",
            "workspace_id",
            "revision",
            "state",
            "content",
            "created_by",
            "updated_by",
            "created_at",
            "updated_at",
            "submission"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "handoff",
    "draft"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

Exemplo de chamada de ferramenta

Estes exemplos usam valores fictícios verificados conforme os schemas. Substitua os IDs por aqueles que você tem autorização para usar, a mídia por ativos prontos e as datas pelo horário de publicação confirmado. Confira a elegibilidade da conta antes de enviar uma gravação. Esta página não envia requisições de API.

{
  "name": "sosoapi_research_briefs_handoff",
  "arguments": {
    "workspace_id": "11111111-1111-4111-8111-111111111111",
    "mutation_id": "11111111-1111-4111-8111-111111111111",
    "brief_id": "11111111-1111-4111-8111-111111111111",
    "brief_revision": 1,
    "variant_id": "11111111-1111-4111-8111-111111111111",
    "variant_revision": 1,
    "content": {}
  }
}

structuredContent

{
  "handoff": {
    "id": "11111111-1111-4111-8111-111111111111",
    "workspace_id": "11111111-1111-4111-8111-111111111111",
    "mutation_id": "11111111-1111-4111-8111-111111111111",
    "brief_id": "11111111-1111-4111-8111-111111111111",
    "brief_revision": 1,
    "variant": {
      "id": "11111111-1111-4111-8111-111111111111",
      "revision": 1,
      "locale": "en"
    },
    "draft_id": null,
    "draft_revision": 1,
    "created_at": "2099-01-15T09:00:00Z",
    "evidence": [],
    "locked_finding_ids": [],
    "availability": "available",
    "reasons": [],
    "method": "reviewed_manual_handoff/v1"
  },
  "draft": null
}
Instale ou conecte MCP