---
title: "Export workspace analytics"
method: GET
path: "/api/v1/w/{wId}/analytics/export"
tags: ["Workspace"]
---

# Export workspace analytics

`GET /api/v1/w/{wId}/analytics/export`

Export analytics data for the workspace identified by {wId} in CSV or JSON format.

## Path parameters

- `wId` string, required

## Query parameters

- `table` 'usage_metrics' | 'active_users' | 'source' | 'agents' | 'users' | 'skills' | 'skill_usage' | 'tool_usage' | 'messages' | 'feedback', required
- `startDate` string, date, required
- `endDate` string, date, required
- `timezone` string
- `format` 'csv' | 'json'

## Response `200`

The analytics data in CSV or JSON format

- object[]

## Other responses

- `400` — Invalid request query parameters
- `403` — Requires an API key with admin scope

## Changes

- **2026-06-19** `dd1d68eb88eb` — 1 info
  - added the new enum value `skills` to the `query` request parameter `table`
- **2026-06-19** `e5d6a51d91df` — 1 breaking
  - removed the enum value `skills` from the `query` request parameter `table`
- **2026-06-17** `8848d86acfa5` — 1 info
  - added the new enum value `skills` to the `query` request parameter `table`
- **2026-06-07** `d541dc9c10e1` — 1 breaking
  - removed the enum value `skills` from the `query` request parameter `table`

[Change history](https://skmtc.dev/dust-tt/apis/dust-api-documentation/changes/api/v1/w/:wId/analytics/export/get.md)

---

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