Organization Analytics
View per-member recording statistics and team usage data
The analytics endpoint returns aggregated recording statistics for your organization, broken down by member.
Get Analytics
GET /api/v1/organization/:orgId/analyticsMinimum role: viewer
Query Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
start_date | string | 30 days ago | Start of the reporting period (YYYY-MM-DD) |
end_date | string | today | End of the reporting period (YYYY-MM-DD) |
Example Request
curl -X GET "https://public.heypocketai.com/api/v1/organization/org_abc/analytics?start_date=2026-03-01&end_date=2026-03-31" \
-H "Authorization: Bearer pk_xxx"Response
{
"period": {
"start_date": "2026-03-01",
"end_date": "2026-03-31"
},
"totals": {
"recordings": 142,
"total_duration_seconds": 256800,
"summarizations": 138
},
"members": [
{
"user_id": "usr_001",
"email": "alice@example.com",
"name": "Alice Chen",
"recordings": 54,
"total_duration_seconds": 97200,
"summarizations": 52
},
{
"user_id": "usr_002",
"email": "bob@example.com",
"name": "Bob Martinez",
"recordings": 88,
"total_duration_seconds": 159600,
"summarizations": 86
}
]
}Response Fields
| Field | Type | Description |
|---|---|---|
period.start_date | string | Inclusive start date of the period |
period.end_date | string | Inclusive end date of the period |
totals.recordings | number | Total recordings across all members |
totals.total_duration_seconds | number | Combined duration in seconds |
totals.summarizations | number | Total summarizations generated |
members[].user_id | string | Member's user ID |
members[].email | string | Member's email address |
members[].name | string | Member's display name |
members[].recordings | number | Recordings created by this member |
members[].total_duration_seconds | number | Combined duration for this member |
members[].summarizations | number | Summarizations generated for this member |
