PostHog
Update PostHog Alert
Update PostHog Alert.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| identifieraccount · required | account | required | — |
| idstring · required | string | required | PostHog id from the matching lookup in this project. |
| project_idstring · required | string | required | Project ID returned by List PostHog Projects. Uses only the selected connected account. |
| insightnumber · optional | number | optional | PostHog insight. |
| namestring · optional | string | optional | PostHog name. |
| subscribed_usersstring · optional | string | optional | PostHog subscribed users as structured JSON or JSON text. Supports Workflow variables. |
| thresholdstring · optional | string | optional | PostHog threshold as structured JSON or JSON text. Supports Workflow variables. |
| conditionstring · optional | string | optional | PostHog condition as structured JSON or JSON text. Supports Workflow variables. |
| enabledboolean · optional | boolean | optional | PostHog enabled. |
| configstring · optional | string | optional | PostHog config as structured JSON or JSON text. Supports Workflow variables. |
| detector_configstring · optional | string | optional | PostHog detector config as structured JSON or JSON text. Supports Workflow variables. |
| calculation_intervalstring · optional | string | optional | PostHog calculation interval. |
| snoozed_untilstring · optional | string | optional | PostHog snoozed until; null clears this value. |
| skip_weekendboolean · optional | boolean | optional | PostHog skip weekend; null clears this value. |
| schedule_restrictionstring · optional | string | optional | PostHog schedule restriction as structured JSON or JSON text. Supports Workflow variables. |
| investigation_agent_enabledboolean · optional | boolean | optional | PostHog investigation agent enabled. |
| investigation_gates_notificationsboolean · optional | boolean | optional | PostHog investigation gates notifications. |
| investigation_inconclusive_actionstring · optional | string | optional | PostHog investigation inconclusive action. |
Response schema
{
"type": "object",
"required": [
"id",
"created_by",
"created_at",
"insight",
"name",
"subscribed_users",
"threshold",
"condition",
"state",
"enabled",
"last_notified_at",
"last_checked_at",
"next_check_at",
"config",
"detector_config",
"calculation_interval",
"snoozed_until",
"skip_weekend",
"schedule_restriction",
"last_value",
"investigation_agent_enabled",
"investigation_gates_notifications",
"investigation_inconclusive_action"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"state": {
"type": "string"
},
"config": {
"type": "object",
"required": [
"type",
"series_index"
],
"properties": {
"type": {
"type": "string"
},
"series_index": {
"type": "number"
},
"check_ongoing_interval": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"enabled": {
"type": "boolean"
},
"insight": {
"type": "object",
"required": [
"id",
"short_id",
"name",
"derived_name",
"filters",
"query",
"dashboards",
"dashboard_tiles",
"description",
"last_refresh",
"refreshing",
"saved",
"updated_at",
"created_by",
"created_at",
"last_modified_at",
"favorited",
"user_access_level",
"last_viewed_at",
"tags"
],
"properties": {
"id": {
"type": "number"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"tags": {
"type": "array",
"items": {}
},
"query": {
"anyOf": [
{},
{
"type": "null"
}
]
},
"saved": {
"type": "boolean"
},
"filters": {
"type": "object",
"additionalProperties": {}
},
"short_id": {
"type": "string"
},
"favorited": {
"type": "boolean"
},
"created_at": {
"type": "string"
},
"created_by": {
"type": "object",
"required": [
"id",
"uuid",
"distinct_id",
"first_name",
"last_name",
"email",
"is_email_verified",
"hedgehog_config",
"role_at_organization"
],
"properties": {
"id": {
"type": "number"
},
"uuid": {
"type": "string"
},
"email": {
"type": "string"
},
"last_name": {
"type": "string"
},
"first_name": {
"type": "string"
},
"distinct_id": {
"type": "string"
},
"hedgehog_config": {
"anyOf": [
{},
{
"type": "null"
}
]
},
"is_email_verified": {
"type": "boolean"
},
"role_at_organization": {
"type": "string"
}
},
"additionalProperties": false
},
"dashboards": {
"type": "array",
"items": {}
},
"refreshing": {
"type": "boolean"
},
"updated_at": {
"type": "string"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"derived_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"last_refresh": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"last_viewed_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"dashboard_tiles": {
"type": "array",
"items": {}
},
"last_modified_at": {
"type": "string"
},
"user_access_level": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"condition": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
}
},
"additionalProperties": false
},
"threshold": {
"type": "object",
"required": [
"id",
"created_at",
"name",
"configuration"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"created_at": {
"type": "string"
},
"configuration": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"bounds": {
"anyOf": [
{
"type": "object",
"additionalProperties": {}
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"created_at": {
"type": "string"
},
"created_by": {
"type": "object",
"required": [
"id",
"uuid",
"distinct_id",
"first_name",
"last_name",
"email",
"is_email_verified",
"hedgehog_config",
"role_at_organization"
],
"properties": {
"id": {
"type": "number"
},
"uuid": {
"type": "string"
},
"email": {
"type": "string"
},
"last_name": {
"type": "string"
},
"first_name": {
"type": "string"
},
"distinct_id": {
"type": "string"
},
"hedgehog_config": {
"anyOf": [
{},
{
"type": "null"
}
]
},
"is_email_verified": {
"type": "boolean"
},
"role_at_organization": {
"type": "string"
}
},
"additionalProperties": false
},
"last_value": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"skip_weekend": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"next_check_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"snoozed_until": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"detector_config": {
"anyOf": [
{
"type": "object",
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"last_checked_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"last_notified_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"subscribed_users": {
"type": "array",
"items": {
"type": "number"
}
},
"calculation_interval": {
"type": "string"
},
"schedule_restriction": {
"anyOf": [
{
"type": "object",
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"investigation_agent_enabled": {
"type": "boolean"
},
"investigation_gates_notifications": {
"type": "boolean"
},
"investigation_inconclusive_action": {
"type": "string"
}
},
"additionalProperties": false
}