# Run the retention schedule now

`POST /compliance/center/retention/run` · Rivier · compliance

Run the retention schedule now: a dry run records what is past its time; applying deletes it and needs a person.

- Scope: compliance:write
- Mcp: rivier_compliance_retention_run
- Graphql: Mutation.complianceRetentionRun
- Sdk: compliance.retention.run
- Cli: compliance retention run

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "apply": {
      "type": "boolean"
    }
  },
  "additionalProperties": false
}
```

## 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/compliance/center/retention/run' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "apply": false
}'
```
