> ## Documentation Index
> Fetch the complete documentation index at: https://docs.langdock.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Export Project Usage

> API endpoint to export project activity data including involved users and resource consumption

This endpoint exports project usage data including activity metrics, involved users per project, and resource consumption statistics.

## Before You Start

* **Prerequisites and rate limits**: See the [Usage Export API overview](https://docs.langdock.com/en/developer/usage-export-api/intro-to-usage-export-api.md).
* **Browser requests**: Langdock intentionally blocks browser-origin requests to protect your API key. Use API keys server-side and store them securely. See [API Key Best Practices](https://docs.langdock.com/en/admin/ai-adoption-and-rollout/best-practices/api-key-best-practices.md).
* **Privacy**: For workspaces with user-level data disabled, the project owner email is excluded from exports to maintain privacy compliance.

## Base URL

```
https://api.langdock.com/export/projects
```

> [!WARNING]
>
> **Dedicated deployments**
>
> Replace `api.langdock.com` with `<your-deployment-url>/api/public` in all requests.

## Data Included

The project export returns one row per project.

| Column | Description |
| - | - |
| `period_start` | Start date of the report |
| `period_end` | End date of the report |
| `org_id` | ID of the workspace |
| `project_id` | ID of the project |
| `project_name` | Name of the project |
| `project_owner_id` | ID of the project owner |
| `project_owner_email` | Email of the project owner; included only when user-level data is enabled |
| `messages` | Number of messages in project chats |

`group_by` is not supported for project exports.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.