Request
- Base URL: https://us.posthog.com
- URL: https://us.posthog.com/api/projects/{project_id}/logs/attributes/
- Auth: HTTP bearer
Path parameters
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
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.
Start of the range as a top-level parameter. The endpoint ignores it when you send dateRange.
End of the range as a top-level parameter. The endpoint ignores it when you send dateRange.
Property filters to narrow which logs are scanned for attributes.
Comma-separated list of attribute keys. The endpoint returns only keys that exactly match an entry in the list.
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.
Response
Changes
No recorded changes to this operation across all 1 revision of this API.