PostHog
Get PostHog Insight
Get 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. |
| insight_idstring · required | string | required | PostHog insight id from the matching lookup in this project. |
Response schema
{
"type": "object",
"required": [
"id",
"short_id",
"deleted",
"created_at",
"updated_at"
],
"properties": {
"id": {
"type": "number"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"tags": {
"anyOf": [
{
"type": "array",
"items": {}
},
{
"type": "null"
}
]
},
"hogql": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"order": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"query": {
"anyOf": [
{},
{
"type": "null"
}
]
},
"types": {
"anyOf": [
{
"type": "array",
"items": {}
},
{
"type": "null"
}
]
},
"alerts": {
"anyOf": [
{
"type": "array",
"items": {}
},
{
"type": "null"
}
]
},
"result": {
"anyOf": [
{},
{
"type": "null"
}
]
},
"columns": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"deleted": {
"type": "boolean"
},
"hasMore": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"short_id": {
"type": "string"
},
"timezone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"favorited": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"is_cached": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"is_sample": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"created_at": {
"type": "string"
},
"created_by": {
"anyOf": [
{},
{
"type": "null"
}
]
},
"dashboards": {
"anyOf": [
{
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
]
},
"updated_at": {
"type": "string"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"derived_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"last_refresh": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"query_status": {
"anyOf": [
{},
{
"type": "null"
}
]
},
"last_viewed_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"dashboard_tiles": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"dashboard_id"
],
"properties": {
"id": {
"type": "number"
},
"deleted": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"dashboard_id": {
"type": "number"
}
},
"additionalProperties": false
}
},
{
"type": "null"
}
]
},
"cache_target_age": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"last_modified_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"last_modified_by": {
"anyOf": [
{},
{
"type": "null"
}
]
},
"_create_in_folder": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"user_access_level": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"resolved_date_range": {
"anyOf": [
{
"type": "object",
"required": [
"date_from",
"date_to"
],
"properties": {
"date_to": {
"type": "string"
},
"date_from": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"effective_privilege_level": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"effective_restriction_level": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"next_allowed_client_refresh": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": true
}