SetLuca · Schema

BroadcastDetail

DM salesMessaging automationInstagramMessengerTelegram

Properties

Name Type Description
id string
campaignId string
campaignVersionId stringnull
name string
status string
personalizationMode string
totalRecipients integer
canarySize integer
batchSize integer
sentCount integer
failedCount integer
skippedCount integer
previewVersion stringnull
createdAt string
updatedAt string
segment object
segmentSnapshot object
safetyReport object
sampleMessages array
approvedAt stringnull
launchedAt stringnull
pausedAt stringnull
cancelledAt stringnull
completedAt stringnull
recipients array
recipientsTruncated boolean
billingPaused boolean
retryBlockedReason stringnull
recipientCounts object
canaryRecipientCounts object
outcomes object
View JSON Schema on GitHub

JSON Schema

setluca-com-broadcast-detail-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/setluca-com/json-schema/setluca-com-broadcast-detail-schema.json",
  "title": "BroadcastDetail",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/setluca-com-openapi-openapi.json#/components/schemas/BroadcastDetail",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "campaignId": {
      "type": "string",
      "format": "uuid"
    },
    "campaignVersionId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "name": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "draft",
        "previewed",
        "approved",
        "running",
        "paused",
        "cancelled",
        "completed",
        "failed"
      ]
    },
    "personalizationMode": {
      "type": "string",
      "enum": [
        "same_message",
        "personalized_light",
        "personalized_ai"
      ]
    },
    "totalRecipients": {
      "type": "integer"
    },
    "canarySize": {
      "type": "integer"
    },
    "batchSize": {
      "type": "integer"
    },
    "sentCount": {
      "type": "integer"
    },
    "failedCount": {
      "type": "integer"
    },
    "skippedCount": {
      "type": "integer"
    },
    "previewVersion": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdAt": {
      "type": "string"
    },
    "updatedAt": {
      "type": "string"
    },
    "segment": {
      "type": "object",
      "properties": {
        "mode": {
          "type": "string",
          "enum": [
            "all",
            "any"
          ],
          "default": "all"
        },
        "rules": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "field": {
                "type": "string",
                "enum": [
                  "channel",
                  "tags",
                  "stage",
                  "score",
                  "sourceCampaignId",
                  "sourceTrigger",
                  "lastMessageAt",
                  "lastReplyAt",
                  "bookingStatus",
                  "crmField",
                  "consent",
                  "timezone",
                  "localTime",
                  "blacklisted"
                ]
              },
              "operator": {
                "type": "string",
                "enum": [
                  "equals",
                  "not_equals",
                  "contains",
                  "not_contains",
                  "in",
                  "not_in",
                  "greater_than",
                  "less_than",
                  "before",
                  "after",
                  "exists",
                  "missing"
                ]
              },
              "value": {},
              "path": {
                "type": "string",
                "minLength": 1
              }
            },
            "required": [
              "field",
              "operator"
            ]
          }
        },
        "groups": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "mode": {
                "type": "string",
                "enum": [
                  "all",
                  "any"
                ],
                "default": "all"
              },
              "rules": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "field": {
                      "type": "string",
                      "enum": [
                        "channel",
                        "tags",
                        "stage",
                        "score",
                        "sourceCampaignId",
                        "sourceTrigger",
                        "lastMessageAt",
                        "lastReplyAt",
                        "bookingStatus",
                        "crmField",
                        "consent",
                        "timezone",
                        "localTime",
                        "blacklisted"
                      ]
                    },
                    "operator": {
                      "type": "string",
                      "enum": [
                        "equals",
                        "not_equals",
                        "contains",
                        "not_contains",
                        "in",
                        "not_in",
                        "greater_than",
                        "less_than",
                        "before",
                        "after",
                        "exists",
                        "missing"
                      ]
                    },
                    "value": {},
                    "path": {
                      "type": "string",
                      "minLength": 1
                    }
                  },
                  "required": [
                    "field",
                    "operator"
                  ]
                },
                "default": []
              }
            }
          }
        },
        "channel": {
          "type": "string",
          "minLength": 1
        },
        "channels": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          }
        },
        "stage": {
          "type": "string",
          "minLength": 1
        },
        "stages": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          }
        },
        "tagsAny": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          }
        },
        "tagsAll": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          }
        },
        "minScore": {
          "type": "integer"
        },
        "maxScore": {
          "type": "integer"
        },
        "includeLeadIds": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "uuid"
          }
        },
        "excludeLeadIds": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "uuid"
          }
        },
        "limit": {
          "type": "integer",
          "minimum": 1,
          "maximum": 5000
        }
      }
    },
    "segmentSnapshot": {
      "type": "object",
      "properties": {
        "leadIds": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "uuid"
          },
          "default": []
        },
        "leads": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "leadId": {
                "type": "string",
                "format": "uuid"
              },
              "channel": {
                "type": "string"
              },
              "channelAccountId": {
                "type": "string",
                "format": "uuid"
              },
              "externalUserId": {
                "type": "string"
              },
              "displayName": {
                "type": [
                  "string",
                  "null"
                ],
                "x-luca-sensitive": "null"
              },
              "stage": {
                "type": "string"
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "score": {
                "type": "integer"
              },
              "customFields": {
                "type": "object",
                "additionalProperties": {},
                "x-luca-sensitive": "empty"
              },
              "lastSeenAt": {
                "type": "string"
              },
              "messageBody": {
                "type": "string",
                "minLength": 1,
                "x-luca-sensitive": "blank"
              },
              "templatePart": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "template"
                    ]
                  },
                  "templateId": {
                    "type": "string",
                    "minLength": 1
                  },
                  "name": {
                    "type": "string",
                    "minLength": 1
                  },
                  "language": {
                    "type": "string",
                    "minLength": 1
                  },
                  "versionHash": {
                    "type": "string",
                    "pattern": "^sha256:[a-f0-9]{64}$"
                  },
                  "parameters": {
                    "type": "array",
                    "items": {
                      "oneOf": [
                        {
                          "type": "object",
                          "properties": {
                            "key": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 200
                            },
                            "component": {
                              "type": "string",
                              "enum": [
                                "header",
                                "body",
                                "button"
                              ]
                            },
                            "index": {
                              "type": "integer",
                              "minimum": 0
                            },
                            "parameterName": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 200
                            },
                            "buttonIndex": {
                              "type": "integer",
                              "minimum": 0
                            },
                            "kind": {
                              "type": "string",
                              "enum": [
                                "text"
                              ]
                            },
                            "value": {
                              "type": "string",
                              "maxLength": 4096
                            }
                          },
                          "required": [
                            "key",
                            "component",
                            "index",
                            "kind",
                            "value"
                          ]
                        },
                        {
                          "type": "object",
                          "properties": {
                            "key": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 200
                            },
                            "component": {
                              "type": "string",
                              "enum": [
                                "header"
                              ]
                            },
                            "index": {
                              "type": "integer",
                              "minimum": 0
                            },
                            "parameterName": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 200
                            },
                            "buttonIndex": {
                              "type": "integer",
                              "minimum": 0
                            },
                            "kind": {
                              "type": "string",
                              "enum": [
                                "image",
                                "video",
                                "document"
                              ]
                            },
                            "uploadId": {
                              "type": "string",
                              "format": "uuid"
                            },
                            "fileName": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 255
                            }
                          },
                          "required": [
                            "key",
                            "component",
                            "index",
                            "kind",
                            "uploadId"
                          ]
                        }
                      ]
                    },
                    "maxItems": 100
                  },
                  "renderedPreview": {
                    "type": "string",
                    "maxLength": 16000
                  },
                  "providerMetadata": {
                    "type": "object",
                    "additionalProperties": {}
                  }
                },
                "required": [
                  "id",
                  "type",
                  "templateId",
                  "name",
                  "language",
                  "versionHash",
                  "parameters",
                  "renderedPreview"
                ],
                "x-luca-sensitive": "null"
              },
              "templateMapping": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "templateId": {
                    "type": "string",
                    "minLength": 1
                  },
                  "templateBindings": {
                    "type": "array",
                    "items": {
                      "oneOf": [
                        {
                          "type": "object",
                          "properties": {
                            "key": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 200
                            },
                            "kind": {
                              "type": "string",
                              "enum": [
                                "text"
                              ]
                            },
                            "source": {
                              "type": "string",
                              "enum": [
                                "literal"
                              ]
                            },
                            "value": {
                              "type": "string",
                              "maxLength": 4096
                            }
                          },
                          "required": [
                            "key",
                            "kind",
                            "source",
                            "value"
                          ]
                        },
                        {
                          "type": "object",
                          "properties": {
                            "key": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 200
                            },
                            "kind": {
                              "type": "string",
                              "enum": [
                                "text"
                              ]
                            },
                            "source": {
                              "type": "string",
                              "enum": [
                                "lead.name",
                                "lead.email",
                                "coach.name",
                                "booking.start_at",
                                "booking.meeting_url",
                                "booking.timezone",
                                "booking.action_result",
                                "campaign.name",
                                "broadcast.name"
                              ]
                            }
                          },
                          "required": [
                            "key",
                            "kind",
                            "source"
                          ]
                        },
                        {
                          "type": "object",
                          "properties": {
                            "key": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 200
                            },
                            "kind": {
                              "type": "string",
                              "enum": [
                                "image",
                                "video",
                                "document"
                              ]
                            },
                            "source": {
                              "type": "string",
                              "enum": [
                                "upload"
                              ]
                            },
                            "uploadId": {
                              "type": "string",
                              "format": "uuid"
                            },
                            "fileName": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 255
                            }
                          },
                          "required": [
                            "key",
                            "kind",
                            "source",
                            "uploadId"
                          ]
                        }
                      ]
                    },
                    "default": []
                  }
                },
                "required": [
                  "templateId"
                ],
                "x-luca-sensitive": "null"
              },
              "messageBlocker": {
                "type": "string"
              },
              "consent": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "basis": {
                        "type": "string",
                        "enum": [
                          "explicit_marketing"
                        ]
                      },
                      "consentId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "evidenceId": {
                        "type": "string",
                        "minLength": 1
                      },
                      "grantedAt": {
                        "type": "string"
                      },
                      "checkedAt": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "basis",
                      "consentId",
                      "evidenceId",
                      "grantedAt",
                      "checkedAt"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "basis": {
                        "type": "string",
                        "enum": [
                          "prior_inbound"
                        ]
                      },
                      "conversationId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "channelAccountId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "lastInboundAt": {
                        "type": "string"
                      },
                      "checkedAt": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "basis",
                      "conversationId",
                      "channelAccountId",
                      "lastInboundAt",
                      "checkedAt"
                    ]
                  }
                ]
              }
            },
            "required": [
              "leadId",
              "channel",
              "externalUserId",
              "displayName",
              "stage",
              "tags",
              "score",
              "customFields",
              "lastSeenAt"
            ]
          },
          "default": []
        },
        "excludedCount": {
          "type": "integer",
          "default": 0
        },
        "exclusionReasonCounts": {
          "type": "object",
          "additionalProperties": {
            "type": "integer"
          },
          "default": {}
        },
        "excludedRecipients": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "leadId": {
                "type": "string",
                "format": "uuid"
              },
              "displayName": {
                "type": [
                  "string",
                  "null"
                ],
                "x-luca-sensitive": "null"
              },
              "channel": {
                "type": "string"
              },
              "reason": {
                "type": "string"
              }
            },
            "required": [
              "leadId",
              "displayName",
              "channel",
              "reason"
            ]
          },
          "default": []
        },
        "providerLimits": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "channel": {
                "type": "string"
              },
              "provider": {
                "type": "string"
              },
              "estimatedRecipients": {
                "type": "integer"
              },
              "limitPerBatch": {
                "type": "integer"
              },
              "risk": {
                "type": "string",
                "enum": [
                  "low",
                  "medium",
                  "high"
                ]
              }
            },
            "required": [
              "channel",
              "provider",
              "estimatedRecipients",
              "limitPerBatch",
              "risk"
            ]
          },
          "default": []
        },
        "totalMatched": {
          "type": "integer",
          "default": 0
        },
        "accountSelectionRequired": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "uuid"
          },
          "default": []
        },
        "canaryBypassAllowed": {
          "type": "boolean",
          "default": false
        },
        "canaryBypassReason": {
          "type": "string"
        },
        "generatedAt": {
          "type": "string"
        }
      }
    },
    "safetyReport": {
      "type": "object",
      "properties": {
        "ok": {
          "type": "boolean"
        },
        "warnings": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "blockers": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "default": []
        },
        "findings": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "action": {
                "type": "string",
                "enum": [
                  "review",
                  "block"
                ]
              },
              "message": {
                "type": "string"
              },
              "source": {
                "type": "string"
              },
              "path": {
                "type": "string"
              },
              "nodeId": {
                "type": "string"
              },
              "confidence": {
                "type": "number"
              },
              "evidence": {
                "type": "string",
                "x-luca-sensitive": "blank"
              }
            },
            "required": [
              "code",
              "action",
              "message",
              "source"
            ]
          },
          "default": []
        },
        "thresholds": {
          "type": "object",
          "properties": {
            "failureRate": {
              "type": "number"
            },
            "minimumAttempts": {
              "type": "integer"
            },
            "canaryFailureRate": {
              "type": "number"
            },
            "canaryRequiredAboveRecipients": {
              "type": "integer"
            }
          },
          "required": [
            "failureRate",
            "minimumAttempts",
            "canaryFailureRate",
            "canaryRequiredAboveRecipients"
          ]
        },
        "canaryRequired": {
          "type": "boolean",
          "default": false
        },
        "canaryBypassAllowed": {
          "type": "boolean",
          "default": false
        },
        "checkedAt": {
          "type": "string"
        }
      }
    },
    "sampleMessages": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "leadId": {
            "type": "string",
            "format": "uuid"
          },
          "channel": {
            "type": "string"
          },
          "body": {
            "type": "string",
            "x-luca-sensitive": "blank"
          }
        },
        "required": [
          "leadId",
          "channel",
          "body"
        ]
      }
    },
    "approvedAt": {
      "type": [
        "string",
        "null"
      ]
    },
    "launchedAt": {
      "type": [
        "string",
        "null"
      ]
    },
    "pausedAt": {
      "type": [
        "string",
        "null"
      ]
    },
    "cancelledAt": {
      "type": [
        "string",
        "null"
      ]
    },
    "completedAt": {
      "type": [
        "string",
        "null"
      ]
    },
    "recipients": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "leadId": {
            "type": "string",
            "format": "uuid"
          },
          "status": {
            "type": "string",
            "enum": [
              "pending",
              "processing",
              "enrolled",
              "sent",
              "skipped",
              "failed",
              "cancelled"
            ]
          },
          "canary": {
            "type": "boolean"
          },
          "messageBody": {
            "type": [
              "string",
              "null"
            ],
            "x-luca-sensitive": "null"
          },
          "failureReason": {
            "type": [
              "string",
              "null"
            ]
          },
          "providerMessageId": {
            "type": [
              "string",
              "null"
            ]
          },
          "providerAcceptedAt": {
            "type": [
              "string",
              "null"
            ]
          },
          "sentAt": {
            "type": [
              "string",
              "null"
            ]
          },
          "createdAt": {
            "type": "string"
          },
          "updatedAt": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "leadId",
          "status",
          "canary",
          "messageBody",
          "failureReason",
          "providerMessageId",
          "providerAcceptedAt",
          "sentAt",
          "createdAt",
          "updatedAt"
        ]
      },
      "default": []
    },
    "recipientsTruncated": {
      "type": "boolean",
      "default": false
    },
    "billingPaused": {
      "type": "boolean",
      "default": false
    },
    "retryBlockedReason": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "provider_acceptance_unknown"
      ],
      "default": null
    },
    "recipientCounts": {
      "type": "object",
      "properties": {
        "cancelled": {
          "type": "integer",
          "minimum": 0,
          "default": 0
        },
        "enrolled": {
          "type": "integer",
          "minimum": 0,
          "default": 0
        },
        "failed": {
          "type": "integer",
          "minimum": 0,
          "default": 0
        },
        "pending": {
          "type": "integer",
          "minimum": 0,
          "default": 0
        },
        "processing": {
          "type": "integer",
          "minimum": 0,
          "default": 0
        },
        "sent": {
          "type": "integer",
          "minimum": 0,
          "default": 0
        },
        "skipped": {
          "type": "integer",
          "minimum": 0,
          "default": 0
        }
      },
      "default": {
        "cancelled": 0,
        "enrolled": 0,
        "failed": 0,
        "pending": 0,
        "processing": 0,
        "sent": 0,
        "skipped": 0
      }
    },
    "canaryRecipientCounts": {
      "type": "object",
      "properties": {
        "cancelled": {
          "type": "integer",
          "minimum": 0,
          "default": 0
        },
        "enrolled": {
          "type": "integer",
          "minimum": 0,
          "default": 0
        },
        "failed": {
          "type": "integer",
          "minimum": 0,
          "default": 0
        },
        "pending": {
          "type": "integer",
          "minimum": 0,
          "default": 0
        },
        "processing": {
          "type": "integer",
          "minimum": 0,
          "default": 0
        },
        "sent": {
          "type": "integer",
          "minimum": 0,
          "default": 0
        },
        "skipped": {
          "type": "integer",
          "minimum": 0,
          "default": 0
        }
      },
      "default": {
        "cancelled": 0,
        "enrolled": 0,
        "failed": 0,
        "pending": 0,
        "processing": 0,
        "sent": 0,
        "skipped": 0
      }
    },
    "outcomes": {
      "type": "object",
      "properties": {
        "replied": {
          "type": "integer",
          "minimum": 0
        },
        "callsBooked": {
          "type": "integer",
          "minimum": 0
        },
        "windowDays": {
          "type": "integer",
          "exclusiveMinimum": 0
        }
      },
      "required": [
        "replied",
        "callsBooked",
        "windowDays"
      ]
    }
  },
  "required": [
    "id",
    "campaignId",
    "campaignVersionId",
    "name",
    "status",
    "personalizationMode",
    "totalRecipients",
    "canarySize",
    "batchSize",
    "sentCount",
    "failedCount",
    "skippedCount",
    "previewVersion",
    "createdAt",
    "updatedAt",
    "segment",
    "segmentSnapshot",
    "safetyReport",
    "sampleMessages",
    "approvedAt",
    "launchedAt",
    "pausedAt",
    "cancelledAt",
    "completedAt"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/setluca-com-broadcast-detail"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.