PostHog
Create PostHog Insight
Create PostHog Insight.
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. |
| namestring · required | string | required | PostHog name. |
| querystring · required | string | required | PostHog query JSON, such as an InsightVizNode containing a TrendsQuery. Use the shape required by this resource. |
| descriptionstring · optional | string | optional | PostHog description. |
| tagsstring · optional | string | optional | PostHog tags as structured JSON or JSON text. Supports Workflow variables. |
| dashboardsstring · optional | string | optional | PostHog dashboards as structured JSON or JSON text. Supports Workflow variables. |
| favoritedboolean · optional | boolean | optional | PostHog favorited. |
| ordernumber · optional | number | optional | PostHog order. |
| derived_namestring · optional | string | optional | PostHog derived name. |
Response schema
{
"type": "object",
"required": [
"id",
"short_id"
],
"properties": {
"id": {
"type": "number"
},
"name": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"order": {
"type": "number"
},
"query": {
"type": "object",
"additionalProperties": {}
},
"deleted": {
"type": "boolean"
},
"short_id": {
"type": "string"
},
"favorited": {
"type": "boolean"
},
"created_at": {
"type": "string"
},
"dashboards": {
"type": "array",
"items": {
"type": "number"
}
},
"updated_at": {
"type": "string"
},
"description": {
"type": "string"
},
"derived_name": {
"type": "string"
}
},
"additionalProperties": false
}