---
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.

---

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