---
title: "Query Retention Report"
method: GET
path: "/retention"
tags: ["Retention"]
---

# Query Retention Report

`GET /retention`

## Query parameters

- `project_id` integer, required
- `workspace_id` integer
- `from_date` string, required
- `to_date` string, required
- `retention_type` 'birth' | 'compounded'
- `born_event` string
- `event` string
- `born_where` string
- `where` string
- `interval` integer
- `interval_count` integer
- `unit` 'day' | 'week' | 'month'
- `unbounded_retention` boolean
- `on` string
- `limit` integer

## Response `200`

Success.

- object

---

[API](https://skmtc.net/mixpanel/apis/query-api.md) · [All operations](https://skmtc.net/mixpanel/apis/query-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mixpanel/query-api/revisions/f442da95252a/schema)
