v8

latestOpenAPI 3.0.3raw.githubusercontent.com2026-05-2526602.8 MB
Analytics - Summary

Get Historical Performance

Get historical earnings chart data for the team. Returns monthly aggregated revenue data for the specified time range.

post/api/analytics/summary/historical

Request body

time_range'3m' | '6m' | '12m' | 'ytd' | 'last-year'

The time range for historical data

Example request

{
  "time_range": "12m"
}

Response

periodstring
valuenumber

Example response

[
  {
    "period": "2024-01",
    "value": 5000
  },
  {
    "period": "2024-02",
    "value": 5500
  }
]