# Workspace org retention get

`GET /organizations/{id}/archive-retention` · Rivier · workspace

How many days an archived workspace is kept before it is retired, with the allowed range.

- Scope: workspace:read
- Graphql: Query.workspaceOrgRetentionGet
- Sdk: workspace.orgRetention.get
- Cli: workspace org retention get

## Parameters

- `id` (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 GET 'https://api.rivier.ai/organizations/{id}/archive-retention' \
  -H 'Authorization: Bearer $KEY'
```
