---
title: "Commit workspace changes"
method: POST
path: "/api/projects/{projectId}/workspaces/{workspaceId}/git/commit"
tags: ["Git"]
---

# Commit workspace changes

`POST /api/projects/{projectId}/workspaces/{workspaceId}/git/commit`

Commit workspace changes. Accepts a JSON request body when defined and returns the resulting resource or action status.

## Path parameters

- `projectId` string, required
- `workspaceId` string, required

## Request body

- GitCommitRequest — git Commit Request payload accepted by the API.
  - `message` string, required — Human-readable status or error message.

## Response `201`

Commit

- GitCommitResponse — git Commit Response payload returned by the API.
  - `commit` string — commit value for the git Commit Response object.
  - `message` string — Human-readable status or error message.

---

[API](https://skmtc.dev/ibuildthecloud/apis/discobot-server-api.md) · [All operations](https://skmtc.dev/ibuildthecloud/apis/discobot-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ibuildthecloud/discobot-server-api/revisions/4de3fcd6be56/schema)
