logs

post/api/projects/{project_id}/logs/group-by/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/logs/group-by/
  • Auth: HTTP bearer

Path parameters

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Request body

Response

total_groupsinteger required

Total distinct group values matching the filters, before the top-N cap.

total_logsinteger required

Total matching logs across all groups (rows without the grouping key are excluded).

truncatedboolean required

True when more groups matched than were returned (total_groups > groups length).

Changes

No recorded changes to this operation across all 1 revision of this API.