provider logs GET /api/environments/{environment_id}/logs/attributes/
@utdk/posthog /api/environments/{environment_id}/logs/attributes/
environments_logs_attributes_retrieve
attribute_type query
Type of attributes: "log" for log attributes, "resource" for resource attributes. Defaults to "log". * `log` - log * `resource` - resource
enum: log, resource
dateRange query
Date range to search within. Defaults to last hour.
object
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string
filterGroup query
Property filters to narrow which logs are scanned for attributes.
array
limit query
Max results (default: 100)
integer
offset query
Pagination offset (default: 0)
integer
search query
Search filter for attribute names
string
search_values query
When true, the search query also matches attribute values (not just keys). Each result indicates whether it matched on key or value.
boolean
serviceNames query
Filter attributes to those appearing in logs from these services.
array

Try it

Authentication
Configure credentials for PostHog API
environmentsLogsAttributesRetrieve
GET/api/environments/{environment_id}/logs/attributes/

Parameters

required

Deprecated. Use /api/projects/{project_id}/ instead.

Type of attributes: "log" for log attributes, "resource" for resource attributes. 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 attributes.

Max results (default: 100)

Pagination offset (default: 0)

Search filter for attribute names

When true, the search query also matches attribute values (not just keys). Each result indicates whether it matched on key or value.

Filter attributes to those appearing in logs from these services.

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.environmentsLogsAttributesRetrieve({
  "search_values": false
})