---
title: "Export tasks"
method: GET
path: "/task/export/{projectId}"
tags: ["Tasks"]
---

# Export tasks

`GET /task/export/{projectId}`

Export a project's tasks, with their labels, as a JSON document.

## Path parameters

- `projectId` string, required

## Response `200`

The exported project and tasks

- TaskExport
  - `project` TaskExportProject, required
    - `name` string, required
    - `slug` string, required
    - `description` string, nullable, required
    - `exportedAt` string, date-time, required
  - `tasks` ExportedTask[], required
    - `title` string, required
    - `description` string, required
    - `status` string, required
    - `priority` string, required
    - `dueDate` string, date-time, nullable, required
    - `startDate` string, date-time, nullable, required
    - `userId` string, nullable, required
    - `labels` ExportedTaskLabel[], required — Label names and colors, without their ids.
      - `name` string, required
      - `color` string, required

## Other responses

- `400` — Unknown project, or its workspace could not be determined
- `401` — Missing or invalid credentials
- `403` — No access to the project's workspace

## Changes

- **2026-08-24** `08bbb5bedb5d` — 5 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
  - added the required property `project` to the response with the `200` status
  - …1 more
- **2026-07-11** `32cece1ebe43` — 1 breaking
  - the response's body type/format changed from ``/`` to `object`/`` for status `200`

[Change history](https://skmtc.dev/usekaneo/apis/kaneo-api/changes/task/export/:projectId/get.md)

---

[API](https://skmtc.dev/usekaneo/apis/kaneo-api.md) · [All operations](https://skmtc.dev/usekaneo/apis/kaneo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usekaneo/kaneo-api/revisions/7ccee4eec682/schema)
