{ "name": "UpdateFeatureFlags", "fully_qualified_name": "PosthogApi.UpdateFeatureFlags@0.1.0", "description": "Update feature flags for a specific project.\n\nUse this tool to update existing feature flags within a specified project in Datadog. This is useful for modifying feature settings without requiring a full create or delete operation.", "toolkit": { "name": "ArcadePosthogApi", "description": null, "version": "0.1.0" }, "input": { "parameters": [ { "name": "feature_flag_id", "required": true, "description": "A unique integer value identifying the specific feature flag to be updated.", "value_schema": { "val_type": "integer", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "A unique integer value identifying this feature flag." }, "inferrable": true, "http_endpoint_parameter_name": "id" }, { "name": "project_identifier", "required": true, "description": "The unique identifier for the project to access. Obtainable via a call to /api/projects/.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/." }, "inferrable": true, "http_endpoint_parameter_name": "project_id" }, { "name": "feature_flag_update_payload", "required": false, "description": "JSON object containing details for updating a feature flag, including id, name, key, status, rollout_percentage, etc.", "value_schema": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": { "id": { "val_type": "integer", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "name": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "contains the description for the flag (field name `name` is kept for backwards-compatibility)" }, "key": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "filters": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "deleted": { "val_type": "boolean", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "active": { "val_type": "boolean", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "created_by": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "created_at": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "updated_at": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "version": { "val_type": "integer", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "last_modified_by": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "is_simple_flag": { "val_type": "boolean", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "rollout_percentage": { "val_type": "integer", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "ensure_experience_continuity": { "val_type": "boolean", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "experiment_set": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "surveys": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "features": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "rollback_conditions": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "performed_rollback": { "val_type": "boolean", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "can_edit": { "val_type": "boolean", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "tags": { "val_type": "array", "inner_val_type": "string", "enum": null, "properties": null, "inner_properties": null, "description": null }, "evaluation_tags": { "val_type": "array", "inner_val_type": "string", "enum": null, "properties": null, "inner_properties": null, "description": null }, "usage_dashboard": { "val_type": "integer", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "analytics_dashboards": { "val_type": "array", "inner_val_type": "integer", "enum": null, "properties": null, "inner_properties": null, "description": null }, "has_enriched_analytics": { "val_type": "boolean", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "user_access_level": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "The effective access level the user has for this object" }, "creation_context": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "Indicates the origin product of the feature flag. Choices: 'feature_flags', 'experiments', 'surveys', 'early_access_features', 'web_experiments'.\n\n* `feature_flags` - feature_flags\n* `experiments` - experiments\n* `surveys` - surveys\n* `early_access_features` - early_access_features\n* `web_experiments` - web_experiments" }, "is_remote_configuration": { "val_type": "boolean", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "has_encrypted_payloads": { "val_type": "boolean", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "status": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "evaluation_runtime": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "Specifies where this feature flag should be evaluated\n\n* `server` - Server\n* `client` - Client\n* `all` - All" }, "last_called_at": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "Last time this feature flag was called (from $feature_flag_called events)" }, "_create_in_folder": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "_should_create_usage_dashboard": { "val_type": "boolean", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null } }, "inner_properties": null, "description": "" }, "inferrable": true, "http_endpoint_parameter_name": "requestBody" } ] }, "output": { "description": "Response from the API endpoint 'feature_flags_partial_update'.", "available_modes": [ "value", "error", "null" ], "value_schema": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null } }, "requirements": { "authorization": null, "secrets": [ { "key": "POSTHOG_SERVER_URL" }, { "key": "POSTHOG_PERSONAL_API_KEY" } ], "metadata": null }, "deprecation_message": null, "metadata": { "object_type": "api_wrapper_tool", "version": "1.1.0", "description": "Tools that enable LLMs to interact directly with the Datadog API." }, "http_endpoint": { "metadata": { "object_type": "http_endpoint", "version": "1.2.0", "description": "" }, "url": "{posthog_server_url}/api/projects/{project_id}/feature_flags/{id}/", "http_method": "PATCH", "headers": {}, "parameters": [ { "name": "id", "tool_parameter_name": "feature_flag_id", "description": "A unique integer value identifying this feature flag.", "value_schema": { "val_type": "integer", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "A unique integer value identifying this feature flag." }, "accepted_as": "path", "required": true, "deprecated": false, "default": null, "documentation_urls": [] }, { "name": "project_id", "tool_parameter_name": "project_identifier", "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/." }, "accepted_as": "path", "required": true, "deprecated": false, "default": null, "documentation_urls": [] }, { "name": "requestBody", "tool_parameter_name": "feature_flag_update_payload", "description": "", "value_schema": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": { "id": { "val_type": "integer", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "name": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "contains the description for the flag (field name `name` is kept for backwards-compatibility)" }, "key": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "filters": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "deleted": { "val_type": "boolean", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "active": { "val_type": "boolean", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "created_by": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "created_at": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "updated_at": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "version": { "val_type": "integer", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "last_modified_by": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "is_simple_flag": { "val_type": "boolean", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "rollout_percentage": { "val_type": "integer", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "ensure_experience_continuity": { "val_type": "boolean", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "experiment_set": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "surveys": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "features": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "rollback_conditions": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "performed_rollback": { "val_type": "boolean", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "can_edit": { "val_type": "boolean", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "tags": { "val_type": "array", "inner_val_type": "string", "enum": null, "properties": null, "inner_properties": null, "description": null }, "evaluation_tags": { "val_type": "array", "inner_val_type": "string", "enum": null, "properties": null, "inner_properties": null, "description": null }, "usage_dashboard": { "val_type": "integer", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "analytics_dashboards": { "val_type": "array", "inner_val_type": "integer", "enum": null, "properties": null, "inner_properties": null, "description": null }, "has_enriched_analytics": { "val_type": "boolean", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "user_access_level": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "The effective access level the user has for this object" }, "creation_context": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "Indicates the origin product of the feature flag. Choices: 'feature_flags', 'experiments', 'surveys', 'early_access_features', 'web_experiments'.\n\n* `feature_flags` - feature_flags\n* `experiments` - experiments\n* `surveys` - surveys\n* `early_access_features` - early_access_features\n* `web_experiments` - web_experiments" }, "is_remote_configuration": { "val_type": "boolean", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "has_encrypted_payloads": { "val_type": "boolean", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "status": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "evaluation_runtime": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "Specifies where this feature flag should be evaluated\n\n* `server` - Server\n* `client` - Client\n* `all` - All" }, "last_called_at": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "Last time this feature flag was called (from $feature_flag_called events)" }, "_create_in_folder": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "_should_create_usage_dashboard": { "val_type": "boolean", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null } }, "inner_properties": null, "description": "" }, "accepted_as": "body", "required": false, "deprecated": false, "default": null, "documentation_urls": [] } ], "documentation_urls": [], "secrets": [ { "arcade_key": "POSTHOG_SERVER_URL", "parameter_name": "posthog_server_url", "accepted_as": "path", "formatted_value": null, "description": "", "is_auth_token": false }, { "arcade_key": "POSTHOG_PERSONAL_API_KEY", "parameter_name": "Authorization", "accepted_as": "header", "formatted_value": "Bearer {authorization}", "description": "", "is_auth_token": false } ], "request_body_spec": "{\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"type\": \"object\",\n \"description\": \"Serializer mixin that resolves appropriate response for tags depending on license.\",\n \"properties\": {\n \"id\": {\n \"type\": \"integer\",\n \"readOnly\": true\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"contains the description for the flag (field name `name` is kept for backwards-compatibility)\"\n },\n \"key\": {\n \"type\": \"string\",\n \"maxLength\": 400\n },\n \"filters\": {\n \"type\": \"object\",\n \"additionalProperties\": {}\n },\n \"deleted\": {\n \"type\": \"boolean\"\n },\n \"active\": {\n \"type\": \"boolean\"\n },\n \"created_by\": {\n \"allOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"integer\",\n \"readOnly\": true\n },\n \"uuid\": {\n \"type\": \"string\",\n \"format\": \"uuid\",\n \"readOnly\": true\n },\n \"distinct_id\": {\n \"type\": \"string\",\n \"nullable\": true,\n \"maxLength\": 200\n },\n \"first_name\": {\n \"type\": \"string\",\n \"maxLength\": 150\n },\n \"last_name\": {\n \"type\": \"string\",\n \"maxLength\": 150\n },\n \"email\": {\n \"type\": \"string\",\n \"format\": \"email\",\n \"title\": \"Email address\",\n \"maxLength\": 254\n },\n \"is_email_verified\": {\n \"type\": \"boolean\",\n \"nullable\": true\n },\n \"hedgehog_config\": {\n \"type\": \"object\",\n \"additionalProperties\": {},\n \"nullable\": true,\n \"readOnly\": true\n },\n \"role_at_organization\": {\n \"nullable\": true,\n \"oneOf\": [\n {\n \"enum\": [\n \"engineering\",\n \"data\",\n \"product\",\n \"founder\",\n \"leadership\",\n \"marketing\",\n \"sales\",\n \"other\"\n ],\n \"type\": \"string\",\n \"description\": \"* `engineering` - Engineering\\n* `data` - Data\\n* `product` - Product Management\\n* `founder` - Founder\\n* `leadership` - Leadership\\n* `marketing` - Marketing\\n* `sales` - Sales / Success\\n* `other` - Other\"\n },\n {\n \"enum\": [\n \"\"\n ]\n },\n {\n \"enum\": [\n null\n ]\n }\n ]\n }\n },\n \"required\": [\n \"email\",\n \"hedgehog_config\",\n \"id\",\n \"uuid\"\n ]\n }\n ],\n \"readOnly\": true\n },\n \"created_at\": {\n \"type\": \"string\",\n \"format\": \"date-time\"\n },\n \"updated_at\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"readOnly\": true,\n \"nullable\": true\n },\n \"version\": {\n \"type\": \"integer\",\n \"default\": 0\n },\n \"last_modified_by\": {\n \"allOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"integer\",\n \"readOnly\": true\n },\n \"uuid\": {\n \"type\": \"string\",\n \"format\": \"uuid\",\n \"readOnly\": true\n },\n \"distinct_id\": {\n \"type\": \"string\",\n \"nullable\": true,\n \"maxLength\": 200\n },\n \"first_name\": {\n \"type\": \"string\",\n \"maxLength\": 150\n },\n \"last_name\": {\n \"type\": \"string\",\n \"maxLength\": 150\n },\n \"email\": {\n \"type\": \"string\",\n \"format\": \"email\",\n \"title\": \"Email address\",\n \"maxLength\": 254\n },\n \"is_email_verified\": {\n \"type\": \"boolean\",\n \"nullable\": true\n },\n \"hedgehog_config\": {\n \"type\": \"object\",\n \"additionalProperties\": {},\n \"nullable\": true,\n \"readOnly\": true\n },\n \"role_at_organization\": {\n \"nullable\": true,\n \"oneOf\": [\n {\n \"enum\": [\n \"engineering\",\n \"data\",\n \"product\",\n \"founder\",\n \"leadership\",\n \"marketing\",\n \"sales\",\n \"other\"\n ],\n \"type\": \"string\",\n \"description\": \"* `engineering` - Engineering\\n* `data` - Data\\n* `product` - Product Management\\n* `founder` - Founder\\n* `leadership` - Leadership\\n* `marketing` - Marketing\\n* `sales` - Sales / Success\\n* `other` - Other\"\n },\n {\n \"enum\": [\n \"\"\n ]\n },\n {\n \"enum\": [\n null\n ]\n }\n ]\n }\n },\n \"required\": [\n \"email\",\n \"hedgehog_config\",\n \"id\",\n \"uuid\"\n ]\n }\n ],\n \"readOnly\": true\n },\n \"is_simple_flag\": {\n \"type\": \"boolean\",\n \"readOnly\": true\n },\n \"rollout_percentage\": {\n \"type\": \"integer\",\n \"nullable\": true,\n \"readOnly\": true\n },\n \"ensure_experience_continuity\": {\n \"type\": \"boolean\",\n \"nullable\": true\n },\n \"experiment_set\": {\n \"type\": \"string\",\n \"readOnly\": true\n },\n \"surveys\": {\n \"type\": \"object\",\n \"additionalProperties\": {},\n \"readOnly\": true\n },\n \"features\": {\n \"type\": \"object\",\n \"additionalProperties\": {},\n \"readOnly\": true\n },\n \"rollback_conditions\": {\n \"nullable\": true\n },\n \"performed_rollback\": {\n \"type\": \"boolean\",\n \"nullable\": true\n },\n \"can_edit\": {\n \"type\": \"boolean\",\n \"readOnly\": true\n },\n \"tags\": {\n \"type\": \"array\",\n \"items\": {}\n },\n \"evaluation_tags\": {\n \"type\": \"array\",\n \"items\": {},\n \"writeOnly\": true\n },\n \"usage_dashboard\": {\n \"type\": \"integer\",\n \"readOnly\": true\n },\n \"analytics_dashboards\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"integer\"\n }\n },\n \"has_enriched_analytics\": {\n \"type\": \"boolean\",\n \"nullable\": true\n },\n \"user_access_level\": {\n \"type\": \"string\",\n \"nullable\": true,\n \"readOnly\": true,\n \"description\": \"The effective access level the user has for this object\"\n },\n \"creation_context\": {\n \"allOf\": [\n {\n \"enum\": [\n \"feature_flags\",\n \"experiments\",\n \"surveys\",\n \"early_access_features\",\n \"web_experiments\"\n ],\n \"type\": \"string\",\n \"description\": \"* `feature_flags` - feature_flags\\n* `experiments` - experiments\\n* `surveys` - surveys\\n* `early_access_features` - early_access_features\\n* `web_experiments` - web_experiments\"\n }\n ],\n \"writeOnly\": true,\n \"description\": \"Indicates the origin product of the feature flag. Choices: 'feature_flags', 'experiments', 'surveys', 'early_access_features', 'web_experiments'.\\n\\n* `feature_flags` - feature_flags\\n* `experiments` - experiments\\n* `surveys` - surveys\\n* `early_access_features` - early_access_features\\n* `web_experiments` - web_experiments\"\n },\n \"is_remote_configuration\": {\n \"type\": \"boolean\",\n \"nullable\": true\n },\n \"has_encrypted_payloads\": {\n \"type\": \"boolean\",\n \"nullable\": true\n },\n \"status\": {\n \"type\": \"string\",\n \"readOnly\": true\n },\n \"evaluation_runtime\": {\n \"nullable\": true,\n \"description\": \"Specifies where this feature flag should be evaluated\\n\\n* `server` - Server\\n* `client` - Client\\n* `all` - All\",\n \"oneOf\": [\n {\n \"enum\": [\n \"server\",\n \"client\",\n \"all\"\n ],\n \"type\": \"string\",\n \"description\": \"* `server` - Server\\n* `client` - Client\\n* `all` - All\"\n },\n {\n \"enum\": [\n \"\"\n ]\n },\n {\n \"enum\": [\n null\n ]\n }\n ]\n },\n \"last_called_at\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"nullable\": true,\n \"description\": \"Last time this feature flag was called (from $feature_flag_called events)\"\n },\n \"_create_in_folder\": {\n \"type\": \"string\",\n \"writeOnly\": true,\n \"title\": \" create in folder\"\n },\n \"_should_create_usage_dashboard\": {\n \"type\": \"boolean\",\n \"writeOnly\": true,\n \"default\": true,\n \"title\": \" should create usage dashboard\"\n }\n }\n }\n },\n \"application/x-www-form-urlencoded\": {\n \"schema\": {\n \"type\": \"object\",\n \"description\": \"Serializer mixin that resolves appropriate response for tags depending on license.\",\n \"properties\": {\n \"id\": {\n \"type\": \"integer\",\n \"readOnly\": true\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"contains the description for the flag (field name `name` is kept for backwards-compatibility)\"\n },\n \"key\": {\n \"type\": \"string\",\n \"maxLength\": 400\n },\n \"filters\": {\n \"type\": \"object\",\n \"additionalProperties\": {}\n },\n \"deleted\": {\n \"type\": \"boolean\"\n },\n \"active\": {\n \"type\": \"boolean\"\n },\n \"created_by\": {\n \"allOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"integer\",\n \"readOnly\": true\n },\n \"uuid\": {\n \"type\": \"string\",\n \"format\": \"uuid\",\n \"readOnly\": true\n },\n \"distinct_id\": {\n \"type\": \"string\",\n \"nullable\": true,\n \"maxLength\": 200\n },\n \"first_name\": {\n \"type\": \"string\",\n \"maxLength\": 150\n },\n \"last_name\": {\n \"type\": \"string\",\n \"maxLength\": 150\n },\n \"email\": {\n \"type\": \"string\",\n \"format\": \"email\",\n \"title\": \"Email address\",\n \"maxLength\": 254\n },\n \"is_email_verified\": {\n \"type\": \"boolean\",\n \"nullable\": true\n },\n \"hedgehog_config\": {\n \"type\": \"object\",\n \"additionalProperties\": {},\n \"nullable\": true,\n \"readOnly\": true\n },\n \"role_at_organization\": {\n \"nullable\": true,\n \"oneOf\": [\n {\n \"enum\": [\n \"engineering\",\n \"data\",\n \"product\",\n \"founder\",\n \"leadership\",\n \"marketing\",\n \"sales\",\n \"other\"\n ],\n \"type\": \"string\",\n \"description\": \"* `engineering` - Engineering\\n* `data` - Data\\n* `product` - Product Management\\n* `founder` - Founder\\n* `leadership` - Leadership\\n* `marketing` - Marketing\\n* `sales` - Sales / Success\\n* `other` - Other\"\n },\n {\n \"enum\": [\n \"\"\n ]\n },\n {\n \"enum\": [\n null\n ]\n }\n ]\n }\n },\n \"required\": [\n \"email\",\n \"hedgehog_config\",\n \"id\",\n \"uuid\"\n ]\n }\n ],\n \"readOnly\": true\n },\n \"created_at\": {\n \"type\": \"string\",\n \"format\": \"date-time\"\n },\n \"updated_at\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"readOnly\": true,\n \"nullable\": true\n },\n \"version\": {\n \"type\": \"integer\",\n \"default\": 0\n },\n \"last_modified_by\": {\n \"allOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"integer\",\n \"readOnly\": true\n },\n \"uuid\": {\n \"type\": \"string\",\n \"format\": \"uuid\",\n \"readOnly\": true\n },\n \"distinct_id\": {\n \"type\": \"string\",\n \"nullable\": true,\n \"maxLength\": 200\n },\n \"first_name\": {\n \"type\": \"string\",\n \"maxLength\": 150\n },\n \"last_name\": {\n \"type\": \"string\",\n \"maxLength\": 150\n },\n \"email\": {\n \"type\": \"string\",\n \"format\": \"email\",\n \"title\": \"Email address\",\n \"maxLength\": 254\n },\n \"is_email_verified\": {\n \"type\": \"boolean\",\n \"nullable\": true\n },\n \"hedgehog_config\": {\n \"type\": \"object\",\n \"additionalProperties\": {},\n \"nullable\": true,\n \"readOnly\": true\n },\n \"role_at_organization\": {\n \"nullable\": true,\n \"oneOf\": [\n {\n \"enum\": [\n \"engineering\",\n \"data\",\n \"product\",\n \"founder\",\n \"leadership\",\n \"marketing\",\n \"sales\",\n \"other\"\n ],\n \"type\": \"string\",\n \"description\": \"* `engineering` - Engineering\\n* `data` - Data\\n* `product` - Product Management\\n* `founder` - Founder\\n* `leadership` - Leadership\\n* `marketing` - Marketing\\n* `sales` - Sales / Success\\n* `other` - Other\"\n },\n {\n \"enum\": [\n \"\"\n ]\n },\n {\n \"enum\": [\n null\n ]\n }\n ]\n }\n },\n \"required\": [\n \"email\",\n \"hedgehog_config\",\n \"id\",\n \"uuid\"\n ]\n }\n ],\n \"readOnly\": true\n },\n \"is_simple_flag\": {\n \"type\": \"boolean\",\n \"readOnly\": true\n },\n \"rollout_percentage\": {\n \"type\": \"integer\",\n \"nullable\": true,\n \"readOnly\": true\n },\n \"ensure_experience_continuity\": {\n \"type\": \"boolean\",\n \"nullable\": true\n },\n \"experiment_set\": {\n \"type\": \"string\",\n \"readOnly\": true\n },\n \"surveys\": {\n \"type\": \"object\",\n \"additionalProperties\": {},\n \"readOnly\": true\n },\n \"features\": {\n \"type\": \"object\",\n \"additionalProperties\": {},\n \"readOnly\": true\n },\n \"rollback_conditions\": {\n \"nullable\": true\n },\n \"performed_rollback\": {\n \"type\": \"boolean\",\n \"nullable\": true\n },\n \"can_edit\": {\n \"type\": \"boolean\",\n \"readOnly\": true\n },\n \"tags\": {\n \"type\": \"array\",\n \"items\": {}\n },\n \"evaluation_tags\": {\n \"type\": \"array\",\n \"items\": {},\n \"writeOnly\": true\n },\n \"usage_dashboard\": {\n \"type\": \"integer\",\n \"readOnly\": true\n },\n \"analytics_dashboards\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"integer\"\n }\n },\n \"has_enriched_analytics\": {\n \"type\": \"boolean\",\n \"nullable\": true\n },\n \"user_access_level\": {\n \"type\": \"string\",\n \"nullable\": true,\n \"readOnly\": true,\n \"description\": \"The effective access level the user has for this object\"\n },\n \"creation_context\": {\n \"allOf\": [\n {\n \"enum\": [\n \"feature_flags\",\n \"experiments\",\n \"surveys\",\n \"early_access_features\",\n \"web_experiments\"\n ],\n \"type\": \"string\",\n \"description\": \"* `feature_flags` - feature_flags\\n* `experiments` - experiments\\n* `surveys` - surveys\\n* `early_access_features` - early_access_features\\n* `web_experiments` - web_experiments\"\n }\n ],\n \"writeOnly\": true,\n \"description\": \"Indicates the origin product of the feature flag. Choices: 'feature_flags', 'experiments', 'surveys', 'early_access_features', 'web_experiments'.\\n\\n* `feature_flags` - feature_flags\\n* `experiments` - experiments\\n* `surveys` - surveys\\n* `early_access_features` - early_access_features\\n* `web_experiments` - web_experiments\"\n },\n \"is_remote_configuration\": {\n \"type\": \"boolean\",\n \"nullable\": true\n },\n \"has_encrypted_payloads\": {\n \"type\": \"boolean\",\n \"nullable\": true\n },\n \"status\": {\n \"type\": \"string\",\n \"readOnly\": true\n },\n \"evaluation_runtime\": {\n \"nullable\": true,\n \"description\": \"Specifies where this feature flag should be evaluated\\n\\n* `server` - Server\\n* `client` - Client\\n* `all` - All\",\n \"oneOf\": [\n {\n \"enum\": [\n \"server\",\n \"client\",\n \"all\"\n ],\n \"type\": \"string\",\n \"description\": \"* `server` - Server\\n* `client` - Client\\n* `all` - All\"\n },\n {\n \"enum\": [\n \"\"\n ]\n },\n {\n \"enum\": [\n null\n ]\n }\n ]\n },\n \"last_called_at\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"nullable\": true,\n \"description\": \"Last time this feature flag was called (from $feature_flag_called events)\"\n },\n \"_create_in_folder\": {\n \"type\": \"string\",\n \"writeOnly\": true,\n \"title\": \" create in folder\"\n },\n \"_should_create_usage_dashboard\": {\n \"type\": \"boolean\",\n \"writeOnly\": true,\n \"default\": true,\n \"title\": \" should create usage dashboard\"\n }\n }\n }\n },\n \"multipart/form-data\": {\n \"schema\": {\n \"type\": \"object\",\n \"description\": \"Serializer mixin that resolves appropriate response for tags depending on license.\",\n \"properties\": {\n \"id\": {\n \"type\": \"integer\",\n \"readOnly\": true\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"contains the description for the flag (field name `name` is kept for backwards-compatibility)\"\n },\n \"key\": {\n \"type\": \"string\",\n \"maxLength\": 400\n },\n \"filters\": {\n \"type\": \"object\",\n \"additionalProperties\": {}\n },\n \"deleted\": {\n \"type\": \"boolean\"\n },\n \"active\": {\n \"type\": \"boolean\"\n },\n \"created_by\": {\n \"allOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"integer\",\n \"readOnly\": true\n },\n \"uuid\": {\n \"type\": \"string\",\n \"format\": \"uuid\",\n \"readOnly\": true\n },\n \"distinct_id\": {\n \"type\": \"string\",\n \"nullable\": true,\n \"maxLength\": 200\n },\n \"first_name\": {\n \"type\": \"string\",\n \"maxLength\": 150\n },\n \"last_name\": {\n \"type\": \"string\",\n \"maxLength\": 150\n },\n \"email\": {\n \"type\": \"string\",\n \"format\": \"email\",\n \"title\": \"Email address\",\n \"maxLength\": 254\n },\n \"is_email_verified\": {\n \"type\": \"boolean\",\n \"nullable\": true\n },\n \"hedgehog_config\": {\n \"type\": \"object\",\n \"additionalProperties\": {},\n \"nullable\": true,\n \"readOnly\": true\n },\n \"role_at_organization\": {\n \"nullable\": true,\n \"oneOf\": [\n {\n \"enum\": [\n \"engineering\",\n \"data\",\n \"product\",\n \"founder\",\n \"leadership\",\n \"marketing\",\n \"sales\",\n \"other\"\n ],\n \"type\": \"string\",\n \"description\": \"* `engineering` - Engineering\\n* `data` - Data\\n* `product` - Product Management\\n* `founder` - Founder\\n* `leadership` - Leadership\\n* `marketing` - Marketing\\n* `sales` - Sales / Success\\n* `other` - Other\"\n },\n {\n \"enum\": [\n \"\"\n ]\n },\n {\n \"enum\": [\n null\n ]\n }\n ]\n }\n },\n \"required\": [\n \"email\",\n \"hedgehog_config\",\n \"id\",\n \"uuid\"\n ]\n }\n ],\n \"readOnly\": true\n },\n \"created_at\": {\n \"type\": \"string\",\n \"format\": \"date-time\"\n },\n \"updated_at\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"readOnly\": true,\n \"nullable\": true\n },\n \"version\": {\n \"type\": \"integer\",\n \"default\": 0\n },\n \"last_modified_by\": {\n \"allOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"integer\",\n \"readOnly\": true\n },\n \"uuid\": {\n \"type\": \"string\",\n \"format\": \"uuid\",\n \"readOnly\": true\n },\n \"distinct_id\": {\n \"type\": \"string\",\n \"nullable\": true,\n \"maxLength\": 200\n },\n \"first_name\": {\n \"type\": \"string\",\n \"maxLength\": 150\n },\n \"last_name\": {\n \"type\": \"string\",\n \"maxLength\": 150\n },\n \"email\": {\n \"type\": \"string\",\n \"format\": \"email\",\n \"title\": \"Email address\",\n \"maxLength\": 254\n },\n \"is_email_verified\": {\n \"type\": \"boolean\",\n \"nullable\": true\n },\n \"hedgehog_config\": {\n \"type\": \"object\",\n \"additionalProperties\": {},\n \"nullable\": true,\n \"readOnly\": true\n },\n \"role_at_organization\": {\n \"nullable\": true,\n \"oneOf\": [\n {\n \"enum\": [\n \"engineering\",\n \"data\",\n \"product\",\n \"founder\",\n \"leadership\",\n \"marketing\",\n \"sales\",\n \"other\"\n ],\n \"type\": \"string\",\n \"description\": \"* `engineering` - Engineering\\n* `data` - Data\\n* `product` - Product Management\\n* `founder` - Founder\\n* `leadership` - Leadership\\n* `marketing` - Marketing\\n* `sales` - Sales / Success\\n* `other` - Other\"\n },\n {\n \"enum\": [\n \"\"\n ]\n },\n {\n \"enum\": [\n null\n ]\n }\n ]\n }\n },\n \"required\": [\n \"email\",\n \"hedgehog_config\",\n \"id\",\n \"uuid\"\n ]\n }\n ],\n \"readOnly\": true\n },\n \"is_simple_flag\": {\n \"type\": \"boolean\",\n \"readOnly\": true\n },\n \"rollout_percentage\": {\n \"type\": \"integer\",\n \"nullable\": true,\n \"readOnly\": true\n },\n \"ensure_experience_continuity\": {\n \"type\": \"boolean\",\n \"nullable\": true\n },\n \"experiment_set\": {\n \"type\": \"string\",\n \"readOnly\": true\n },\n \"surveys\": {\n \"type\": \"object\",\n \"additionalProperties\": {},\n \"readOnly\": true\n },\n \"features\": {\n \"type\": \"object\",\n \"additionalProperties\": {},\n \"readOnly\": true\n },\n \"rollback_conditions\": {\n \"nullable\": true\n },\n \"performed_rollback\": {\n \"type\": \"boolean\",\n \"nullable\": true\n },\n \"can_edit\": {\n \"type\": \"boolean\",\n \"readOnly\": true\n },\n \"tags\": {\n \"type\": \"array\",\n \"items\": {}\n },\n \"evaluation_tags\": {\n \"type\": \"array\",\n \"items\": {},\n \"writeOnly\": true\n },\n \"usage_dashboard\": {\n \"type\": \"integer\",\n \"readOnly\": true\n },\n \"analytics_dashboards\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"integer\"\n }\n },\n \"has_enriched_analytics\": {\n \"type\": \"boolean\",\n \"nullable\": true\n },\n \"user_access_level\": {\n \"type\": \"string\",\n \"nullable\": true,\n \"readOnly\": true,\n \"description\": \"The effective access level the user has for this object\"\n },\n \"creation_context\": {\n \"allOf\": [\n {\n \"enum\": [\n \"feature_flags\",\n \"experiments\",\n \"surveys\",\n \"early_access_features\",\n \"web_experiments\"\n ],\n \"type\": \"string\",\n \"description\": \"* `feature_flags` - feature_flags\\n* `experiments` - experiments\\n* `surveys` - surveys\\n* `early_access_features` - early_access_features\\n* `web_experiments` - web_experiments\"\n }\n ],\n \"writeOnly\": true,\n \"description\": \"Indicates the origin product of the feature flag. Choices: 'feature_flags', 'experiments', 'surveys', 'early_access_features', 'web_experiments'.\\n\\n* `feature_flags` - feature_flags\\n* `experiments` - experiments\\n* `surveys` - surveys\\n* `early_access_features` - early_access_features\\n* `web_experiments` - web_experiments\"\n },\n \"is_remote_configuration\": {\n \"type\": \"boolean\",\n \"nullable\": true\n },\n \"has_encrypted_payloads\": {\n \"type\": \"boolean\",\n \"nullable\": true\n },\n \"status\": {\n \"type\": \"string\",\n \"readOnly\": true\n },\n \"evaluation_runtime\": {\n \"nullable\": true,\n \"description\": \"Specifies where this feature flag should be evaluated\\n\\n* `server` - Server\\n* `client` - Client\\n* `all` - All\",\n \"oneOf\": [\n {\n \"enum\": [\n \"server\",\n \"client\",\n \"all\"\n ],\n \"type\": \"string\",\n \"description\": \"* `server` - Server\\n* `client` - Client\\n* `all` - All\"\n },\n {\n \"enum\": [\n \"\"\n ]\n },\n {\n \"enum\": [\n null\n ]\n }\n ]\n },\n \"last_called_at\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"nullable\": true,\n \"description\": \"Last time this feature flag was called (from $feature_flag_called events)\"\n },\n \"_create_in_folder\": {\n \"type\": \"string\",\n \"writeOnly\": true,\n \"title\": \" create in folder\"\n },\n \"_should_create_usage_dashboard\": {\n \"type\": \"boolean\",\n \"writeOnly\": true,\n \"default\": true,\n \"title\": \" should create usage dashboard\"\n }\n }\n }\n }\n }\n}", "use_request_body_schema_mode": true, "validate_request_body_schema": true } }