---
title: "Export Workspace Csv"
method: POST
path: "/api/v3/export/workspaces/{workspace_id}"
tags: ["Export"]
---

# Export Workspace Csv

`POST /api/v3/export/workspaces/{workspace_id}`

Export workspace data to CSV format.

Args:
    workspace_id: The workspace ID to export
    request: WorkspaceExportRequest object containing filter, sort, search, column_ids, and institution_ids
    token_BEARER: Authentication token
    app_session: Database app_session

## Path parameters

- `workspace_id` string, required

## Request body

- WorkspaceExportRequest
  - `filters` unknown[], nullable
    - unknown
  - `sort` Sort
    - `column` string, required
    - `direction` 'asc' | 'desc', required
  - `search` string, nullable
  - `column_ids` string[], nullable
  - `institution_ids` string[], nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

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