endpoints

Execute endpoint with optional materialization. Supports version parameter, runs latest version if not set.

get/api/projects/{project_id}/endpoints/{name}/run/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/endpoints/{name}/run/
  • Auth: HTTP bearer

Path parameters

namestring required

URL-safe name for the endpoint

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Response

namestring required

URL-safe endpoint name that was executed.

execution_idstring uuid

Unique identifier for this execution. Use it to find the matching entry in the endpoint's logs.

columnsstring[]

Column names from the query SELECT clause.

hasMoreboolean

Whether more results are available beyond the limit.

endpoint_versioninteger

Version number of the endpoint that was executed.

Changes

No recorded changes to this operation across all 1 revision of this API.