Tasks

Get grouped task counts

Get task counts grouped by a specified field, using the same filters as GET /tasks. Returns group keys, labels, and counts without task data.

get/tasks/group-counts

Request

  • Base URL
    https://api.production.yourmedley.com
  • Auth
    HTTP bearer

Query parameters

groupBy'cohort' | 'phase' | 'status' | 'assignee' | 'partner' required

Field to group task counts by

searchstring

Search task title, cohort name, or assignee name

statusstring

Comma-separated list of statuses to filter by

phasestring

Comma-separated list of phase slugs or names to filter by

cohortIdsstring

Comma-separated list of cohort IDs to filter by

assigneeIdsstring

Comma-separated list of user IDs to filter by assignee

dueDateFromstring date

Filter tasks with due date on or after this date

dueDateTostring date

Filter tasks with due date on or before this date

isOverdueboolean

Filter for overdue tasks only

includeOverdueboolean

Include overdue tasks in addition to date range filter (OR logic)

Response

Group counts retrieved successfully

successboolean

Changes

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