metrics
metrics

Distinct metric names for the team. Backs the catalog UI.

get/api/projects/{project_id}/metrics/values/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/metrics/values/
  • 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/.

Query parameters

limitinteger

Max number of names to return. Defaults to 100; maximum 1000.

servicestring

Comma-separated services to narrow the list to, e.g. service=web,worker. Omit for every service. Send it empty to select only series whose sender did not set service.name. A service name containing a comma cannot be selected.

valuestring

Substring filter (case-insensitive) applied to metric names.

Response

Changes

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