provider organizationsprojects GET /api/organizations/{organization_id}/projects/{id}/logs_config/
@utdk/posthog /api/organizations/{organization_id}/projects/{id}/logs_config/
organizations_projects_logs_config_retrieve
Manage logs product configuration for this project's canonical environment. Mirrors the env-router action so /api/projects/:id/logs_config/ resolves alongside the legacy /api/environments/:id/logs_config/ alias.
id path required
A unique value identifying this project.
integer
organization_id path required
ID of the organization you're trying to access. To find the ID of the organization, make a call to /api/organizations/.
string

Try it

Authentication
Configure credentials for PostHog API
organizationsProjectsLogsConfigRetrieve
GET/api/organizations/{organization_id}/projects/{id}/logs_config/
Manage logs product configuration for this project's canonical environment. Mirrors the env-router action so /api/projects/:id/logs_config/ resolves alongside the legacy /api/environments/:id/logs_config/ alias.

Parameters

required

A unique value identifying this project.

required

ID of the organization you're trying to access. To find the ID of the organization, make a call to /api/organizations/.

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