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

# Get all tasks

`GET /v1/tasks`

Retrieve all tasks for the authenticated organization. Employees/contractors only see their assigned tasks.

## Query parameters

- `includeRelations` string

## Response `200`

Tasks retrieved successfully

- TaskResponseDto[]
  - `id` string, required — Unique identifier for the task
  - `title` string, required — Task title
  - `description` string — Task description
  - `status` 'todo' | 'in_progress' | 'done' | 'blocked', required — Task status
  - `createdAt` string, date-time, required — Task creation timestamp
  - `updatedAt` string, date-time, required — Task last update timestamp
  - `taskTemplateId` object, nullable — Task template ID

## Other responses

- `401` — Unauthorized - Invalid authentication

---

[API](https://skmtc.dev/trycompai/apis/comp-ai-api.md) · [All operations](https://skmtc.dev/trycompai/apis/comp-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/trycompai/comp-ai-api/revisions/6e22489e33cb/schema)
