---
title: "Resume Cluster Trigger"
method: POST
path: "/v1/clusters/triggers/{trigger_id}/resume"
tags: ["Cluster Triggers"]
---

# Resume Cluster Trigger

`POST /v1/clusters/triggers/{trigger_id}/resume`

## Request

- Base URL: `https://api.mixpeek.com`
- URL: `https://api.mixpeek.com/v1/clusters/triggers/{trigger_id}/resume`
- Auth: HTTP bearer and API key in header `X-Namespace`

Resume paused trigger. Next execution time is recalculated from current time.

## Path parameters

- `trigger_id` string, required: Trigger ID

## Response `200`

Successful Response

- SharedClustersTriggersModelsTriggerModel: Model for cluster trigger.
  - `trigger_id` string: Unique trigger ID
  - `cluster_id` string, nullable: Optional link to cluster definition
  - `namespace_id` string, required: Namespace ID
  - `internal_id` string, required: Organization internal ID
  - `execution_config` TriggerExecutionConfig, required: Configuration for cluster execution when trigger fires. Defines what clustering algorithm and parameters to use when the trigger executes. Examples: K-means clustering on 3 collections: { "collection_ids": ["col_abc123", "col_def456", "col_ghi789"], "config": { "algorithm": "kmeans", "n_clusters": 5, "min_cluster_size": 2 } } HDBSCAN clustering on single collection: { "collection_ids": ["col_products"], "config": { "algorithm": "hdbscan", "min_cluster_size": 10, "min_samples": 5 } }
    - `collection_ids` string[], required: REQUIRED. List of collection IDs to cluster when trigger fires. Must contain at least one collection ID. All collections will be clustered together using the specified algorithm.
    - `config` object, required: REQUIRED. Clustering algorithm configuration. Must include 'algorithm' field ('kmeans', 'hdbscan', 'hierarchical'). Additional fields depend on algorithm choice. K-means requires 'n_clusters'. HDBSCAN requires 'min_cluster_size'.
  - `trigger_type` 'cron' | 'interval' | 'event' | 'conditional', required: Type of trigger for automated cluster execution. Supported trigger types: - **cron**: Schedule-based execution using cron expressions (e.g., daily at 2am) - **interval**: Fixed-interval execution (e.g., every 6 hours) - **event**: Event-driven execution (e.g., after 100 documents added) - **conditional**: Condition-based execution (e.g., when drift exceeds threshold)
  - `schedule_config` object, required: Type-specific schedule configuration
  - `status` 'active' | 'paused' | 'disabled' | 'failed': Status of a cluster trigger.
  - `last_triggered_at` string, date-time, nullable: Last time trigger fired
  - `last_execution_job_id` string, nullable: Job ID of last execution
  - `next_scheduled_at` string, date-time, nullable: Next scheduled execution time
  - `execution_count` integer: Total executions
  - `consecutive_failures` integer: Consecutive execution failures
  - `last_execution_status` string, nullable: Status of last execution
  - `last_execution_error` string, nullable: Error from last execution
  - `event_counter` integer: Current event count since last trigger
  - `last_cooldown_at` string, date-time, nullable: Last time cooldown was applied
  - `created_at` string, date-time: Creation timestamp
  - `updated_at` string, date-time: Last update timestamp
  - `created_by` string, nullable: User who created trigger
  - `description` string, nullable: Trigger description

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `422`: Unprocessable Entity
- `429`: Too Many Requests
- `500`: Internal Server Error
- `503`: Service Unavailable

## Changes

- **2026-10-09** `61a175e8eb9a`: 1 warning, 5 info
  - removed the optional property `detail` from the response with the `422` status
  - added the non-success response with the status `429`
  - added the non-success response with the status `503`
  - added the optional property `success` to the response with the `422` status
  - …2 more
- **2026-08-09** `5d4c905106b4`: 1 info
  - the endpoint scheme security `BearerAuth AND NamespaceHeader` was added to the API

[Operation history](https://skmtc.dev/mixpeek/apis/mixpeek-api/changes/v1/clusters/triggers/:trigger_id/resume/post.md)

---

[API](https://skmtc.dev/mixpeek/apis/mixpeek-api.md) - [All operations](https://skmtc.dev/mixpeek/apis/mixpeek-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mixpeek/apis/mixpeek-api/revisions/790bc16455f6?raw)
