---
title: "Lists version history for a row (newest first)."
method: GET
path: "/datatables/{tableId}/rows/{rowId}/versions"
tags: ["DataTables"]
---

# Lists version history for a row (newest first).

`GET /datatables/{tableId}/rows/{rowId}/versions`

## Request

- Base URL: `https://api.reveldigital.com`
- URL: `https://api.reveldigital.com/datatables/{tableId}/rows/{rowId}/versions`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://id.reveldigital.com/connect/authorize`
    - Token URL: `https://id.reveldigital.com/connect/token` scopes: `webapi`
  - API key in header `X-RevelDigital-ApiKey`
  - API key in query parameter `api_key`
- TypeScript: <https://skmtc.dev/reveldigital/apis/revel-digital-rest-api/docs/datatables/:tableId/rows/:rowId/versions/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `tableId` string, required
- `rowId` string, required

## Query parameters

- `pageSize` integer
- `continuationToken` string

## Response `200`

OK

- VersionListResponse
  - `data` RowVersionModel[], nullable
    - `id` string, nullable
    - `rowId` string, nullable
    - `version` integer
    - `action` string, nullable
    - `data` object, nullable: Free-form JSON object keyed by column `key`; each value is a raw JSON scalar, object, or `media` object.
    - `changedFields` string[], nullable
    - `previousValues` object, nullable: Free-form JSON object keyed by column `key`; each value is a raw JSON scalar, object, or `media` object.
    - `changedBy` string, nullable
    - `timestamp` string, date-time
  - `totalCount` integer
  - `continuationToken` string, nullable

## Other responses

- `404`: Not Found

---

[API](https://skmtc.dev/reveldigital/apis/revel-digital-rest-api.md) - [All operations](https://skmtc.dev/reveldigital/apis/revel-digital-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/reveldigital/apis/revel-digital-rest-api/revisions/39d5c8302822?raw)
