mixpanel

by dragonkhoi
Verified

query_funnel_report

Get data for a funnel based on a funnel_id. Funnel IDs should be retrieved using the list_saved_funnels tool.

Input Schema

NameRequiredDescriptionDefault
from_dateYesThe date in yyyy-mm-dd format to begin querying from (inclusive)
funnel_idYesThe Mixpanel funnel ID that you wish to get data for
intervalNoThe number of days you want each bucket to contain
lengthNoThe number of units each user has to complete the funnel
length_unitNoThe unit applied to the length parameter
project_idNoThe Mixpanel project ID
to_dateYesThe date in yyyy-mm-dd format to query to (inclusive)
unitNoAlternate way of specifying interval
workspace_idNoThe ID of the workspace if applicable

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "from_date": { "description": "The date in yyyy-mm-dd format to begin querying from (inclusive)", "type": "string" }, "funnel_id": { "description": "The Mixpanel funnel ID that you wish to get data for", "type": "string" }, "interval": { "description": "The number of days you want each bucket to contain", "type": "number" }, "length": { "description": "The number of units each user has to complete the funnel", "type": "number" }, "length_unit": { "description": "The unit applied to the length parameter", "enum": [ "day", "hour", "minute", "second" ], "type": "string" }, "project_id": { "description": "The Mixpanel project ID", "type": "string" }, "to_date": { "description": "The date in yyyy-mm-dd format to query to (inclusive)", "type": "string" }, "unit": { "description": "Alternate way of specifying interval", "enum": [ "day", "week", "month" ], "type": "string" }, "workspace_id": { "description": "The ID of the workspace if applicable", "type": "string" } }, "required": [ "funnel_id", "from_date", "to_date" ], "type": "object" }