PostHog

Get PostHog Alert

Get PostHog Alert.

1 creditRuns in your PostHog account

Endpoint

Parameters

NameTypeRequiredNote
identifieraccount · requiredaccountrequired—
idstring · requiredstringrequired

PostHog id from the matching lookup in this project.

project_idstring · requiredstringrequired

Project ID returned by List PostHog Projects. Uses only the selected connected account.

Response schema

{
  "type": "object",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "checks": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "created_at"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "interval": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_at": {
            "type": "string"
          },
          "anomaly_scores": {
            "anyOf": [
              {},
              {
                "type": "null"
              }
            ]
          },
          "triggered_dates": {
            "anyOf": [
              {},
              {
                "type": "null"
              }
            ]
          },
          "calculated_value": {
            "type": "number"
          },
          "targets_notified": {
            "type": "boolean"
          },
          "triggered_points": {
            "anyOf": [
              {},
              {
                "type": "null"
              }
            ]
          },
          "triggered_metadata": {
            "anyOf": [
              {},
              {
                "type": "null"
              }
            ]
          },
          "investigation_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "notification_sent_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "investigation_summary": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "investigation_verdict": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "investigation_notebook_short_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "notification_suppressed_by_agent": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      }
    },
    "config": {
      "type": "object",
      "required": [],
      "properties": {
        "type": {
          "type": "string"
        },
        "series_index": {
          "type": "number"
        },
        "check_ongoing_interval": {
          "anyOf": [
            {},
            {
              "type": "null"
            }
          ]
        }
      },
      "additionalProperties": true
    },
    "enabled": {
      "type": "boolean"
    },
    "insight": {
      "type": "object",
      "required": [],
      "properties": {
        "id": {
          "type": "number"
        }
      },
      "additionalProperties": true
    },
    "condition": {
      "type": "object",
      "required": [],
      "properties": {
        "type": {
          "type": "string"
        }
      },
      "additionalProperties": true
    },
    "threshold": {
      "type": "object",
      "required": [
        "id",
        "created_at",
        "name"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "created_at": {
          "type": "string"
        },
        "configuration": {
          "type": "object",
          "required": [],
          "properties": {
            "type": {
              "type": "string"
            },
            "bounds": {
              "anyOf": [
                {},
                {
                  "type": "null"
                }
              ]
            }
          },
          "additionalProperties": true
        }
      },
      "additionalProperties": false
    },
    "created_at": {
      "type": "string"
    },
    "created_by": {
      "type": "object",
      "required": [
        "id",
        "uuid",
        "distinct_id",
        "first_name",
        "last_name",
        "email"
      ],
      "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": "object",
              "additionalProperties": {}
            },
            {
              "type": "null"
            }
          ]
        },
        "is_email_verified": {
          "type": "boolean"
        },
        "role_at_organization": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "last_value": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ]
    },
    "checks_total": {
      "type": "number"
    },
    "skip_weekend": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ]
    },
    "next_check_at": {
      "type": "string"
    },
    "snoozed_until": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "detector_config": {
      "anyOf": [
        {
          "type": "object",
          "required": [],
          "properties": {
            "type": {
              "type": "string"
            },
            "operator": {
              "type": "string"
            },
            "detectors": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [],
                "properties": {
                  "type": {
                    "type": "string"
                  },
                  "window": {
                    "anyOf": [
                      {},
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "threshold": {
                    "anyOf": [
                      {},
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "preprocessing": {
                    "anyOf": [
                      {},
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              }
            }
          },
          "additionalProperties": true
        },
        {
          "type": "null"
        }
      ]
    },
    "last_checked_at": {
      "type": "string"
    },
    "last_notified_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "subscribed_users": {
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "calculation_interval": {
      "type": "string"
    },
    "schedule_restriction": {
      "anyOf": [
        {
          "type": "object",
          "required": [],
          "properties": {
            "blocked_windows": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [],
                "properties": {
                  "end": {
                    "type": "string"
                  },
                  "start": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            }
          },
          "additionalProperties": true
        },
        {
          "type": "null"
        }
      ]
    },
    "investigation_agent_enabled": {
      "type": "boolean"
    },
    "investigation_gates_notifications": {
      "type": "boolean"
    },
    "investigation_inconclusive_action": {
      "type": "string"
    }
  },
  "additionalProperties": false
}

Get started

How to use this action

  1. Connect your AI

    Add Connie to ChatGPT, Claude or Slack once, then connect your account for this app. There’s no API key to manage.

  2. Ask for the outcome

    Describe what you need in plain words. Your AI runs this app’s actions when the job calls for them, along with any other tools it needs.

  3. Make it a workflow

    Add an action as a step in a workflow that runs the same way every time, on a schedule or when something happens.

  4. Stay in control

    Choose whether each action runs on its own or asks first. When it asks, you see an Allow or Deny card before anything changes in the app.