PostHog Live Debugger Breakpoints API

The live_debugger_breakpoints API from PostHog — 4 operation(s) for live_debugger_breakpoints.

GitHub OpenAPI

Operations 8

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/projects/{project_id}/live_debugger_breakpoints/ List live debugger breakpoints · Live debugger breakpoints list #
Ask an LLM
“Which breakpoints are set for live debugging in my project?”
“Can I list only the breakpoints in one repository?”
Tell an agent
List live debugger breakpoints in project {project_id}.
Show breakpoints in {filename} for repository {repository}.
POST /api/projects/{project_id}/live_debugger_breakpoints/ Set a live debugging breakpoint · Live debugger breakpoints create #
Ask an LLM
“How do I pause execution at a specific line of code in live debugging?”
“Can I set a breakpoint with a condition?”
Tell an agent
Set a breakpoint at line {line_number} of {filename} in project {project_id}.
Add a breakpoint at {filename}:{line_number} with condition {condition}.
GET /api/projects/{project_id}/live_debugger_breakpoints/{id}/ Get a live debugging breakpoint · Live debugger breakpoints retrieve #
Ask an LLM
“What line and condition does a particular live breakpoint have?”
“Can I fetch one live debugging breakpoint by id?”
Tell an agent
Get live breakpoint {id} in project {project_id}.
Show the condition on breakpoint {id}.
PUT /api/projects/{project_id}/live_debugger_breakpoints/{id}/ Replace a live debugging breakpoint · Live debugger breakpoints update #
Ask an LLM
“How do I overwrite a live breakpoint's condition or line number?”
“Can I fully replace a live debugging breakpoint?”
Tell an agent
Replace breakpoint {id} in project {project_id} with line {line_number} and condition {condition}.
Overwrite the whole live breakpoint {id}.
PATCH /api/projects/{project_id}/live_debugger_breakpoints/{id}/ Change a live debugging breakpoint · Live debugger breakpoints partial update #
Ask an LLM
“Can I disable a live debugging breakpoint without deleting it?”
“How do I change just the condition on a live breakpoint?”
Tell an agent
Disable live breakpoint {id} in project {project_id}.
Set the condition on breakpoint {id} to {condition}.
DELETE /api/projects/{project_id}/live_debugger_breakpoints/{id}/ Delete a live debugging breakpoint · Live debugger breakpoints destroy #
Ask an LLM
“How do I remove a live debugging breakpoint?”
“Can I delete a breakpoint by its id?”
Tell an agent destructive · confirm first
Delete live breakpoint {id} in project {project_id}.
Remove the live debugging breakpoint {id}.
GET /api/projects/{project_id}/live_debugger_breakpoints/active/ Get active live debugging breakpoints · Get active breakpoints (External API) #
Ask an LLM
“Which breakpoints are currently active in my project?”
“Can I fetch only enabled live breakpoints?”
Tell an agent
Get active live breakpoints in project {project_id}.
Show enabled live breakpoints in {filename} for repository {repository}.
GET /api/projects/{project_id}/live_debugger_breakpoints/breakpoint_hits/ List live debugging breakpoint hits · Get breakpoint hits #
Ask an LLM
“Where have my live debugging breakpoints been hit?”
“Can I filter breakpoint hits to specific breakpoints?”
Tell an agent
List hits for breakpoints {breakpoint_ids} in project {project_id}.
Show the first {limit} live debugging hits.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/posthog:posthog-live-debugger-breakpoints-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

posthog-live-debugger-breakpoints-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PostHog Live Debugger Breakpoints API
  version: 1.0.0
  description: ''
