---
title: "Get all tasks across cohorts"
method: GET
path: "/tasks"
tags: ["Tasks"]
---

# Get all tasks across cohorts

`GET /tasks`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/tasks`
- Auth: HTTP bearer

Get all tasks across all cohorts with filtering, sorting, and pagination. Supports search, status, phase, cohort, assignee, and date range filters.

## Query parameters

- `search` string
- `status` string
- `phase` string
- `cohortIds` string
- `assigneeIds` string
- `dueDateFrom` string, date
- `dueDateTo` string, date
- `isOverdue` boolean
- `includeOverdue` boolean
- `sortBy` 'due_date' | 'partner' | 'cohort' | 'status'
- `sortOrder` 'asc' | 'desc'
- `page` integer
- `limit` integer

## Response `200`

Tasks retrieved successfully

- object
  - `success` boolean
  - `data` object
    - `data` CrossCohortTaskRow[]
      - `id` string, uuid: Task unique identifier
      - `title` string: Task title
      - `cohort_id` string, uuid: Cohort this task belongs to
      - `cohort_name` string: Name of the cohort
      - `cohort_code` string, nullable: Cohort code
      - `phase_name` string, nullable: Task phase name
      - `partner_name` string, nullable: Partner organization name
      - `status` 'not_started' | 'in_progress' | 'complete' | 'blocked' | 'cancelled': Task status
      - `priority` 'low' | 'medium' | 'high' | 'urgent': Task priority
      - `due_date` string, date, nullable: Due date
      - `assignee_id` string, uuid, nullable: Assigned user ID
      - `assignee_name` string, nullable: Full name of assignee
      - `assignee_email` string, nullable: Email of assignee
    - `pagination` object
      - `page` integer
      - `limit` integer
      - `total` integer
      - `totalPages` integer

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/withmedley/apis/medley-api.md) - [All operations](https://skmtc.dev/withmedley/apis/medley-api/llms.txt) - [OpenAPI document](https://skmtc.dev/withmedley/apis/medley-api/revisions/40aaac5ca6bd?raw)
