hog_function_templates
hog_function_templates

get/api/projects/{project_id}/hog_function_templates/{template_id}/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/hog_function_templates/{template_id}/
  • Auth: HTTP bearer

Path parameters

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/.

template_idstring required

Response

idstring required

Unique template identifier (e.g. 'template-slack').

namestring required

Display name of the template.

descriptionstring nullable

What this template does.

codestring required

Source code of the template.

code_languagestring

Programming language: 'hog' or 'javascript'.

inputs_schemaunknown required
typestring required

Function type this template creates.

statusstring

Lifecycle status: alpha, beta, stable, deprecated, or hidden.

categoryunknown
freeboolean

Whether available on free plans.

icon_urlstring nullable

URL for the template's icon.

filtersunknown
maskingunknown

Changes

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