---
title: "List Commits"
method: GET
path: "/api/v1/functions/{function_id}/commits"
tags: ["Function Commit"]
---

# List Commits

`GET /api/v1/functions/{function_id}/commits`

ListCommits retrieves the commit history

## Path parameters

- `function_id` string, required — The functionId field.

## Response `200`

Successful response

- C1ApiFunctionsV1FunctionsServiceListCommitsResponse — The FunctionsServiceListCommitsResponse message.
  - `list` C1ApiFunctionsV1FunctionCommit[], nullable — The list field.
    - `author` string — The author field.
    - `createdAt` string, date-time
    - `functionId` string — The functionId field.
    - `id` string — The id field.
    - `message` string — The message field.
  - `nextPageToken` string — The nextPageToken field.

## Changes

- **2025-08-20** `182cb087dfa4` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/conductorone/apis/c1-api/changes/api/v1/functions/:function_id/commits/get.md)

---

[API](https://skmtc.dev/conductorone/apis/c1-api.md) · [All operations](https://skmtc.dev/conductorone/apis/c1-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/conductorone/c1-api/revisions/fa2bb307d6fa/schema)
