arcade-mcp/toolkits/posthog_api/arcade_posthog_api/wrapper_tools/CreateDashboard.json
jottakka b7bb2c8d03
[MOAR][PostHog] Adding PostHog starter toolkit (+722) (#654)
Co-authored-by: Francisco Liberal <francisco@arcade.dev>
2025-10-27 12:22:18 -03:00

653 lines
45 KiB
JSON

{
"name": "CreateDashboard",
"fully_qualified_name": "PosthogApi.CreateDashboard@0.1.0",
"description": "Create a new dashboard for a specified project.\n\nUse this tool to create a new dashboard in a specified project. This can be helpful when you need to set up dashboards to monitor or visualize project data.",
"toolkit": {
"name": "ArcadePosthogApi",
"description": null,
"version": "0.1.0"
},
"input": {
"parameters": [
{
"name": "project_identifier",
"required": true,
"description": "The ID of the project for which you want to create the dashboard. Retrieve this ID by calling /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": "output_format",
"required": false,
"description": "Specify the format of the dashboard creation response. Options are 'json' or 'txt'.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": [
"json",
"txt"
],
"properties": null,
"inner_properties": null,
"description": ""
},
"inferrable": true,
"http_endpoint_parameter_name": "format"
},
{
"name": "dashboard_details",
"required": false,
"description": "JSON object containing dashboard specifications like name, description, tags, tiles, 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": null
},
"description": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
},
"pinned": {
"val_type": "boolean",
"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
},
"created_by": {
"val_type": "json",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
},
"last_accessed_at": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
},
"is_shared": {
"val_type": "boolean",
"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
},
"creation_mode": {
"val_type": "json",
"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
},
"variables": {
"val_type": "json",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
},
"breakdown_colors": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
},
"data_color_theme_id": {
"val_type": "integer",
"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
},
"restriction_level": {
"val_type": "json",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
},
"effective_restriction_level": {
"val_type": "json",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
},
"effective_privilege_level": {
"val_type": "json",
"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"
},
"access_control_version": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
},
"last_refresh": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
},
"persisted_filters": {
"val_type": "json",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
},
"persisted_variables": {
"val_type": "json",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
},
"team_id": {
"val_type": "integer",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
},
"tiles": {
"val_type": "array",
"inner_val_type": "json",
"enum": null,
"properties": null,
"inner_properties": {},
"description": null
},
"use_template": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
},
"use_dashboard": {
"val_type": "integer",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
},
"delete_insights": {
"val_type": "boolean",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
},
"_create_in_folder": {
"val_type": "string",
"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 'dashboards_create'.",
"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}/dashboards/",
"http_method": "POST",
"headers": {},
"parameters": [
{
"name": "format",
"tool_parameter_name": "output_format",
"description": "",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": [
"json",
"txt"
],
"properties": null,
"inner_properties": null,
"description": ""
},
"accepted_as": "query",
"required": false,
"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": "dashboard_details",
"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": null
},
"description": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
},
"pinned": {
"val_type": "boolean",
"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
},
"created_by": {
"val_type": "json",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
},
"last_accessed_at": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
},
"is_shared": {
"val_type": "boolean",
"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
},
"creation_mode": {
"val_type": "json",
"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
},
"variables": {
"val_type": "json",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
},
"breakdown_colors": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
},
"data_color_theme_id": {
"val_type": "integer",
"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
},
"restriction_level": {
"val_type": "json",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
},
"effective_restriction_level": {
"val_type": "json",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
},
"effective_privilege_level": {
"val_type": "json",
"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"
},
"access_control_version": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
},
"last_refresh": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
},
"persisted_filters": {
"val_type": "json",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
},
"persisted_variables": {
"val_type": "json",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
},
"team_id": {
"val_type": "integer",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
},
"tiles": {
"val_type": "array",
"inner_val_type": "json",
"enum": null,
"properties": null,
"inner_properties": {},
"description": null
},
"use_template": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
},
"use_dashboard": {
"val_type": "integer",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
},
"delete_insights": {
"val_type": "boolean",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
},
"_create_in_folder": {
"val_type": "string",
"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 \"nullable\": true,\n \"maxLength\": 400\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"pinned\": {\n \"type\": \"boolean\"\n },\n \"created_at\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"readOnly\": true\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 \"last_accessed_at\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"nullable\": true\n },\n \"is_shared\": {\n \"type\": \"boolean\",\n \"readOnly\": true\n },\n \"deleted\": {\n \"type\": \"boolean\"\n },\n \"creation_mode\": {\n \"allOf\": [\n {\n \"enum\": [\n \"default\",\n \"template\",\n \"duplicate\"\n ],\n \"type\": \"string\",\n \"description\": \"* `default` - Default\\n* `template` - Template\\n* `duplicate` - Duplicate\"\n }\n ],\n \"readOnly\": true\n },\n \"filters\": {\n \"type\": \"object\",\n \"additionalProperties\": {},\n \"readOnly\": true\n },\n \"variables\": {\n \"type\": \"object\",\n \"additionalProperties\": {},\n \"nullable\": true,\n \"readOnly\": true\n },\n \"breakdown_colors\": {},\n \"data_color_theme_id\": {\n \"type\": \"integer\",\n \"nullable\": true\n },\n \"tags\": {\n \"type\": \"array\",\n \"items\": {}\n },\n \"restriction_level\": {\n \"allOf\": [\n {\n \"enum\": [\n 21,\n 37\n ],\n \"type\": \"integer\",\n \"description\": \"* `21` - Everyone in the project can edit\\n* `37` - Only those invited to this dashboard can edit\"\n }\n ],\n \"minimum\": 0,\n \"maximum\": 32767\n },\n \"effective_restriction_level\": {\n \"allOf\": [\n {\n \"enum\": [\n 21,\n 37\n ],\n \"type\": \"integer\"\n }\n ],\n \"readOnly\": true\n },\n \"effective_privilege_level\": {\n \"allOf\": [\n {\n \"enum\": [\n 21,\n 37\n ],\n \"type\": \"integer\"\n }\n ],\n \"readOnly\": 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 \"access_control_version\": {\n \"type\": \"string\",\n \"readOnly\": true\n },\n \"last_refresh\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"nullable\": true\n },\n \"persisted_filters\": {\n \"type\": \"object\",\n \"additionalProperties\": {},\n \"nullable\": true,\n \"readOnly\": true\n },\n \"persisted_variables\": {\n \"type\": \"object\",\n \"additionalProperties\": {},\n \"nullable\": true,\n \"readOnly\": true\n },\n \"team_id\": {\n \"type\": \"integer\",\n \"readOnly\": true\n },\n \"tiles\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"additionalProperties\": {}\n },\n \"nullable\": true,\n \"readOnly\": true\n },\n \"use_template\": {\n \"type\": \"string\",\n \"writeOnly\": true\n },\n \"use_dashboard\": {\n \"type\": \"integer\",\n \"writeOnly\": true,\n \"nullable\": true\n },\n \"delete_insights\": {\n \"type\": \"boolean\",\n \"writeOnly\": true,\n \"default\": false\n },\n \"_create_in_folder\": {\n \"type\": \"string\",\n \"writeOnly\": true,\n \"title\": \" create in folder\"\n }\n },\n \"required\": [\n \"access_control_version\",\n \"created_at\",\n \"created_by\",\n \"creation_mode\",\n \"effective_privilege_level\",\n \"effective_restriction_level\",\n \"filters\",\n \"id\",\n \"is_shared\",\n \"persisted_filters\",\n \"persisted_variables\",\n \"team_id\",\n \"tiles\",\n \"user_access_level\",\n \"variables\"\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 \"nullable\": true,\n \"maxLength\": 400\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"pinned\": {\n \"type\": \"boolean\"\n },\n \"created_at\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"readOnly\": true\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 \"last_accessed_at\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"nullable\": true\n },\n \"is_shared\": {\n \"type\": \"boolean\",\n \"readOnly\": true\n },\n \"deleted\": {\n \"type\": \"boolean\"\n },\n \"creation_mode\": {\n \"allOf\": [\n {\n \"enum\": [\n \"default\",\n \"template\",\n \"duplicate\"\n ],\n \"type\": \"string\",\n \"description\": \"* `default` - Default\\n* `template` - Template\\n* `duplicate` - Duplicate\"\n }\n ],\n \"readOnly\": true\n },\n \"filters\": {\n \"type\": \"object\",\n \"additionalProperties\": {},\n \"readOnly\": true\n },\n \"variables\": {\n \"type\": \"object\",\n \"additionalProperties\": {},\n \"nullable\": true,\n \"readOnly\": true\n },\n \"breakdown_colors\": {},\n \"data_color_theme_id\": {\n \"type\": \"integer\",\n \"nullable\": true\n },\n \"tags\": {\n \"type\": \"array\",\n \"items\": {}\n },\n \"restriction_level\": {\n \"allOf\": [\n {\n \"enum\": [\n 21,\n 37\n ],\n \"type\": \"integer\",\n \"description\": \"* `21` - Everyone in the project can edit\\n* `37` - Only those invited to this dashboard can edit\"\n }\n ],\n \"minimum\": 0,\n \"maximum\": 32767\n },\n \"effective_restriction_level\": {\n \"allOf\": [\n {\n \"enum\": [\n 21,\n 37\n ],\n \"type\": \"integer\"\n }\n ],\n \"readOnly\": true\n },\n \"effective_privilege_level\": {\n \"allOf\": [\n {\n \"enum\": [\n 21,\n 37\n ],\n \"type\": \"integer\"\n }\n ],\n \"readOnly\": 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 \"access_control_version\": {\n \"type\": \"string\",\n \"readOnly\": true\n },\n \"last_refresh\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"nullable\": true\n },\n \"persisted_filters\": {\n \"type\": \"object\",\n \"additionalProperties\": {},\n \"nullable\": true,\n \"readOnly\": true\n },\n \"persisted_variables\": {\n \"type\": \"object\",\n \"additionalProperties\": {},\n \"nullable\": true,\n \"readOnly\": true\n },\n \"team_id\": {\n \"type\": \"integer\",\n \"readOnly\": true\n },\n \"tiles\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"additionalProperties\": {}\n },\n \"nullable\": true,\n \"readOnly\": true\n },\n \"use_template\": {\n \"type\": \"string\",\n \"writeOnly\": true\n },\n \"use_dashboard\": {\n \"type\": \"integer\",\n \"writeOnly\": true,\n \"nullable\": true\n },\n \"delete_insights\": {\n \"type\": \"boolean\",\n \"writeOnly\": true,\n \"default\": false\n },\n \"_create_in_folder\": {\n \"type\": \"string\",\n \"writeOnly\": true,\n \"title\": \" create in folder\"\n }\n },\n \"required\": [\n \"access_control_version\",\n \"created_at\",\n \"created_by\",\n \"creation_mode\",\n \"effective_privilege_level\",\n \"effective_restriction_level\",\n \"filters\",\n \"id\",\n \"is_shared\",\n \"persisted_filters\",\n \"persisted_variables\",\n \"team_id\",\n \"tiles\",\n \"user_access_level\",\n \"variables\"\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 \"nullable\": true,\n \"maxLength\": 400\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"pinned\": {\n \"type\": \"boolean\"\n },\n \"created_at\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"readOnly\": true\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 \"last_accessed_at\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"nullable\": true\n },\n \"is_shared\": {\n \"type\": \"boolean\",\n \"readOnly\": true\n },\n \"deleted\": {\n \"type\": \"boolean\"\n },\n \"creation_mode\": {\n \"allOf\": [\n {\n \"enum\": [\n \"default\",\n \"template\",\n \"duplicate\"\n ],\n \"type\": \"string\",\n \"description\": \"* `default` - Default\\n* `template` - Template\\n* `duplicate` - Duplicate\"\n }\n ],\n \"readOnly\": true\n },\n \"filters\": {\n \"type\": \"object\",\n \"additionalProperties\": {},\n \"readOnly\": true\n },\n \"variables\": {\n \"type\": \"object\",\n \"additionalProperties\": {},\n \"nullable\": true,\n \"readOnly\": true\n },\n \"breakdown_colors\": {},\n \"data_color_theme_id\": {\n \"type\": \"integer\",\n \"nullable\": true\n },\n \"tags\": {\n \"type\": \"array\",\n \"items\": {}\n },\n \"restriction_level\": {\n \"allOf\": [\n {\n \"enum\": [\n 21,\n 37\n ],\n \"type\": \"integer\",\n \"description\": \"* `21` - Everyone in the project can edit\\n* `37` - Only those invited to this dashboard can edit\"\n }\n ],\n \"minimum\": 0,\n \"maximum\": 32767\n },\n \"effective_restriction_level\": {\n \"allOf\": [\n {\n \"enum\": [\n 21,\n 37\n ],\n \"type\": \"integer\"\n }\n ],\n \"readOnly\": true\n },\n \"effective_privilege_level\": {\n \"allOf\": [\n {\n \"enum\": [\n 21,\n 37\n ],\n \"type\": \"integer\"\n }\n ],\n \"readOnly\": 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 \"access_control_version\": {\n \"type\": \"string\",\n \"readOnly\": true\n },\n \"last_refresh\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"nullable\": true\n },\n \"persisted_filters\": {\n \"type\": \"object\",\n \"additionalProperties\": {},\n \"nullable\": true,\n \"readOnly\": true\n },\n \"persisted_variables\": {\n \"type\": \"object\",\n \"additionalProperties\": {},\n \"nullable\": true,\n \"readOnly\": true\n },\n \"team_id\": {\n \"type\": \"integer\",\n \"readOnly\": true\n },\n \"tiles\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"additionalProperties\": {}\n },\n \"nullable\": true,\n \"readOnly\": true\n },\n \"use_template\": {\n \"type\": \"string\",\n \"writeOnly\": true\n },\n \"use_dashboard\": {\n \"type\": \"integer\",\n \"writeOnly\": true,\n \"nullable\": true\n },\n \"delete_insights\": {\n \"type\": \"boolean\",\n \"writeOnly\": true,\n \"default\": false\n },\n \"_create_in_folder\": {\n \"type\": \"string\",\n \"writeOnly\": true,\n \"title\": \" create in folder\"\n }\n },\n \"required\": [\n \"access_control_version\",\n \"created_at\",\n \"created_by\",\n \"creation_mode\",\n \"effective_privilege_level\",\n \"effective_restriction_level\",\n \"filters\",\n \"id\",\n \"is_shared\",\n \"persisted_filters\",\n \"persisted_variables\",\n \"team_id\",\n \"tiles\",\n \"user_access_level\",\n \"variables\"\n ]\n }\n }\n }\n}",
"use_request_body_schema_mode": true,
"validate_request_body_schema": true
}
}