---
title: "List spec revisions"
method: GET
path: "/api/v1/projects/{projectId}/revisions"
tags: ["Projects"]
---

# List spec revisions

`GET /api/v1/projects/{projectId}/revisions`

## Request

- Base URL: `https://app.khotan.com`
- URL: `https://app.khotan.com/api/v1/projects/{projectId}/revisions`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`

Returns the project's committed spec revisions newest-first, with actor, timestamp, change summary, and the number of documents each revision bundled.

## Path parameters

- `projectId` string, required

## Query parameters

- `limit` integer

## Response `200`

The project's committed spec revisions.

- object
  - `revisions` object[], required
    - `id` string, required
    - `revision` number, required
    - `changeSummary` string, nullable, required
    - `actorType` string, required
    - `actorId` string, required
    - `committedAt` string, required
    - `documentCount` number, required

## Other responses

- `401`: Authentication is missing or invalid.
- `404`: The resource was not found.
- `429`: Too many requests; retry after the indicated delay.

---

[API](https://skmtc.dev/khotan/apis/khotan-api.md) - [All operations](https://skmtc.dev/khotan/apis/khotan-api/llms.txt) - [OpenAPI document](https://skmtc.dev/khotan/apis/khotan-api/revisions/90b512a53e42?raw)
