---
title: "POST /v1/{+name}:commit"
method: POST
path: "/v1/{+name}:commit"
tags: ["projects"]
---

# POST /v1/{+name}:commit

`POST /v1/{+name}:commit`

Applies a Git commit for uncommitted files in a Workspace.

## Path parameters

- `name` string, required

## Request body

- CommitWorkspaceChangesRequest — `CommitWorkspaceChanges` request message.
  - `commitMessage` string — Optional. The commit's message.
  - `paths` string[] — Optional. Full file paths to commit including filename, rooted at workspace root. If left empty, all files will be committed.
  - `author` CommitAuthor — Represents the author of a Git commit.
    - `emailAddress` string — Required. The commit author's email address.
    - `name` string — Required. The commit author's name.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/dataform.md) · [All operations](https://skmtc.net/google/apis/dataform/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/dataform/versions/b9dafc69d5c5/schema)
