---
title: "Changes to Get project analytics"
method: GET
path: "/v1/projects/{project_id}/analytics"
---

# Changes to Get project analytics

`GET /v1/projects/{project_id}/analytics`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 10 of 30 revisions.

- **2026-09-18** `a83f0776a896`: 2 breaking, 2 warning, 2 info
- **2026-09-17** `63e95b862209`: 1 info
- **2026-09-16** `1eba97261efb`: 5 breaking, 1 warning, 6 info
- **2026-09-15** `82dda6df74b8`: 45 breaking, 5 warning, 38 info
- **2026-09-14** `8539cafd5cb6`: 2 breaking, 27 info
- **2026-09-11** `b19e0179b77a`: 1 info
- **2026-09-11** `c7f67a5564ac`: 2 info
- **2026-09-08** `365d100cf29a`: 1 info
- **2026-09-01** `f80fa99514e8`: 2 warning
- **2026-08-11** `c62854e18011`: 4 info

## Changes

- **2026-09-18** `a83f0776a896`: 2 breaking, 2 warning, 2 info
  - added the new required `query` request parameter `ends_at`
  - added the new required `query` request parameter `starts_at`
  - deleted the `query` request parameter `end_date`
  - deleted the `query` request parameter `start_date`
  - for the `header` request parameter `Lovable-Version`, the format was generalized from `date` to no format
  - added the non-success response with the status `503`
- **2026-09-17** `63e95b862209`: 1 info
  - added the non-success response with the status `404`
- **2026-09-16** `1eba97261efb`: 5 breaking, 1 warning, 6 info
  - the `query` request parameter `end_date` became required
  - the `query` request parameter `start_date` became required
  - the `time_series` response's property type changed from no type to `object` for status `200`
  - removed the required property `lists` from the response with the `200` status
  - removed the required property `trend` from the response with the `200` status
  - deleted the `query` request parameter `series`
  - removed `#/components/schemas/TimeSeriesGroup, subschema #2` from the `time_series` response property `oneOf` list for the response status `200`
  - added the required property `time_series/bounce_rate` to the response with the `200` status
  - added the required property `time_series/pageviews` to the response with the `200` status
  - added the required property `time_series/pageviews_per_visit` to the response with the `200` status
  - added the required property `time_series/session_duration` to the response with the `200` status
  - added the required property `time_series/visitors` to the response with the `200` status
- **2026-09-15** `82dda6df74b8`: 45 breaking, 5 warning, 38 info
  - the response property `detail` became nullable for the status `400`
  - the response property `detail` became nullable for the status `401`
  - the response property `detail` became nullable for the status `402`
  - the response property `detail` became nullable for the status `403`
  - the response property `detail` became nullable for the status `406`
  - the response property `detail` became nullable for the status `429`
  - the response property `detail` became nullable for the status `default`
  - the response property `errors` became nullable for the status `400`
  - the response property `errors` became nullable for the status `401`
  - the response property `errors` became nullable for the status `402`
  - the response property `errors` became nullable for the status `403`
  - the response property `errors` became nullable for the status `406`
  - the response property `errors` became nullable for the status `429`
  - the response property `errors` became nullable for the status `default`
  - the response property `errors/items/location` became nullable for the status `400`
  - the response property `errors/items/location` became nullable for the status `401`
  - the response property `errors/items/location` became nullable for the status `402`
  - the response property `errors/items/location` became nullable for the status `403`
  - the response property `errors/items/location` became nullable for the status `406`
  - the response property `errors/items/location` became nullable for the status `429`
  - the response property `errors/items/location` became nullable for the status `default`
  - the response property `props` became nullable for the status `400`
  - the response property `props` became nullable for the status `401`
  - the response property `props` became nullable for the status `402`
  - the response property `props` became nullable for the status `403`
  - the response property `props` became nullable for the status `406`
  - the response property `props` became nullable for the status `429`
  - the response property `props` became nullable for the status `default`
  - added `#/components/schemas/AnalyticsBreakdownGroup, subschema #2` to the `lists` response property `oneOf` list for the response status `200`
  - added `#/components/schemas/AnalyticsTrend, subschema #2` to the `trend` response property `oneOf` list for the response status `200`
  - added `#/components/schemas/TimeSeriesGroup, subschema #2` to the `time_series` response property `oneOf` list for the response status `200`
  - the `lists` response's property type changed from `object` to no type for status `200`
  - the `time_series` response's property type changed from `object` to no type for status `200`
  - the `trend` response's property type changed from `object` to no type for status `200`
  - removed the required property `lists/country` from the response with the `200` status
  - removed the required property `lists/device` from the response with the `200` status
  - removed the required property `lists/page` from the response with the `200` status
  - removed the required property `lists/source` from the response with the `200` status
  - removed the required property `time_series/bounceRate` from the response with the `200` status
  - removed the required property `time_series/pageviews` from the response with the `200` status
  - …48 more
