# Make the export of a workspace's records, kept for seven days

`POST /organizations/{id}/workspaces/{wid}/export` · Rivier · workspace

Make the export of a workspace's records, kept for seven days.

- Scope: workspace:admin
- Graphql: Mutation.workspaceOrgWorkspaceExport
- Sdk: workspace.orgWorkspace.export
- Cli: workspace org workspace export

## Parameters

- `id` (path, required), string
- `wid` (path, required), string

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/organizations/{id}/workspaces/{wid}/export' \
  -H 'Authorization: Bearer $KEY'
```
