---
search:
  tags:
    - Topics
    - POST
seo:
  description: >-
    Execute snapshot for selected topics, grouped by their source connector.
    Reference for the POST /topics/bulk/snapshot endpoint in the Streamkap REST
    API.
sidebar:
  label: Bulk Snapshot Topics
  badge: POST
title: Bulk Snapshot Topics
type: openapi-operation
---
Execute snapshot for selected topics, grouped by their source connector.

Accepts topic DB IDs, resolves them to their source connectors, and triggers
per-source snapshots scoped to only the selected topics (via topic_names).

Only topics produced by source connectors can be snapshotted - topics from
transforms, destinations, or manually created topics are skipped.

Supports both incremental (default) and blocking snapshot types:
- **incremental**: Uses watermarking to capture data while streaming continues.
- **blocking**: Pauses streaming during snapshot. Required for keyless tables.

Results are reported per source connector, since snapshots are source-level operations.
Returns partial success results - continues processing even if individual snapshots fail.

`POST /topics/bulk/snapshot`

**Request body** (`application/json`, required)

- `topic_ids` (string[], required) — List of topic DB IDs (\_id) to operate on.
- `snapshot_type` (string) — Type of snapshot to execute. 'incremental' (default) uses watermarking while streaming continues. 'blocking' pauses streaming during snapshot - required for keyless tables.

Request body example:

```json
{
  "topic_ids": [
    "string"
  ],
  "snapshot_type": "incremental"
}
```

**Responses**

- `200` — Successful Response
- `422` — Validation Error

Response example, 200:

```json
{
  "results": [
    {
      "id": "string",
      "success": true,
      "message": "string",
      "data": {}
    }
  ],
  "summary": {
    "total": 0,
    "succeeded": 0,
    "failed": 0
  }
}
```
