provider logs GET /api/projects/{project_id}/logs/values/
@utdk/posthog /api/projects/{project_id}/logs/values/
logs_values_retrieve
attribute_type query
Type of attribute: "log" or "resource". Defaults to "log". * `log` - log * `resource` - resource
enum: log, resource
dateRange query
Date range to search within. Defaults to last hour.
object
filterGroup query
Property filters to narrow which logs are scanned for values.
array
key query required
The attribute key to get values for
string
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
serviceNames query
Filter values to those appearing in logs from these services.
array
value query
Search filter for attribute values
string

Try it

Authentication
Configure credentials for PostHog API
logsValuesRetrieve
GET/api/projects/{project_id}/logs/values/

Parameters

required

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

Type of attribute: "log" or "resource". Defaults to "log". * `log` - log * `resource` - resource

Date range to search within. Defaults to last hour.

Property filters to narrow which logs are scanned for values.

required

The attribute key to get values for

Filter values to those appearing in logs from these services.

Search filter for attribute values

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.logsValuesRetrieve()