---
title: "List commits"
method: GET
path: "/api/datasets/{namespace}/{repo}/commits/{rev}"
tags: ["datasets"]
---

# List commits

`GET /api/datasets/{namespace}/{repo}/commits/{rev}`

## Path parameters

- `namespace` string, required
- `repo` string, required
- `rev` string, required

## Query parameters

- `p` integer
- `expand` string[]
- `limit` integer

## Response `200`

Commits list

- object[]
  - `id` string, required
  - `title` string, required
  - `message` string, required
  - `authors` object[], required
    - `user` string, required
    - `avatar` string
  - `date` string, date-time, required
  - `formatted` object — Available if expand includes formatted
    - `title` string, required
    - `message` string

---

[API](https://skmtc.net/huggingface/apis/hub-api-endpoints.md) · [All operations](https://skmtc.net/huggingface/apis/hub-api-endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/huggingface/hub-api-endpoints/versions/dae0cc3790f0/schema)
