Skip to main content
GET
/
v0
/
event_timeseries
Get event count time-series
curl --request GET \
  --url https://api.formo.so/v0/event_timeseries \
  --header 'Authorization: Bearer <token>'
{
  "meta": [
    {
      "name": "date",
      "type": "Date"
    },
    {
      "name": "event_key",
      "type": "String"
    },
    {
      "name": "count",
      "type": "UInt64"
    }
  ],
  "data": [
    {
      "date": "2025-10-15",
      "event_key": "page",
      "count": 1187
    },
    {
      "date": "2025-10-15",
      "event_key": "wallet_connect",
      "count": 124
    },
    {
      "date": "2025-10-15",
      "event_key": "swap",
      "count": 38
    },
    {
      "date": "2025-10-15",
      "event_key": "identify",
      "count": 412
    }
  ],
  "rows": 4,
  "rows_before_limit_at_least": 4
}

Authorizations

Authorization
string
header
required

Workspace API key (e.g. formo_xxx). Create one in the Formo dashboard under Team Settings > API Keys.

Query Parameters

date_from
string<date>

Inclusive start date (YYYY-MM-DD). Defaults to 7 days before date_to.

date_to
string<date>

Inclusive end date (YYYY-MM-DD). Defaults to today.

exclude
string

Comma-separated list of event types to exclude from results (e.g. identify,detect).

group_by
enum<string>

Optional breakdown dimension. When set, event_key carries the dimension's value (empty → Direct) instead of the event type/name, so the series splits by that dimension. Top 100 values + Others.

Available options:
channel_type,
device,
browser,
os,
location,
referrer,
ref,
utm_source,
utm_medium,
utm_campaign,
utm_content,
utm_term,
builder_codes

Response

Event time-series

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[]
rows
integer
rows_before_limit_at_least
integer
statistics
object