Cluster Triggers
Create Cluster Trigger
Create a new trigger for automated cluster execution.
Supports multiple trigger types:
- **cron**: Execute at specific times using cron expressions
- **interval**: Execute at fixed intervals
- **event**: Execute when specific events occur (e.g., documents added)
- **conditional**: Execute when conditions are met (e.g., drift threshold)
post/v1/clusters/triggers
Request body
Example request
{
"description": "Daily clustering at 2am UTC",
"execution_config": {
"collection_ids": [
"col_abc123"
],
"config": {
"algorithm": "kmeans",
"min_cluster_size": 2,
"n_clusters": 5
}
},
"schedule_config": {
"cron_expression": "0 2 * * *",
"timezone": "UTC"
},
"trigger_type": "cron"
}Response
Successful Response
Example response
{
"execution_config": {
"collection_ids": [
"col_abc123"
],
"config": {
"algorithm": "kmeans",
"min_cluster_size": 2,
"n_clusters": 5
}
}
}Changes
Changed in 1 of the 30 revisions of this API.1
- ○
the endpoint scheme security
BearerAuth AND NamespaceHeaderwas added to the APIapi-security-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○