Run a funnel without saving it
POST/ v1/ projects/ {project}/ analytics/ funnel
Visitors who went through the steps in order within a day, or with count_by: users identified users (identify) within 30 days, with their anonymous events of the same day linked to them.
Path parameters
project
The project's id (
prj_…).Body
steps
A page (exact, or with * for any part) or a custom event, with optional property conditions.
Show 3 fieldsHide fields
type
pageeventvalue
conditions
With type event, property tests the event must pass, all of them.
Show 3 fieldsHide fields
property
operator
isis_notcontainsstarts_withvalue
filters
A dimension matching any of up to 20 values, or
or, a list of such filters (not nested). Filters in a list are ANDed; up to 20 in all. goal matches the names of the project's saved goals an event reaches (is_not: none of them); page_group matches the name of the first of the project's saved page groups whose pattern the event's path matches (empty when none does); new_returning is New or Returning.Show 4 fieldsHide fields
dimension
A dimension's name; keyed ones take a key:
props.plan.operator
isis_notcontainsnot_containsstarts_withregexvalues
or
split
A dimension to split the results by, or
new_returning: Returning is a visitor whose user id (identify) was seen before; everyone else is New.date_range
A preset, or
from and to as dates (2026-11-01, whole days in the project's time zone, to included) or RFC 3339 times (to excluded). Empty means the last 30 days. A range starting before the first day the plan keeps (retention_days of F47: the last N days, today included, in the project's time zone) starts on that day instead: the answer's date_range shows where it starts, and F1, F2 and the public queries add a range_clamped warning. A range wholly before it is empty.Show 3 fieldsHide fields
preset
todayyesterday7d30d90dthis_monthlast_monththis_yearallfrom
to
count_by
What to count:
visitors (the default; within a day) or users, identified people (identify) within 30 days across days and devices. Visitors that never identified are left out of users.visitorsusersResponses
How many visitors reached each step.
steps
One step's visitors.
Show 5 fieldsHide fields
step
A page (exact, or with * for any part) or a custom event, with optional property conditions.
Show 3 fieldsHide fields
type
pageeventvalue
conditions
With type event, property tests the event must pass, all of them.
Show 3 fieldsHide fields
property
operator
isis_notcontainsstarts_withvalue
visitors
Visitors who reached this step.
conversion
Percent of the first step's visitors.
drop
Percent lost from the step before.
median_seconds
The median time from the step before, in seconds, among those who reached this step. Absent on the first step, on splits, and when nobody reached it.
splits
The result for one value of the split dimension.
Show 2 fieldsHide fields
value
steps
One step's visitors.
Show 5 fieldsHide fields
step
A page (exact, or with * for any part) or a custom event, with optional property conditions.
Show 3 fieldsHide fields
type
pageeventvalue
conditions
With type event, property tests the event must pass, all of them.
Show 3 fieldsHide fields
property
operator
isis_notcontainsstarts_withvalue
visitors
Visitors who reached this step.
conversion
Percent of the first step's visitors.
drop
Percent lost from the step before.
median_seconds
The median time from the step before, in seconds, among those who reached this step. Absent on the first step, on splits, and when nobody reached it.
date_range
A resolved range [from, to) in UTC.
Show 2 fieldsHide fields
from
A time in UTC, ISO 8601.
to
A time in UTC, ISO 8601.
window
count_by
What the steps'
visitors count: visitors, or identified users.visitorsuserscompare
The steps over the comparison, counted the same way, without split or median times; only when the request has
compare or compare_filters.Show 5 fieldsHide fields
step
A page (exact, or with * for any part) or a custom event, with optional property conditions.
Show 3 fieldsHide fields
type
pageeventvalue
conditions
With type event, property tests the event must pass, all of them.
Show 3 fieldsHide fields
property
operator
isis_notcontainsstarts_withvalue
visitors
Visitors who reached this step.
conversion
Percent of the first step's visitors.
drop
Percent lost from the step before.
median_seconds
The median time from the step before, in seconds, among those who reached this step. Absent on the first step, on splits, and when nobody reached it.
compare_range
A resolved range [from, to) in UTC.
Show 2 fieldsHide fields
from
A time in UTC, ISO 8601.
to
A time in UTC, ISO 8601.
Example response
1{2"steps": [3{4"step": {5"type": "page",6"value": "string",7"conditions": [8{9"property": "plan",10"operator": "is",11"value": "pro"12}13]14},15"visitors": 1,16"conversion": 1.5,17"drop": 1.5,18"median_seconds": 1.519}20],21"splits": [22{23"value": "string",24"steps": [25{26"step": {27"type": "page",28"value": "string",29"conditions": [30{31"property": "plan",32"operator": "is",33"value": "pro"34}35]36},37"visitors": 1,38"conversion": 1.5,39"drop": 1.5,40"median_seconds": 1.541}42]43}44],45"date_range": {46"from": "2026-11-21T09:30:00Z",47"to": "2026-11-21T09:30:00Z"48},49"window": "1 day",50"count_by": "visitors",51"compare": [52{53"step": {54"type": "page",55"value": "string",56"conditions": [57{58"property": "plan",59"operator": "is",60"value": "pro"61}62]63},64"visitors": 1,65"conversion": 1.5,66"drop": 1.5,67"median_seconds": 1.568}69],70"compare_range": {71"from": "2026-11-21T09:30:00Z",72"to": "2026-11-21T09:30:00Z"73}74}
Errors
Every error has the same shape: error.code, a message for people and details.
| Status | Code |
|---|---|
validation_error | |
clickhouse_not_configured |