Skip to content
offprompt

PostHog

An agent asks for one of these keys by its usual variable name, such as POSTHOG_PROJECT_TOKEN, and offprompt knows from the name which key it is. Under any other name, the agent says which with provider: "posthog/personal_api_key" or the like.

The fields offprompt's page shows for PostHog, each filled with an example. Change one to watch its checks.
KeyUsual namesUnder any other name
Project token, shown in the clearPOSTHOG_PROJECT_TOKEN, POSTHOG_KEYprovider: "posthog/project_token"
Personal API keyPOSTHOG_PERSONAL_API_KEY, POSTHOG_CLI_API_KEYprovider: "posthog/personal_api_key"

Project token

Made at us.posthog.com/settings/project. Looks like phc_….

  • Starts with phc_
  • At least 40 characters

Personal API key

Made at us.posthog.com/settings/user-api-keys. Looks like phx_….

  • Starts with phx_
  • At least 40 characters