{ "opencollection": "1.0.0", "info": { "name": "PostHog actions live_debugger_breakpoints API", "version": "1.0.0" }, "items": [ { "info": { "name": "live_debugger_breakpoints", "type": "folder" }, "items": [ { "info": { "name": "live_debugger_breakpoints_list", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/projects/:project_id/live_debugger_breakpoints/", "params": [ { "name": "filename", "value": "", "type": "query" }, { "name": "limit", "value": "", "type": "query", "description": "Number of results to return per page." }, { "name": "offset", "value": "", "type": "query", "description": "The initial index from which to return the results." }, { "name": "project_id", "value": "", "type": "path", "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/." }, { "name": "repository", "value": "", "type": "query" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create, Read, Update and Delete breakpoints for live debugging." }, { "info": { "name": "live_debugger_breakpoints_create", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/projects/:project_id/live_debugger_breakpoints/", "params": [ { "name": "project_id", "value": "", "type": "path", "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create, Read, Update and Delete breakpoints for live debugging." }, { "info": { "name": "live_debugger_breakpoints_retrieve", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/projects/:project_id/live_debugger_breakpoints/:id/", "params": [ { "name": "id", "value": "", "type": "path", "description": "A UUID string identifying this live debugger breakpoint." }, { "name": "project_id", "value": "", "type": "path", "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create, Read, Update and Delete breakpoints for live debugging." }, { "info": { "name": "live_debugger_breakpoints_update", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/api/projects/:project_id/live_debugger_breakpoints/:id/", "params": [ { "name": "id", "value": "", "type": "path", "description": "A UUID string identifying this live debugger breakpoint." }, { "name": "project_id", "value": "", "type": "path", "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create, Read, Update and Delete breakpoints for live debugging." }, { "info": { "name": "live_debugger_breakpoints_partial_update", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/api/projects/:project_id/live_debugger_breakpoints/:id/", "params": [ { "name": "id", "value": "", "type": "path", "description": "A UUID string identifying this live debugger breakpoint." }, { "name": "project_id", "value": "", "type": "path", "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create, Read, Update and Delete breakpoints for live debugging." }, { "info": { "name": "live_debugger_breakpoints_destroy", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/api/projects/:project_id/live_debugger_breakpoints/:id/", "params": [ { "name": "id", "value": "", "type": "path", "description": "A UUID string identifying this live debugger breakpoint." }, { "name": "project_id", "value": "", "type": "path", "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create, Read, Update and Delete breakpoints for live debugging." }, { "info": { "name": "Get active breakpoints (External API)", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/projects/:project_id/live_debugger_breakpoints/active/", "params": [ { "name": "enabled", "value": "", "type": "query", "description": "Only return enabled breakpoints" }, { "name": "filename", "value": "", "type": "query", "description": "Filter breakpoints for a specific file" }, { "name": "project_id", "value": "", "type": "path", "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/." }, { "name": "repository", "value": "", "type": "query", "description": "Filter breakpoints for a specific repository (e.g., 'PostHog/posthog')" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "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. \n\nAuthentication: Requires a Project API Key in the Authorization header: `Authorization: Bearer phs_`. You can find your Project API Key in PostHog at: Settings → Project → Project API Key" }, { "info": { "name": "Get breakpoint hits", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/projects/:project_id/live_debugger_breakpoints/breakpoint_hits/", "params": [ { "name": "breakpoint_ids", "value": "", "type": "query", "description": "Filter hits for specific breakpoints (repeat parameter for multiple IDs, e.g., ?breakpoint_ids=uuid1&breakpoint_ids=uuid2)" }, { "name": "limit", "value": "", "type": "query", "description": "Number of hits to return (default: 100, max: 1000)" }, { "name": "offset", "value": "", "type": "query", "description": "Pagination offset for retrieving additional results (default: 0)" }, { "name": "project_id", "value": "", "type": "path", "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Retrieve breakpoint hit events from ClickHouse with optional filtering and pagination. Returns hit events containing stack traces, local variables, and execution context from your application's runtime. \n\nSecurity: Breakpoint IDs are filtered to only include those belonging to the current team." } ] } ], "bundled": true }