naftiko: 1.0.0-alpha2 info: label: PostHog API — live_debugger_breakpoints description: 'PostHog API — live_debugger_breakpoints. 8 operations. Lead operation: Get active breakpoints (External API). Self-contained Naftiko capability covering one Posthog business surface.' tags: - Posthog - live_debugger_breakpoints created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: POSTHOG_API_KEY: POSTHOG_API_KEY capability: consumes: - type: http namespace: posthog-live-debugger-breakpoints baseUri: '' description: PostHog API — live_debugger_breakpoints business capability. Self-contained, no shared references. resources: - name: api-projects-project_id-live_debugger_breakpoints path: /api/projects/{project_id}/live_debugger_breakpoints/ operations: - name: livedebuggerbreakpointslist method: GET description: Create, Read, Update and Delete breakpoints for live debugging. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: filename in: query type: string - name: limit in: query type: integer description: Number of results to return per page. - name: offset in: query type: integer description: The initial index from which to return the results. - name: repository in: query type: string - name: livedebuggerbreakpointscreate method: POST description: Create, Read, Update and Delete breakpoints for live debugging. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-projects-project_id-live_debugger_breakpoints-active path: /api/projects/{project_id}/live_debugger_breakpoints/active/ operations: - name: livedebuggerbreakpointsactiveretrieve method: GET description: Get active breakpoints (External API) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: enabled in: query type: boolean description: Only return enabled breakpoints - name: filename in: query type: string description: Filter breakpoints for a specific file - name: repository in: query type: string description: Filter breakpoints for a specific repository (e.g., 'PostHog/posthog') - name: api-projects-project_id-live_debugger_breakpoints-breakpoint_hits path: /api/projects/{project_id}/live_debugger_breakpoints/breakpoint_hits/ operations: - name: livedebuggerbreakpointsbreakpointhitsretrieve method: GET description: Get breakpoint hits outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: breakpoint_ids in: query type: string description: Filter hits for specific breakpoints (repeat parameter for multiple IDs, e.g., ?breakpoint_ids=uuid1&breakpoint_ids=uuid2) - name: limit in: query type: integer description: 'Number of hits to return (default: 100, max: 1000)' - name: offset in: query type: integer description: 'Pagination offset for retrieving additional results (default: 0)' - name: api-projects-project_id-live_debugger_breakpoints-id path: /api/projects/{project_id}/live_debugger_breakpoints/{id}/ operations: - name: livedebuggerbreakpointsretrieve method: GET description: Create, Read, Update and Delete breakpoints for live debugging. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this live debugger breakpoint. required: true - name: livedebuggerbreakpointsupdate method: PUT description: Create, Read, Update and Delete breakpoints for live debugging. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this live debugger breakpoint. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: livedebuggerbreakpointspartialupdate method: PATCH description: Create, Read, Update and Delete breakpoints for live debugging. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this live debugger breakpoint. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: livedebuggerbreakpointsdestroy method: DELETE description: Create, Read, Update and Delete breakpoints for live debugging. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this live debugger breakpoint. required: true authentication: type: bearer token: '{{env.POSTHOG_API_KEY}}' exposes: - type: rest namespace: posthog-live-debugger-breakpoints-rest port: 8080 description: REST adapter for PostHog API — live_debugger_breakpoints. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/projects/{project-id}/live-debugger-breakpoints name: api-projects-project-id-live-debugger-breakpoints description: REST surface for api-projects-project_id-live_debugger_breakpoints. operations: - method: GET name: livedebuggerbreakpointslist description: Create, Read, Update and Delete breakpoints for live debugging. call: posthog-live-debugger-breakpoints.livedebuggerbreakpointslist with: filename: rest.filename limit: rest.limit offset: rest.offset repository: rest.repository outputParameters: - type: object mapping: $. - method: POST name: livedebuggerbreakpointscreate description: Create, Read, Update and Delete breakpoints for live debugging. call: posthog-live-debugger-breakpoints.livedebuggerbreakpointscreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/projects/{project-id}/live-debugger-breakpoints/active name: api-projects-project-id-live-debugger-breakpoints-active description: REST surface for api-projects-project_id-live_debugger_breakpoints-active. operations: - method: GET name: livedebuggerbreakpointsactiveretrieve description: Get active breakpoints (External API) call: posthog-live-debugger-breakpoints.livedebuggerbreakpointsactiveretrieve with: enabled: rest.enabled filename: rest.filename repository: rest.repository outputParameters: - type: object mapping: $. - path: /v1/api/projects/{project-id}/live-debugger-breakpoints/breakpoint-hits name: api-projects-project-id-live-debugger-breakpoints-breakpoint-hits description: REST surface for api-projects-project_id-live_debugger_breakpoints-breakpoint_hits. operations: - method: GET name: livedebuggerbreakpointsbreakpointhitsretrieve description: Get breakpoint hits call: posthog-live-debugger-breakpoints.livedebuggerbreakpointsbreakpointhitsretrieve with: breakpoint_ids: rest.breakpoint_ids limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - path: /v1/api/projects/{project-id}/live-debugger-breakpoints/{id} name: api-projects-project-id-live-debugger-breakpoints-id description: REST surface for api-projects-project_id-live_debugger_breakpoints-id. operations: - method: GET name: livedebuggerbreakpointsretrieve description: Create, Read, Update and Delete breakpoints for live debugging. call: posthog-live-debugger-breakpoints.livedebuggerbreakpointsretrieve with: id: rest.id outputParameters: - type: object mapping: $. - method: PUT name: livedebuggerbreakpointsupdate description: Create, Read, Update and Delete breakpoints for live debugging. call: posthog-live-debugger-breakpoints.livedebuggerbreakpointsupdate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: PATCH name: livedebuggerbreakpointspartialupdate description: Create, Read, Update and Delete breakpoints for live debugging. call: posthog-live-debugger-breakpoints.livedebuggerbreakpointspartialupdate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: livedebuggerbreakpointsdestroy description: Create, Read, Update and Delete breakpoints for live debugging. call: posthog-live-debugger-breakpoints.livedebuggerbreakpointsdestroy with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: posthog-live-debugger-breakpoints-mcp port: 9090 transport: http description: MCP adapter for PostHog API — live_debugger_breakpoints. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-read-update-and-delete description: Create, Read, Update and Delete breakpoints for live debugging. hints: readOnly: true destructive: false idempotent: true call: posthog-live-debugger-breakpoints.livedebuggerbreakpointslist with: filename: tools.filename limit: tools.limit offset: tools.offset repository: tools.repository outputParameters: - type: object mapping: $. - name: create-read-update-and-delete-2 description: Create, Read, Update and Delete breakpoints for live debugging. hints: readOnly: false destructive: false idempotent: false call: posthog-live-debugger-breakpoints.livedebuggerbreakpointscreate with: body: tools.body outputParameters: - type: object mapping: $. - name: get-active-breakpoints-external-api description: Get active breakpoints (External API) hints: readOnly: true destructive: false idempotent: true call: posthog-live-debugger-breakpoints.livedebuggerbreakpointsactiveretrieve with: enabled: tools.enabled filename: tools.filename repository: tools.repository outputParameters: - type: object mapping: $. - name: get-breakpoint-hits description: Get breakpoint hits hints: readOnly: true destructive: false idempotent: true call: posthog-live-debugger-breakpoints.livedebuggerbreakpointsbreakpointhitsretrieve with: breakpoint_ids: tools.breakpoint_ids limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: create-read-update-and-delete-3 description: Create, Read, Update and Delete breakpoints for live debugging. hints: readOnly: true destructive: false idempotent: true call: posthog-live-debugger-breakpoints.livedebuggerbreakpointsretrieve with: id: tools.id outputParameters: - type: object mapping: $. - name: create-read-update-and-delete-4 description: Create, Read, Update and Delete breakpoints for live debugging. hints: readOnly: false destructive: false idempotent: true call: posthog-live-debugger-breakpoints.livedebuggerbreakpointsupdate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: create-read-update-and-delete-5 description: Create, Read, Update and Delete breakpoints for live debugging. hints: readOnly: false destructive: false idempotent: true call: posthog-live-debugger-breakpoints.livedebuggerbreakpointspartialupdate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: create-read-update-and-delete-6 description: Create, Read, Update and Delete breakpoints for live debugging. hints: readOnly: false destructive: true idempotent: true call: posthog-live-debugger-breakpoints.livedebuggerbreakpointsdestroy with: id: tools.id outputParameters: - type: object mapping: $.