Analytics

get/analytics/page-hourly-sessions

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/analytics/page-hourly-sessions
  • Auth: HTTP bearer

Query parameters

page_pathstring required

The page path to get sessions for

project_idinteger required

Project ID

environment_idinteger

Environment ID (optional)

start_timestring required

Start time in format YYYY-MM-DD HH:MM:SS

end_timestring required

End time in format YYYY-MM-DD HH:MM:SS

bucket_intervalstring

Bucket interval: 'hour', 'day', 'week', or 'month' (default: auto-determined based on range)

Response

Successfully retrieved page sessions with time buckets

hoursinteger required
page_pathstring required
total_sessionsinteger required

Changes

No recorded changes to this operation across all 50 revisions of this API.