---
title: "Get user retention cohorts"
method: GET
path: "/v0/retention"
tags: ["Query"]
---

# Get user retention cohorts

`GET /v0/retention`

## Request

- Base URL: `https://api.formo.so`
- URL: `https://api.formo.so/v0/retention`
- Auth: HTTP bearer

## Query parameters

- `date_from` string, date
- `date_to` string, date
- `filters` string
- `id_type` 'address' | 'anonymous_id'
- `event_type` string
- `event_name` string
- `min_users` integer
- `limit` integer
- `user_filters` string

## Response `200`

Retention cohorts

- AnalyticsResponse: Analytics endpoint response. The `data` array contains the rows; the exact row shape depends on the endpoint. `meta` carries column type information for rendering, `rows` is the row count, and `statistics` holds query timing metadata.
  - `data` object[]
  - `meta` object[]
    - `name` string
    - `type` string
  - `rows` integer
  - `rows_before_limit_at_least` integer
  - `statistics` object

## Other responses

- `401`: Invalid API key
- `403`: Insufficient permissions

---

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