Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

1.4 KB
Raw Blame
{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "properties": {
        "acknowledged_affected_count": {
            "description": "The affected-user count from workflows-blast-radius that you showed the user AND they explicitly confirmed before you called this — never size and fire in one step. Rejected if it no longer matches the current audience, forcing a re-check.",
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "type": "integer"
        },
        "confirm_token": {
            "description": "The confirm_token from the same workflows-blast-radius preview whose count the user confirmed. The API rejects dispatch without it, and it goes stale when the audience filters change or after 15 minutes — re-preview to refresh.",
            "type": "string"
        },
        "variables": {
            "additionalProperties": {},
            "description": "Optional {key: value} variable overrides for this run; defaults to the workflow definition.",
            "propertyNames": {
                "type": "string"
            },
            "type": "object"
        },
        "workflow_id": {
            "description": "ID of the batch workflow to run now.",
            "type": "string"
        }
    },
    "required": ["workflow_id", "acknowledged_affected_count", "confirm_token"],
    "type": "object"
}