provider query GET /api/environments/{environment_id}/query/{id}/log/
@utdk/posthog /api/environments/{environment_id}/query/{id}/log/
environments_query_log_retrieve
Get query log details from query_log_archive table for a specific query_id, the query must have been issued in last 24 hours.
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string
id path required
string

Try it

Authentication
Configure credentials for PostHog API
environmentsQueryLogRetrieve
GET/api/environments/{environment_id}/query/{id}/log/
Get query log details from query_log_archive table for a specific query_id, the query must have been issued in last 24 hours.

Parameters

required

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

required

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.environmentsQueryLogRetrieve()