Skip to main content
POST
Track Frontend Event

Authorizations

X-Access-Token
string
header
required

Body

application/json

create pr button clicked: Pull Request button click in chat UI.

Drives PostHog surveys (e.g. NPS) keyed off the PR action. The event name uses the lowercase-with-spaces convention shared by every other PostHog event in openhands/analytics/analytics_constants.py.

event_type
string
required
Allowed value: "create pr button clicked"
git_provider
enum<string> | null
Available options:
github,
gitlab,
bitbucket,
bitbucket_data_center,
azure_devops,
forgejo,
enterprise_sso

Response

Successful Response

status
string
required