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

# Stream Seek

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

Repositions a consumer group's read cursor on a topic.

Provide exactly one of `offset`, `position`, or `timestamp`. When using `offset`, the topic
must include a partition suffix (e.g. `ns:my-topic~0`). The `position` field accepts
`"earliest"` or `"latest"` and may be used with or without a partition suffix. The `timestamp`
field accepts a Unix timestamp in milliseconds and seeks to the first message at or after that
time.

## Request body

- MsgStreamSeekIn
  - `namespace` string, nullable
  - `topic` string, required
  - `consumer_group` string, required
  - `offset` integer, nullable
  - `position` 'earliest' | 'latest'
  - `timestamp` integer, nullable

## Response `200`

- MsgStreamSeekOut

## Other responses

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

## Changes

- **2026-04-28** `a542ced3f593` — 12 warning, 12 info
  - added the new `invalid-input` enum value to the `type` response property for the response status `400`
  - added the new `invalid-input` enum value to the `type` response property for the response status `401`
  - added the new `invalid-input` enum value to the `type` response property for the response status `403`
  - added the new `invalid-input` enum value to the `type` response property for the response status `422`
  - …20 more
- **2026-04-28** `b1d873e9a6e4` — 4 info
  - added the required property `type` to the response with the `400` status
  - added the required property `type` to the response with the `401` status
  - added the required property `type` to the response with the `403` status
  - added the required property `type` to the response with the `422` status
- **2026-04-21** `c30222181768` — 1 breaking, 5 info
  - the `detail` response's property type/format changed from `array`/`` to `string`/`` for status `422`
  - added the optional property `location` to the response with the `400` status
  - added the optional property `location` to the response with the `401` status
  - added the optional property `location` to the response with the `403` status
  - …2 more
- **2026-04-17** `8a00e16711be` — 1 info
  - added the new optional request property `timestamp`
- **2026-04-14** `7f5edfb12f87` — 1 breaking
  - the `namespace` request property's minLength was increased from `0` to `1`

[Full history](https://skmtc.dev/svix/apis/diom-api/changes/api/v1.msgs.stream.seek/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/58636beb376c/schema)
