provider metricsmetrics GET
/api/projects/{project_id}/metrics/values/ @utdk/posthog
/api/projects/{project_id}/metrics/values/ metrics_values_retrieve
Distinct metric names for the team. Backs the picker UI.
- limit query
- Max number of names to return. Defaults to 100; maximum 1000.
- integer
- project_id path required
- Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
- string
- value query
- Substring filter (case-insensitive) applied to metric names.
- string
Try it
Authentication
Configure credentials for PostHog API
Code snippet
Updates live as you fill in the form above.
TypeScript
import posthog from '@utdk/posthog';
await posthog.metricsValuesRetrieve({
"limit": 100
})