---
title: "List a session’s revisions"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.cloudraker.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List a session’s revisions

Path: CloudRaker Paperwork API › Redline

`GET /v1/redline/{sessionId}/revisions`

Lists every revision of the session, oldest first: what was done, by whom, and when.

**Learn more:** [Redlining](https://docs.cloudraker.com/paperwork/developers/file-tools)

## Authentication

- `bearerAuth`, http, header `Authorization`

## Path parameters

- `sessionId` (`listRedlineRevisions.path.sessionId`; string, required)
  - minLength 1

## Code samples

### cURL

```bash
curl --request GET \
  --url 'https://api.cloudraker.com/v1/redline/<sessionId>/revisions' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.cloudraker.com/v1/redline/<sessionId>/revisions';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.cloudraker.com/v1/redline/<sessionId>/revisions"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

The revisions.

#### Example

```json
{
  "object": "list",
  "data": [
    {
      "seq": -9007199254740991,
      "ts": "string",
      "actor": "string"
    }
  ]
}
```

- `object` (`listRedlineRevisions.response.200.object`; string, required)
- `data` (`listRedlineRevisions.response.200.data`; array<object>, required)
  - `seq` (`listRedlineRevisions.response.200.data.seq`; integer, required)
    - min -9007199254740991; max 9007199254740991
  - `ts` (`listRedlineRevisions.response.200.data.ts`; string, required)
  - `actor` (`listRedlineRevisions.response.200.data.actor`; string, required)

### 400

Validation Error

#### Example

```json
{
  "success": false,
  "error": [
    null
  ],
  "data": null
}
```

- `success` (`listRedlineRevisions.response.400.success`; boolean, required)
  - one of `false`
- `error` (`listRedlineRevisions.response.400.error`; array<unknown>, required)
- `data` (`listRedlineRevisions.response.400.data`; unknown, required)

### 404

Unknown or expired session.

### 429

Rate limited. The `/v1` API allows at least **67 requests per minute per organization** (about 1,000 requests per 15 minutes) — a guaranteed floor, enforced per edge location, so a geographically spread caller may get more. Wait for the `Retry-After` interval and retry — the error is `retryable`.

#### Example

```json
{
  "code": "rate_limited",
  "message": "string",
  "retryable": true,
  "requestId": "string",
  "docUrl": "string"
}
```

- `code` (`listRedlineRevisions.response.429.code`; string, required)
  - one of `"rate_limited"`
- `message` (`listRedlineRevisions.response.429.message`; string, required)
- `retryable` (`listRedlineRevisions.response.429.retryable`; boolean, required)
  - one of `true`
- `requestId` (`listRedlineRevisions.response.429.requestId`; string, required)
- `docUrl` (`listRedlineRevisions.response.429.docUrl`; string, optional)


Source: https://docs.cloudraker.com/paperwork/api/redline/list-redline-revisions/index.md