tags:
- name: live_debugger_breakpoints
paths:
  /api/projects/{project_id}/live_debugger_breakpoints/:
    get:
      operationId: live_debugger_breakpoints_list
      description: Create, Read, Update and Delete breakpoints for live debugging.
      parameters:
      - in: query
        name: filename
        schema:
          type: string
      - name: limit
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      - name: offset
        required: false
        in: query
        description: The initial index from which to return the results.
        schema:
          type: integer
      - $ref: '#/components/parameters/ProjectIdPath'
      - in: query
        name: repository
        schema:
          type: string
      tags:
      - live_debugger_breakpoints
      security:
      - PersonalAPIKeyAuth:
        - live_debugger:read
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedLiveDebuggerBreakpointList'
          description: ''
      x-explicit-tags:
      - live_debugger
      summary: Live debugger breakpoints list
      x-summary-source: derived
    post:
      operationId: live_debugger_breakpoints_create
      description: Create, Read, Update and Delete breakpoints for live debugging.
      parameters:
      - $ref: '#/components/parameters/ProjectIdPath'
      tags:
      - live_debugger_breakpoints
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LiveDebuggerBreakpoint'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/LiveDebuggerBreakpoint'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/LiveDebuggerBreakpoint'
        required: true
      security:
      - PersonalAPIKeyAuth:
        - live_debugger:write
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LiveDebuggerBreakpoint'
          description: ''
      x-explicit-tags:
      - live_debugger
      summary: Live debugger breakpoints create
      x-summary-source: derived
  /api/projects/{project_id}/live_debugger_breakpoints/{id}/:
    get:
      operationId: live_debugger_breakpoints_retrieve
      description: Create, Read, Update and Delete breakpoints for live debugging.
      parameters:
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this live debugger breakpoint.
        required: true
      - $ref: '#/components/parameters/ProjectIdPath'
      tags:
      - live_debugger_breakpoints
      security:
      - PersonalAPIKeyAuth:
        - live_debugger:read
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LiveDebuggerBreakpoint'
          description: ''
      x-explicit-tags: []
      summary: Live debugger breakpoints retrieve
      x-summary-source: derived
    put:
      operationId: live_debugger_breakpoints_update
      description: Create, Read, Update and Delete breakpoints for live debugging.
      parameters:
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this live debugger breakpoint.
        required: true
      - $ref: '#/components/parameters/ProjectIdPath'
      tags:
      - live_debugger_breakpoints
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LiveDebuggerBreakpoint'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/LiveDebuggerBreakpoint'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/LiveDebuggerBreakpoint'
        required: true
      security:
      - PersonalAPIKeyAuth:
        - live_debugger:write
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LiveDebuggerBreakpoint'
          description: ''
      x-explicit-tags: []
      summary: Live debugger breakpoints update
      x-summary-source: derived
    patch:
      operationId: live_debugger_breakpoints_partial_update
      description: Create, Read, Update and Delete breakpoints for live debugging.
      parameters:
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this live debugger breakpoint.
        required: true
      - $ref: '#/components/parameters/ProjectIdPath'
      tags:
      - live_debugger_breakpoints
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedLiveDebuggerBreakpoint'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedLiveDebuggerBreakpoint'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedLiveDebuggerBreakpoint'
      security:
      - PersonalAPIKeyAuth:
        - live_debugger:write
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LiveDebuggerBreakpoint'
          description: ''
      x-explicit-tags: []
      summary: Live debugger breakpoints partial update
      x-summary-source: derived
    delete:
      operationId: live_debugger_breakpoints_destroy
      description: Create, Read, Update and Delete breakpoints for live debugging.
      parameters:
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this live debugger breakpoint.
        required: true
      - $ref: '#/components/parameters/ProjectIdPath'
      tags:
      - live_debugger_breakpoints
      security:
      - PersonalAPIKeyAuth:
        - live_debugger:write
      responses:
        '204':
          description: No response body
      x-explicit-tags: []
      summary: Live debugger breakpoints destroy
      x-summary-source: derived
  /api/projects/{project_id}/live_debugger_breakpoints/active/:
    get:
      operationId: live_debugger_breakpoints_active_retrieve
      description: '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_`. You can find your Project API Key in PostHog at: Settings → Project → Project API Key'
      summary: Get active breakpoints (External API)
      parameters:
      - in: query
        name: enabled
        schema:
          type: boolean
        description: Only return enabled breakpoints
      - in: query
        name: filename
        schema:
          type: string
        description: Filter breakpoints for a specific file
      - $ref: '#/components/parameters/ProjectIdPath'
      - in: query
        name: repository
        schema:
          type: string
        description: Filter breakpoints for a specific repository (e.g., 'PostHog/posthog')
      tags:
      - live_debugger_breakpoints
      security:
      - PersonalAPIKeyAuth:
        - live_debugger:read
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActiveBreakpointsResponse'
          description: List of breakpoints for client consumption
        '400':
          description: Invalid query parameters
        '401':
          description: Invalid or missing Project API key
      x-explicit-tags:
      - live_debugger
  /api/projects/{project_id}/live_debugger_breakpoints/breakpoint_hits/:
    get:
      operationId: live_debugger_breakpoints_breakpoint_hits_retrieve
      description: '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.


        Security: Breakpoint IDs are filtered to only include those belonging to the current team.'
      summary: Get breakpoint hits
      parameters:
      - in: query
        name: breakpoint_ids
        schema:
          type: string
        description: Filter hits for specific breakpoints (repeat parameter for multiple IDs, e.g., ?breakpoint_ids=uuid1&breakpoint_ids=uuid2)
      - in: query
        name: limit
        schema:
          type: integer
        description: 'Number of hits to return (default: 100, max: 1000)'
      - in: query
        name: offset
        schema:
          type: integer
        description: 'Pagination offset for retrieving additional results (default: 0)'
      - $ref: '#/components/parameters/ProjectIdPath'
      tags:
      - live_debugger_breakpoints
      security:
      - PersonalAPIKeyAuth:
        - live_debugger:read
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BreakpointHitsResponse'
          description: List of breakpoint hits with pagination info
        '400':
          description: Invalid query parameters (invalid UUID, limit out of range, etc.)
      x-explicit-tags:
      - live_debugger
