v10

latestOpenAPI 3.1.0Apache-2.0raw.githubusercontent.com2026-08-01384057.2 KB
cohorts

Refresh cohort membership cache

Re-evaluates cohort membership against current sprout state and updates the cached membership. If a cohort name is provided in the request body, only that cohort is refreshed. Otherwise all cohorts are refreshed.

post/api/v1/cohorts/refresh

Request body

namestring

Name of a specific cohort to refresh

Example request

{
  "name": "web-servers"
}

Response

Refresh results

{"stackTrail":"components:schemas:NATSEnvelope:properties:result","oasType":"schema","type":"unknown","description":"Response data (structure varies by endpoint — see endpoint examples)"}
errorstring

Error message (present only on failure)