PostHog · Capability
PostHog API — cohorts
PostHog API — cohorts. 12 operations. Lead operation: cohorts. Self-contained Naftiko capability covering one Posthog business surface.
What You Can Do
GET
Cohortslist
— cohortslist
/v1/api/projects/{project-id}/cohorts
POST
Cohortscreate
— cohortscreate
/v1/api/projects/{project-id}/cohorts
GET
Cohortsallactivityretrieve
— cohortsallactivityretrieve
/v1/api/projects/{project-id}/cohorts/activity
GET
Cohortsretrieve
— cohortsretrieve
/v1/api/projects/{project-id}/cohorts/{id}
PUT
Cohortsupdate
— cohortsupdate
/v1/api/projects/{project-id}/cohorts/{id}
PATCH
Cohortspartialupdate
— cohortspartialupdate
/v1/api/projects/{project-id}/cohorts/{id}
DELETE
Cohortsdestroy
— Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
/v1/api/projects/{project-id}/cohorts/{id}
GET
Cohortsactivityretrieve
— cohortsactivityretrieve
/v1/api/projects/{project-id}/cohorts/{id}/activity
PATCH
Cohortsaddpersonstostaticcohortpartialupdate
— cohortsaddpersonstostaticcohortpartialupdate
/v1/api/projects/{project-id}/cohorts/{id}/add-persons-to-static-cohort
GET
Cohortscalculationhistoryretrieve
— cohortscalculationhistoryretrieve
/v1/api/projects/{project-id}/cohorts/{id}/calculation-history
GET
Cohortspersonsretrieve
— cohortspersonsretrieve
/v1/api/projects/{project-id}/cohorts/{id}/persons
PATCH
Cohortsremovepersonfromstaticcohortpartialupdate
— cohortsremovepersonfromstaticcohortpartialupdate
/v1/api/projects/{project-id}/cohorts/{id}/remove-person-from-static-cohort
MCP Tools
cohortslist
cohortslist
read-only
idempotent
cohortscreate
cohortscreate
cohortsallactivityretrieve
cohortsallactivityretrieve
read-only
idempotent
cohortsretrieve
cohortsretrieve
read-only
idempotent
cohortsupdate
cohortsupdate
idempotent
cohortspartialupdate
cohortspartialupdate
idempotent
hard-delete-this-model-is
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
idempotent
cohortsactivityretrieve
cohortsactivityretrieve
read-only
idempotent
cohortsaddpersonstostaticcohortpartialupdate
cohortsaddpersonstostaticcohortpartialupdate
idempotent
cohortscalculationhistoryretrieve
cohortscalculationhistoryretrieve
read-only
idempotent
cohortspersonsretrieve
cohortspersonsretrieve
read-only
idempotent
cohortsremovepersonfromstaticcohortpartialupdate
cohortsremovepersonfromstaticcohortpartialupdate
idempotent