provider live_debugger_breakpoints GET
/api/projects/{project_id}/live_debugger_breakpoints/active/ @utdk/posthog
/api/projects/{project_id}/live_debugger_breakpoints/active/ Get active breakpoints (External API)
External API endpoint for client applications to fetch active breakpoints using Project API key. This endpoint allows external client applications (like Python scripts, Node.js apps, etc.) to fetch the list of active breakpoints so they can instrument their code accordingly.
Authentication: Requires a Project API Key in the Authorization header: `Authorization: Bearer phs_<your-project-api-key>`. You can find your Project API Key in PostHog at: Settings → Project → Project API Key
- enabled query
- Only return enabled breakpoints
- boolean
- filename query
- Filter breakpoints for a specific file
- 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
- repository query
- Filter breakpoints for a specific repository (e.g., 'PostHog/posthog')
- string
Try it
Authentication
Configure credentials for PostHog API
Code snippet
Updates live as you fill in the form above.
TypeScript
import posthog from '@utdk/posthog';
await posthog.liveDebuggerBreakpointsActiveRetrieve()