---
title: "Force commit the current consuming segments"
method: POST
path: "/tables/{tableName}/forceCommit"
tags: ["Table"]
---

# Force commit the current consuming segments

`POST /tables/{tableName}/forceCommit`

Force commit the current segments in consuming state and restart consumption. This should be used after schema/table config changes. Please note that this is an asynchronous operation, and 200 response does not mean it has actually been done already.If specific partitions or consuming segments are provided, only those partitions or consuming segments will be force committed.

## Path parameters

- `tableName` string, required

## Query parameters

- `partitions` string
- `segments` string
- `batchSize` integer
- `batchStatusCheckIntervalSec` integer
- `batchStatusCheckTimeoutSec` integer

## Response `200`

successful operation

- object

---

[API](https://skmtc.net/startree/apis/pinot-controller-api.md) · [All operations](https://skmtc.net/startree/apis/pinot-controller-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/startree/pinot-controller-api/versions/f1cc8a0ba2e0/schema)
