Posthog Get Events
posthog_get_eventsFetch recent events from a PostHog project. Returns event names, timestamps, and properties. Example: get_events({ project_id: "12345", limit: 50, apiKey: "phx..." })
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"limit": 50,
"_apiKey": "your-posthog-api-key",
"project_id": "12345"
},
"name": "posthog_get_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max events to return (default 100, max 1000) | |
| _apiKey | Yes | PostHog personal API key (phx_...) | |
| project_id | Yes | PostHog project ID (numeric string) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||