components:
  schemas:
    ActiveBreakpoint:
      type: object
      description: Schema for a single active breakpoint
      properties:
        id:
          type: string
          format: uuid
          description: Unique identifier for the breakpoint
        repository:
          type:
          - string
          - 'null'
          description: Repository identifier (e.g., 'PostHog/posthog')
        filename:
          type: string
          description: File path where the breakpoint is set
        line_number:
          type: integer
          description: Line number of the breakpoint
        enabled:
          type: boolean
          description: Whether the breakpoint is enabled
        condition:
          type:
          - string
          - 'null'
          description: Optional condition for the breakpoint
      required:
      - enabled
      - filename
      - id
      - line_number
    LiveDebuggerBreakpoint:
      type: object
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
        repository:
          type:
          - string
          - 'null'
        filename:
          type: string
        line_number:
          type: integer
          maximum: 2147483647
          minimum: 0
        enabled:
          type: boolean
        condition:
          type:
          - string
          - 'null'
        created_at:
          type: string
          format: date-time
          readOnly: true
        updated_at:
          type: string
          format: date-time
          readOnly: true
      required:
      - created_at
      - filename
      - id
      - line_number
      - updated_at
    ActiveBreakpointsResponse:
      type: object
      description: Response schema for active breakpoints endpoint
      properties:
        breakpoints:
          type: array
          items:
            $ref: '#/components/schemas/ActiveBreakpoint'
          description: List of active breakpoints
      required:
      - breakpoints
    BreakpointHit:
      type: object
      description: Schema for a single breakpoint hit event
      properties:
        id:
          type: string
          format: uuid
          description: Unique identifier for the hit event
        lineNumber:
          type: integer
          description: Line number where the breakpoint was hit
        functionName:
          type: string
          description: Name of the function where breakpoint was hit
        timestamp:
          type: string
          format: date-time
          description: When the breakpoint was hit
        variables:
          type: object
          additionalProperties: true
          description: Local variables at the time of the hit
        stackTrace:
          type: array
          items: {}
          description: Stack trace at the time of the hit
        breakpoint_id:
          type: string
          format: uuid
          description: ID of the breakpoint that was hit
        filename:
          type: string
          description: Filename where the breakpoint was hit
      required:
      - breakpoint_id
      - filename
      - functionName
      - id
      - lineNumber
      - stackTrace
      - timestamp
      - variables
    PaginatedLiveDebuggerBreakpointList:
      type: object
      required:
      - count
      - results
      properties:
        count:
          type: integer
          example: 123
        next:
          type:
          - string
          - 'null'
          format: uri
          example: http://api.example.org/accounts/?offset=400&limit=100
        previous:
          type:
          - string
          - 'null'
          format: uri
          example: http://api.example.org/accounts/?offset=200&limit=100
        results:
          type: array
          items:
            $ref: '#/components/schemas/LiveDebuggerBreakpoint'
    BreakpointHitsResponse:
      type: object
      description: Response schema for breakpoint hits endpoint
      properties:
        results:
          type: array
          items:
            $ref: '#/components/schemas/BreakpointHit'
          description: List of breakpoint hit events
        count:
          type: integer
          description: Number of results returned
        has_more:
          type: boolean
          description: Whether there are more results available
      required:
      - count
      - has_more
      - results
    PatchedLiveDebuggerBreakpoint:
      type: object
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
        repository:
          type:
          - string
          - 'null'
        filename:
          type: string
        line_number:
          type: integer
          maximum: 2147483647
          minimum: 0
        enabled:
          type: boolean
        condition:
          type:
          - string
          - 'null'
        created_at:
          type: string
          format: date-time
          readOnly: true
        updated_at:
          type: string
          format: date-time
          readOnly: true
  parameters:
    ProjectIdPath:
      in: path
      name: project_id
      required: true
      schema:
        type: string
      description: Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
  securitySchemes:
    PersonalAPIKeyAuth:
      type: http
      scheme: bearer
