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.3 KB
Raw Blame
{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "properties": {
        "copy_dependencies": {
            "default": false,
            "description": "Whether to also copy missing feature flags that this flag depends on",
            "type": "boolean"
        },
        "copy_schedule": {
            "default": false,
            "description": "Whether to also copy scheduled changes for this flag",
            "type": "boolean"
        },
        "disable_copied_flag": {
            "default": false,
            "description": "Whether to force the copied flag to be disabled in target projects, ignoring the source flag's enabled status",
            "type": "boolean"
        },
        "feature_flag_key": {
            "description": "Key of the feature flag to copy",
            "type": "string"
        },
        "from_project": {
            "description": "Source project ID to copy the flag from",
            "type": "number"
        },
        "target_project_ids": {
            "description": "List of target project IDs to copy the flag to",
            "items": {
                "type": "number"
            },
            "maxItems": 50,
            "minItems": 1,
            "type": "array"
        }
    },
    "required": ["feature_flag_key", "from_project", "target_project_ids"],
    "type": "object"
}