analytics

POST /analytics/capture

Changed on

Decode a GUI UI-interaction event and hand it to the daemon's analytics sink. Fire-and-forget: accepted: true only confirms the event was decoded and dispatched, not that it reached PostHog.

post/analytics/capture

Request

  • The document declares no server URL.
  • Auth
    • API key in query parameter auth
    • or API key in header Authorization

Request body

OR
OR
OR
OR

Response

Event accepted for dispatch

tsinteger required

Server time when the response was built (unix epoch milliseconds).

Changes

    • breaking

      removed subschema #1 subschema #4 subschema #5 from the request body oneOf list

    • info

      added subschema #1 subschema #4 subschema #5 to the request body oneOf list

    • info

      added subschema #4 subschema #5 to the request body oneOf list