PostHog
Update PostHog Cohort
Update PostHog Cohort.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| identifieraccount · required | account | required | — |
| project_idstring · required | string | required | Project ID returned by List PostHog Projects. Uses only the selected connected account. |
| idstring · required | string | required | PostHog id from the matching lookup in this project. |
| namestring · optional | string | optional | PostHog name; null clears this value. |
| descriptionstring · optional | string | optional | PostHog description. |
| filtersstring · optional | string | optional | PostHog filters as structured JSON or JSON text. Supports Workflow variables. |
| querystring · optional | string | optional | PostHog query JSON, such as an InsightVizNode containing a TrendsQuery. Use the shape required by this resource. |
| is_staticboolean · optional | boolean | optional | PostHog is static. |
| cohort_typestring · optional | string | optional | PostHog cohort type. |
Response schema
{
"type": "object",
"required": [
"id",
"deleted"
],
"properties": {
"id": {
"type": "number"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"count": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"query": {
"anyOf": [
{},
{
"type": "null"
}
]
},
"groups": {
"anyOf": [
{},
{
"type": "null"
}
]
},
"deleted": {
"type": "boolean"
},
"filters": {
"anyOf": [
{
"type": "object",
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"version": {
"type": "number"
},
"is_static": {
"type": "boolean"
},
"created_at": {
"type": "string"
},
"cohort_type": {
"type": "string"
},
"description": {
"type": "string"
},
"experiment_set": {
"type": "array",
"items": {
"type": "number"
}
},
"is_calculating": {
"type": "boolean"
},
"pending_version": {
"type": "number"
},
"last_calculation": {
"type": "string"
},
"_create_in_folder": {
"type": "string"
},
"errors_calculating": {
"type": "number"
},
"last_error_message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"_create_static_person_ids": {
"type": "array",
"items": {}
}
},
"additionalProperties": true
}