x-tagGroups:
- name: All endpoints
  tags:
  - LLM Analytics
  - actions
  - activity_log
  - activity_logs
  - advanced_activity_logs
  - alerts
  - annotations
  - approval_policies
  - batch_exports
  - cdp
  - change_requests
  - code
  - code-invites
  - cohorts
  - comments
  - conversations
  - core
  - customer_analytics
  - customer_journeys
  - customer_profile_configs
  - dashboard_templates
  - dashboards
  - data_color_themes
  - data_modeling_jobs
  - data_warehouse
  - dataset_items
  - datasets
  - desktop_recordings
  - domains
  - early_access_feature
  - early_access_features
  - elements
  - endpoints
  - environments
  - error_tracking
  - evaluation_runs
  - evaluations
  - event_definitions
  - event_filter
  - event_schemas
  - events
  - experiment_holdouts
  - experiment_saved_metrics
  - experiments
  - exports
  - external_data_schemas
  - external_data_sources
  - feature_flags
  - file_system
  - file_system_shortcut
  - flag_value
  - groups
  - groups_types
  - health_issues
  - heatmap_screenshots
  - heatmaps
  - hog_flows
  - hog_function_templates
  - hog_functions
  - insight_variables
  - insights
  - integrations
  - invites
  - js-snippet
  - legal_documents
  - lineage
  - live_debugger_breakpoints
  - llm_analytics
  - llm_prompts
  - llm_skills
  - logs
  - managed_viewsets
  - max
  - max_tools
  - mcp_server_installations
  - mcp_servers
  - mcp_store
  - mcp_tools
  - members
  - notebooks
  - oauth_applications
  - object_media_previews
  - organizations
  - persisted_folder
  - persons
  - platform_features
  - plugin_configs
  - product_analytics
  - product_tours
  - project_secret_api_keys
  - projects
  - property_definitions
  - proxy_records
  - public_hog_function_templates
  - query
  - replay
  - reverse_proxy
  - role_external_references
  - roles
  - sandbox-environments
  - sandbox_environments
  - saved
  - schema_property_groups
  - sdk_doctor
  - session_group_summaries
  - session_recording_playlists
  - session_recordings
  - session_summaries
  - sessions
  - signals
  - subscriptions
  - surveys
  - taggers
  - task-automations
  - task-runs
  - task_automations
  - tasks
  - uploaded_media
  - user_home_settings
  - user_interviews
  - users
  - visual_review
  - warehouse_dag
  - warehouse_model_paths
  - warehouse_saved_queries
  - warehouse_saved_query_folders
  - warehouse_tables
  - warehouse_view_link
  - warehouse_view_links
  - web_analytics
  - web_experiments
  - web_vitals
  - welcome
  - workflows