- **2026-09-14** `8539cafd5cb6`: 2 breaking, 27 info
  - the `query` request parameter `granularity` was restricted to a list of enum values
  - for the `query` request parameter `granularity`, default value `daily` was added
  - the endpoint scheme security `BearerAuth` was added to the API
  - the endpoint scheme security `LovableAPIKey` was added to the API
  - added the new enum value `daily` to the `query` request parameter `granularity`
  - added the new enum value `hourly` to the `query` request parameter `granularity`
  - added the non-success response with the status `400`
  - added the optional property `timeSeries/bounceRate/data/items/timestamp` to the response with the `200` status
  - added the optional property `timeSeries/bounce_rate` to the response with the `200` status
  - added the optional property `timeSeries/pageviews/data/items/timestamp` to the response with the `200` status
  - added the optional property `timeSeries/pageviewsPerVisit/data/items/timestamp` to the response with the `200` status
  - added the optional property `timeSeries/pageviews_per_visit` to the response with the `200` status
  - added the optional property `timeSeries/sessionDuration/data/items/timestamp` to the response with the `200` status
  - added the optional property `timeSeries/session_duration` to the response with the `200` status
  - added the optional property `timeSeries/visitors/data/items/timestamp` to the response with the `200` status
  - added the optional property `time_series` to the response with the `200` status
  - added the optional property `trend/current_visitors` to the response with the `200` status
  - added the optional property `trend/data/items/timestamp` to the response with the `200` status
  - response property `timeSeries` deprecated
  - response property `timeSeries/bounceRate` deprecated
  - response property `timeSeries/bounceRate/data/items/date` deprecated
  - response property `timeSeries/pageviews/data/items/date` deprecated
  - response property `timeSeries/pageviewsPerVisit` deprecated
  - response property `timeSeries/pageviewsPerVisit/data/items/date` deprecated
  - response property `timeSeries/sessionDuration` deprecated
  - response property `timeSeries/sessionDuration/data/items/date` deprecated
  - response property `timeSeries/visitors/data/items/date` deprecated
  - response property `trend/currentVisitors` deprecated
  - response property `trend/data/items/time` deprecated
- **2026-09-11** `b19e0179b77a`: 1 info
  - api operation id `get-v1-projects-project_id-analytics` removed and replaced with `getProjectAnalytics`
- **2026-09-11** `c7f67a5564ac`: 2 info
  - added the new optional `header` request parameter `Lovable-Beta`
  - added the new optional `header` request parameter `Lovable-Version`
- **2026-09-08** `365d100cf29a`: 1 info
  - added the non-success response with the status `402`
- **2026-09-01** `f80fa99514e8`: 2 warning
  - deleted the `query` request parameter `endDate`
  - deleted the `query` request parameter `startDate`
- **2026-08-11** `c62854e18011`: 4 info
  - added the new optional `query` request parameter `end_date`
  - added the new optional `query` request parameter `start_date`
  - for the `query` request parameter `endDate`, the format was generalized from `date-time` to no format
  - for the `query` request parameter `startDate`, the format was generalized from `date-time` to no format

---

[Operation](https://skmtc.dev/lovable/apis/lovable-api/docs/v1/projects/:project_id/analytics/get.md) - [API](https://skmtc.dev/lovable/apis/lovable-api.md) - [Page](https://skmtc.dev/lovable/apis/lovable-api/changes/v1/projects/:project_id/analytics/get)
