---
title: "Export all tasks as CSV"
method: POST
path: "/reporting/all-tasks/export/csv"
tags: ["Reporting"]
---

# Export all tasks as CSV

`POST /reporting/all-tasks/export/csv`

Export all tasks as CSV. Includes request parameters, authorization expectations, and response details.

## Request body

- ReportingAllTasksRequest
  - `index` integer, required
  - `size` integer, required
  - `sortField` string
  - `sortOrder` 'asc' | 'desc'
  - `search` string, nullable
  - `teams` string[], nullable
  - `projects` string[], nullable
  - `statuses` string[], nullable
  - `priorities` string[], nullable
  - `assignees` string[], nullable
  - `labels` string[], nullable
  - `phases` string[], nullable
  - `dateField` 'due_date' | 'start_date' | 'created_at' | 'completed_at', nullable
  - `dateFrom` string, date, nullable
  - `dateTo` string, date, nullable
  - `includeArchived` boolean
  - `includeSubtasks` boolean
  - `completionStatus` 'all' | 'completed' | 'incomplete' | 'overdue'
  - `billable` 'all' | 'billable' | 'non-billable'
  - `groupBy` string, nullable

## Response `200`

CSV file stream

---

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