---
title: "Bulk Stop Snapshot Sources"
method: POST
path: "/sources/bulk/stop-snapshot"
tags: ["Sources"]
---

# Bulk Stop Snapshot Sources

`POST /sources/bulk/stop-snapshot`

Stop snapshot on multiple sources in parallel.

Automatically detects the running snapshot type (incremental or blocking)
and uses the appropriate cancellation method:
- Incremental: Cancels via signal table, streaming continues
- Blocking: Restarts the connector, streaming resumes after restart

Uses lower concurrency to avoid overwhelming Kafka Connect.

Supports two modes for source selection:
1. Explicit IDs: Pass a list of source IDs
2. Select all: Set select_all=true with optional filters

Returns partial success results - continues processing even if individual stop operations fail.

## Request body

- BulkActionReq — Request model for bulk state-change operations (stop, resume, reset, snapshot).
  - `ids` string[], nullable — List of entity IDs to perform the action on. Omit if using select_all=true.
  - `select_all` boolean — If true, select all entities matching the filters
  - `filters` BulkSelectionFilter — Optional filters for bulk operations when using 'select_all'. Supports filtering by source_id and destination_id for pipeline-related operations.
    - `source_id` string, nullable — Filter by source ID (for pipelines/destinations)
    - `destination_id` string, nullable — Filter by destination ID (for pipelines/destinations)

## Response `200`

Successful Response

- BulkOperationRes — Response model for bulk operations.
  - `results` BulkOperationResult[], required — Detailed results for each entity
    - `id` string, required — Entity ID
    - `success` boolean, required — Whether the operation succeeded
    - `message` string, nullable — Success message or error details
    - `data` object, nullable — Optional data returned by the operation
  - `summary` BulkOperationSummary, required — Summary statistics for a bulk operation.
    - `total` integer, required — Total number of entities processed
    - `succeeded` integer, required — Number of successful operations
    - `failed` integer, required — Number of failed operations

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/streamkap/apis/streamkap-rest-api.md) · [All operations](https://skmtc.net/streamkap/apis/streamkap-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/streamkap/streamkap-rest-api/revisions/8aea6143d003/schema)
