experiment_saved_metrics

put/api/projects/{project_id}/experiment_saved_metrics/{id}/

Request

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

Path parameters

idinteger required

A unique integer value identifying this experiment saved metric.

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

Request body

idinteger required
namestring required

Name of the shared metric. Must be unique within the project (case-insensitive).

descriptionstring nullable

Short description of what the metric measures.

queryunknown required
created_atstring date-time required
updated_atstring date-time required
user_access_levelstring nullable required

The effective access level the user has for this object

Response

idinteger required
namestring required

Name of the shared metric. Must be unique within the project (case-insensitive).

descriptionstring nullable

Short description of what the metric measures.

queryunknown required
created_atstring date-time required
updated_atstring date-time required
user_access_levelstring nullable required

The effective access level the user has for this object

Changes

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