# List settings history

https://radiologydictation.com/docs/get-v1-client-settings-history

```http
GET /v1/client/settings/history
```

List saved settings versions, newest first. Use next_before as the before query parameter to load the next page. Each item identifies its revision, timestamp, source, actor, and whether it was a save, baseline, or restore. Existing workspaces receive a baseline when they next save; earlier changes cannot be recovered.

## Authentication

Create a named API key in your workspace’s API keys tab, then send it in the Authorization header on each API request. Your key connects the integration to that workspace’s saved settings and Word templates. Signing into the website does not replace this header in an API integration.

```http
Authorization: Bearer <API_KEY>
```

Keep the key in your application’s server-side secret configuration. It is shown only once when created, so save it securely then. Do not place it in browser code, logs, version control, or a prompt sent to your coding agent. You can revoke an integration’s key from the workspace without changing the other keys.

## Parameters

| Name | Type | Required | Constraints | Description |
| --- | --- | --- | --- | --- |
| before | query: integer \| null | No |  |  |

## Example

```bash
BASE_URL=https://radiologydictation.com

curl --request GET "$BASE_URL/v1/client/settings/history" \
  --header "Authorization: Bearer $API_KEY"
```

## Responses

| Status | Description | Type |
| --- | --- | --- |
| 200 | Successful Response | SettingsHistory · application/json |
| 401 | Invalid or missing API key | object · application/json |
| 429 | Too many attempts. Please try again later. | object · application/json |
| 503 | Service is unavailable. Please try again. | object · application/json |
| 422 | Validation Error | HTTPValidationError · application/json |

### Response headers · 429

| Header | Type | Description |
| --- | --- | --- |
| Retry-After | string |  |

## Schemas

### HTTPValidationError

| Name | Type | Required | Constraints | Description |
| --- | --- | --- | --- | --- |
| detail | array<ValidationError> | No |  |  |

### SettingsHistory

| Name | Type | Required | Constraints | Description |
| --- | --- | --- | --- | --- |
| items | array<SettingsVersionSummary> | Yes |  |  |
| current_revision | integer | Yes |  |  |
| next_before | integer \| null | No |  |  |

### SettingsVersionSummary

| Name | Type | Required | Constraints | Description |
| --- | --- | --- | --- | --- |
| source | string | No | enum=["workspace", "api", "system"]; default="system" |  |
| actor_id | string \| null | No |  |  |
| revision | integer | Yes | minimum=0.0 |  |
| parent_revision | integer \| null | No |  |  |
| created_at | string (date-time) | Yes |  |  |
| action | string | Yes | enum=["baseline", "update", "restore"] |  |
| restored_from | integer \| null | No |  |  |

### ValidationError

| Name | Type | Required | Constraints | Description |
| --- | --- | --- | --- | --- |
| loc | array<string \| integer> | Yes |  |  |
| msg | string | Yes |  |  |
| type | string | Yes |  |  |
| input | object | No |  |  |
| ctx | object | No |  |  |
