---
title: "Stream Commit"
method: POST
path: "/api/v1.msgs.stream.commit"
tags: ["Msgs"]
---

# Stream Commit

`POST /api/v1.msgs.stream.commit`

Commits an offset for a consumer group on a specific partition.

The topic must be a partition-level topic (e.g. `ns:my-topic~3`). The offset is the last
successfully processed offset; future receives will start after it.

## Request body

- MsgStreamCommitIn
  - `namespace` string, nullable
  - `topic` string, required
  - `consumer_group` string, required
  - `offset` integer, required

## Response `200`

- MsgStreamCommitOut

## Other responses

- `400`
- `401`
- `403`
- `422`

## Changes

- **2026-04-14** `7f5edfb12f87` — 1 breaking
  - the `namespace` request property's minLength was increased from `0` to `1`
- **2026-04-14** `14bcce06404b` — 1 breaking, 1 warning
  - added the pattern `^[a-zA-Z0-9\-/_.=+]+$` to the request property `namespace`
  - the `namespace` request property's maxLength was set to `256`
- **2026-03-31** `f62be26d2a53` — 6 breaking, 4 warning, 2 info
  - the `detail` response's property type/format changed from `string`/`` to `array`/`` for status `422`
  - removed the required property `code` from the response with the `422` status
  - removed the required property `type` from the response with the `400` status
  - removed the required property `type` from the response with the `401` status
  - …8 more

[Change history](https://skmtc.dev/svix/apis/diom-api/changes/api/v1.msgs.stream.commit/post.md)

---

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