---
title: "An ordered funnel"
method: GET
path: "/api/funnel"
tags: ["analytics"]
---

# An ordered funnel

`GET /api/funnel`

## Request

- Base URL: `https://app.vitrus.dev/app`
- URL: `https://app.vitrus.dev/app/api/funnel`
- Auth: one of:
  - API key in cookie `vitrus_session`
  - HTTP bearer

Steps are counted IN ORDER: step N must happen after step N−1. Step values are always bound parameters — only the number and type of steps shape the generated SQL.

## Query parameters

- `site` string, required
- `days` integer
- `steps` string

## Response `200`

Funnel, the generated SQL and its parameters.

---

[API](https://skmtc.dev/vitrus/apis/vitrus-api.md) · [All operations](https://skmtc.dev/vitrus/apis/vitrus-api/llms.txt) · [OpenAPI document](https://skmtc.dev/vitrus/apis/vitrus-api/revisions/a7d8c6e18f7c?raw)
