PostHog

Read saved product insights from an explicitly selected PostHog Cloud project and region.

2 implemented operations

connector.yaml
insight.readRead one saved insight and its cached result, query definition and freshness; empty or stale results remain visible.insight:read
posthog insight.readread#
  • LocalReadyThe runtime sends the operation's declared HTTP requests.
Runx scope
insight:read
Target
{"$concat":[{"$parameter":"/api_origin"},"/project/",{"$parameter":"/project_id"},"/insights/",{"$argument":"/insight_id"}]}
Credentials
Any of personal_key
Local implementation
Declared HTTP requests: us.posthog.com, eu.posthog.com
Inputs
Field and constraintsType / valuesRequired
insight_idPattern: ^[1-9][0-9]{0,19}$stringYes

Required fields apply within their containing object. Unlisted fields are rejected.

Full input schema
{
  "type": "object",
  "required": [
    "insight_id"
  ],
  "properties": {
    "insight_id": {
      "type": "string",
      "pattern": "^[1-9][0-9]{0,19}$"
    }
  },
  "additionalProperties": false
}

Result fields insight

Operation digest sha256:ce273f0505234db2a5cd115f052fc1e6d84f7842a009f4f1a9e5594fe1e643deImplementation sha256:9c71b82b48048261c1013d48d7bfbec9c507e2b3c4040c1343b5be8de2342b0e

insights.listRead one page of saved insights, preserving pagination and cached-result metadata; does not run a new report.insight:read
posthog insights.listread#
  • LocalReadyThe runtime sends the operation's declared HTTP requests.
Runx scope
insight:read
Target
{"$concat":[{"$parameter":"/api_origin"},"/project/",{"$parameter":"/project_id"},"/insights"]}
Credentials
Any of personal_key
Local implementation
Declared HTTP requests: us.posthog.com, eu.posthog.com
Inputs
Field and constraintsType / valuesRequired
limitMinimum 1Maximum 100integerYes
offsetMinimum 0Maximum 100000integerYes

Required fields apply within their containing object. Unlisted fields are rejected.

Full input schema
{
  "type": "object",
  "required": [
    "limit",
    "offset"
  ],
  "properties": {
    "limit": {
      "type": "integer",
      "maximum": 100,
      "minimum": 1
    },
    "offset": {
      "type": "integer",
      "maximum": 100000,
      "minimum": 0
    }
  },
  "additionalProperties": false
}

Result fields insights

Operation digest sha256:9b5e249f131cecbb9f9873d6c5194dfbe616cf97fc3ab904bb2957fc25565ffcImplementation sha256:e2e8301b91f7c9a9f10baf3c57195a2edb2c081b00ca046a5752d725d01f8895

Authentication

Commands here are for runx 0.11.1.

PostHog accepts a stored credential.

Stored credential personal_key
A api_key with one field: personal_key (PostHog personal API key with insight read access). Sent only to us.posthog.com, eu.posthog.com. Supply it through standard input in the project where the skill runs; Runx stores the profile and selects it for this connector.
runx connector use posthog

Instance parameters

Each instance of this connector pins these values when it is set up.

Parameters
Field and constraintsType / valuesRequired
api_origin"https://us.posthog.com" · "https://eu.posthog.com"Yes
project_idPattern: ^[1-9][0-9]{0,19}$stringYes

Required fields apply within their containing object. Unlisted fields are rejected.

Authentication methods describe what the provider requires. They do not imply Runx supports every way the provider authenticates, and they do not grant access to your account.

Permissions

Each operation requires every Runx scope it declares. The account or key behind an instance must also reach the target on PostHog’s side; setting one up adds no PostHog permissions.

A stored credential may do everything its scopes allow. Add --scope to runx connector use --credential to narrow it.