---
title: Analytics
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/typescript)

[Realtime Kit](https://developers.cloudflare.com/api/typescript/resources/realtime_kit)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Analytics

##### [Fetch day-wise session and recording analytics data for an App](https://developers.cloudflare.com/api/typescript/resources/realtime_kit/subresources/analytics/methods/get_org_analytics)

client.realtimeKit.analytics.getOrgAnalytics(stringappID, AnalyticsGetOrgAnalyticsParams {account\_id, end\_date, start\_date } params, RequestOptionsoptions?): [AnalyticsGetOrgAnalyticsResponse](<https://developers.cloudflare.com/api/typescript/resources/realtime_kit#(resource)%20realtime_kit.analytics%20%3E%20(model)%20analytics_get_org_analytics_response%20%3E%20(schema)>) {data, success }

GET/accounts/{account\_id}/realtime/kit/{app\_id}/analytics/daywise

##### ModelsExpand Collapse

<details>

<summary>

AnalyticsGetOrgAnalyticsResponse {data, success }

</summary>

<details>

<summary>

data?: Data {recording\_stats, session\_stats }

</summary>

<details>

<summary>

recording\_stats?: RecordingStats {day\_stats, recording\_count, recording\_minutes\_consumed }

Recording statistics of an App during the range specified

</summary>

<details>

<summary>

day\_stats?: Array&lt;DayStat&gt;

Day wise recording stats

</summary>

day?: string

<a href="#(resource)%20realtime_kit.analytics%20%3E%20(model)%20analytics_get_org_analytics_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20recording_stats%20%3E%20(property)%20day_stats%20%3E%20(items)%20%3E%20(property)%20day">Link to this property</a>

total\_recording\_minutes?: number

Total recording minutes for a specific day

<a href="#(resource)%20realtime_kit.analytics%20%3E%20(model)%20analytics_get_org_analytics_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20recording_stats%20%3E%20(property)%20day_stats%20%3E%20(items)%20%3E%20(property)%20total_recording_minutes">Link to this property</a>

total\_recordings?: number

Total number of recordings for a specific day

<a href="#(resource)%20realtime_kit.analytics%20%3E%20(model)%20analytics_get_org_analytics_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20recording_stats%20%3E%20(property)%20day_stats%20%3E%20(items)%20%3E%20(property)%20total_recordings">Link to this property</a>

</details>

<a href="#(resource)%20realtime_kit.analytics%20%3E%20(model)%20analytics_get_org_analytics_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20recording_stats%20%3E%20(property)%20day_stats">Link to this property</a>

recording\_count?: number

Total number of recordings during the range specified

<a href="#(resource)%20realtime_kit.analytics%20%3E%20(model)%20analytics_get_org_analytics_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20recording_stats%20%3E%20(property)%20recording_count">Link to this property</a>

recording\_minutes\_consumed?: number

Total recording minutes during the range specified

<a href="#(resource)%20realtime_kit.analytics%20%3E%20(model)%20analytics_get_org_analytics_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20recording_stats%20%3E%20(property)%20recording_minutes_consumed">Link to this property</a>

</details>

<a href="#(resource)%20realtime_kit.analytics%20%3E%20(model)%20analytics_get_org_analytics_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20recording_stats">Link to this property</a>

<details>

<summary>

session\_stats?: SessionStats {day\_stats, sessions\_count, sessions\_minutes\_consumed }

Session statistics of an App during the range specified

</summary>

<details>

<summary>

day\_stats?: Array&lt;DayStat&gt;

Day wise session stats

</summary>

day?: string

<a href="#(resource)%20realtime_kit.analytics%20%3E%20(model)%20analytics_get_org_analytics_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20session_stats%20%3E%20(property)%20day_stats%20%3E%20(items)%20%3E%20(property)%20day">Link to this property</a>

total\_session\_minutes?: number

Total session minutes for a specific day

<a href="#(resource)%20realtime_kit.analytics%20%3E%20(model)%20analytics_get_org_analytics_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20session_stats%20%3E%20(property)%20day_stats%20%3E%20(items)%20%3E%20(property)%20total_session_minutes">Link to this property</a>

total\_sessions?: number

Total number of sessions for a specific day

<a href="#(resource)%20realtime_kit.analytics%20%3E%20(model)%20analytics_get_org_analytics_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20session_stats%20%3E%20(property)%20day_stats%20%3E%20(items)%20%3E%20(property)%20total_sessions">Link to this property</a>

</details>

<a href="#(resource)%20realtime_kit.analytics%20%3E%20(model)%20analytics_get_org_analytics_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20session_stats%20%3E%20(property)%20day_stats">Link to this property</a>

sessions\_count?: number

Total number of sessions during the range specified

<a href="#(resource)%20realtime_kit.analytics%20%3E%20(model)%20analytics_get_org_analytics_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20session_stats%20%3E%20(property)%20sessions_count">Link to this property</a>

sessions\_minutes\_consumed?: number

Total session minutes during the range specified

<a href="#(resource)%20realtime_kit.analytics%20%3E%20(model)%20analytics_get_org_analytics_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20session_stats%20%3E%20(property)%20sessions_minutes_consumed">Link to this property</a>

</details>

<a href="#(resource)%20realtime_kit.analytics%20%3E%20(model)%20analytics_get_org_analytics_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20session_stats">Link to this property</a>

</details>

<a href="#(resource)%20realtime_kit.analytics%20%3E%20(model)%20analytics_get_org_analytics_response%20%3E%20(schema)%20%3E%20(property)%20data">Link to this property</a>

success?: boolean

<a href="#(resource)%20realtime_kit.analytics%20%3E%20(model)%20analytics_get_org_analytics_response%20%3E%20(schema)%20%3E%20(property)%20success">Link to this property</a>

</details>

[Link to this property](<#(resource)%20realtime_kit.analytics%20%3E%20(model)%20analytics_get_org_analytics_response%20%3E%20(schema)>)