provider query GET /api/projects/{project_id}/query/{id}/log/
@utdk/posthog /api/projects/{project_id}/query/{id}/log/
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.
id path required
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

Try it

Authentication
Configure credentials for PostHog API
queryLogRetrieve
GET/api/projects/{project_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
required

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

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