Body for ``POST /broadcast``. Typing the body with a model lets FastAPI reject non-object or malformed JSON with a ``422`` instead of letting ``dict.get`` (or a ``JSONDecodeError``) raise an unhandled exception. ``message`` defaults to an empty string so a missing field still funnels into the existing ``400 message is required`` path.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/bernstein-run/json-schema/bernstein-run-broadcast-request-schema.json",
"title": "BroadcastRequest",
"description": "Body for ``POST /broadcast``.\n\nTyping the body with a model lets FastAPI reject non-object or\nmalformed JSON with a ``422`` instead of letting ``dict.get`` (or a\n``JSONDecodeError``) raise an unhandled exception. ``message``\ndefaults to an empty string so a missing field still funnels into\nthe existing ``400 message is required`` path.",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/bernstein-run-broadcast-api-openapi.yml#/components/schemas/BroadcastRequest",
"properties": {
"message": {
"type": "string",
"title": "Message",
"default": ""
}
},
"type": "object"
}
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.