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

# Revisions

> Access item revision history

Revisions track changes made to items over time.

## List Revisions

Retrieve all revisions for an item.

```bash theme={null}
GET /revisions
```

**Filter by collection and item:**

```bash theme={null}
GET /revisions?filter[collection][_eq]=articles&filter[item][_eq]=1
```

## Get Revision

Retrieve a specific revision.

```bash theme={null}
GET /revisions/:id
```

**Example:**

```bash theme={null}
curl "https://your-directus-instance.com/revisions/123" \
  -H "Authorization: Bearer YOUR_TOKEN"
```

## Revision Properties

<ResponseField name="id" type="integer">
  Revision ID
</ResponseField>

<ResponseField name="collection" type="string">
  Collection name
</ResponseField>

<ResponseField name="item" type="string">
  Item ID
</ResponseField>

<ResponseField name="data" type="object">
  Item data at this revision
</ResponseField>

<ResponseField name="delta" type="object">
  Changes made in this revision
</ResponseField>

<ResponseField name="activity" type="integer">
  Related activity log ID
</ResponseField>

## Item Revisions

Get revisions for a specific item:

```bash theme={null}
GET /items/:collection/:id/revisions
```

**Example:**

```bash theme={null}
curl "https://your-directus-instance.com/items/articles/1/revisions" \
  -H "Authorization: Bearer YOUR_TOKEN"
```

## Revert to Revision

To revert an item to a previous revision, update the item with the revision's data:

```bash theme={null}
PATCH /items/:collection/:id
```

With the `data` from the revision as the request body.

## Next Steps

<CardGroup cols={2}>
  <Card title="Activity" icon="clock-rotate-left" href="/api/rest/activity">
    View activity logs
  </Card>

  <Card title="Items" icon="database" href="/api/rest/items">
    Manage items
  </Card>
</CardGroup>
