capabilities.work

List an environment's cohorts

One step with Flagsmith. We can help you get access.

Look something up

List an environment's cohorts

Works with AI assistants

Use Flagsmith: its Flagsmith Environments API lets you list an environment's cohorts in a single step (GET /api/v1/environments/{environment_api_key}/cohorts/). Flagsmith also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • What cohorts are defined in my environment?
  • Can I see the membership counts of each cohort?
Say it to your AI assistant
  • List cohorts in environment {environment_api_key}.
  • Show all cohorts on {environment_api_key} with their sizes.
For your developer

GET /api/v1/environments/{environment_api_key}/cohorts/ in Flagsmith Environments API. Full spec on APIs.io.