PostHog · Capability

PostHog API — health_issues

PostHog API — health_issues. 5 operations. Lead operation: health_issues. Self-contained Naftiko capability covering one Posthog business surface.

Run with Naftiko Posthoghealth_issues

What You Can Do

GET
Healthissueslist — healthissueslist
/v1/api/environments/{project-id}/health-issues
GET
Healthissuessummaryretrieve — healthissuessummaryretrieve
/v1/api/environments/{project-id}/health-issues/summary
GET
Healthissuesretrieve — healthissuesretrieve
/v1/api/environments/{project-id}/health-issues/{id}
PATCH
Healthissuespartialupdate — healthissuespartialupdate
/v1/api/environments/{project-id}/health-issues/{id}
POST
Healthissuesresolvecreate — healthissuesresolvecreate
/v1/api/environments/{project-id}/health-issues/{id}/resolve

MCP Tools

healthissueslist

healthissueslist

read-only idempotent
healthissuessummaryretrieve

healthissuessummaryretrieve

read-only idempotent
healthissuesretrieve

healthissuesretrieve

read-only idempotent
healthissuespartialupdate

healthissuespartialupdate

idempotent
healthissuesresolvecreate

healthissuesresolvecreate

Capability Spec

posthog-health-issues.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: PostHog API — health_issues
  description: 'PostHog API — health_issues. 5 operations. Lead operation: health_issues. Self-contained Naftiko capability
    covering one Posthog business surface.'
  tags:
  - Posthog
  - health_issues
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    POSTHOG_API_KEY: POSTHOG_API_KEY
capability:
  consumes:
  - type: http
    namespace: posthog-health-issues
    baseUri: ''
    description: PostHog API — health_issues business capability. Self-contained, no shared references.
    resources:
    - name: api-environments-project_id-health_issues
      path: /api/environments/{project_id}/health_issues/
      operations:
      - name: healthissueslist
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - 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: api-environments-project_id-health_issues-summary
      path: /api/environments/{project_id}/health_issues/summary/
      operations:
      - name: healthissuessummaryretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-environments-project_id-health_issues-id
      path: /api/environments/{project_id}/health_issues/{id}/
      operations:
      - name: healthissuesretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this health issue.
          required: true
      - name: healthissuespartialupdate
        method: PATCH
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this health issue.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-environments-project_id-health_issues-id-resolve
      path: /api/environments/{project_id}/health_issues/{id}/resolve/
      operations:
      - name: healthissuesresolvecreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this health issue.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: bearer
      token: '{{env.POSTHOG_API_KEY}}'
  exposes:
  - type: rest
    namespace: posthog-health-issues-rest
    port: 8080
    description: REST adapter for PostHog API — health_issues. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/environments/{project-id}/health-issues
      name: api-environments-project-id-health-issues
      description: REST surface for api-environments-project_id-health_issues.
      operations:
      - method: GET
        name: healthissueslist
        description: healthissueslist
        call: posthog-health-issues.healthissueslist
        with:
          limit: rest.limit
          offset: rest.offset
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/environments/{project-id}/health-issues/summary
      name: api-environments-project-id-health-issues-summary
      description: REST surface for api-environments-project_id-health_issues-summary.
      operations:
      - method: GET
        name: healthissuessummaryretrieve
        description: healthissuessummaryretrieve
        call: posthog-health-issues.healthissuessummaryretrieve
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/environments/{project-id}/health-issues/{id}
      name: api-environments-project-id-health-issues-id
      description: REST surface for api-environments-project_id-health_issues-id.
      operations:
      - method: GET
        name: healthissuesretrieve
        description: healthissuesretrieve
        call: posthog-health-issues.healthissuesretrieve
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: healthissuespartialupdate
        description: healthissuespartialupdate
        call: posthog-health-issues.healthissuespartialupdate
        with:
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/environments/{project-id}/health-issues/{id}/resolve
      name: api-environments-project-id-health-issues-id-resolve
      description: REST surface for api-environments-project_id-health_issues-id-resolve.
      operations:
      - method: POST
        name: healthissuesresolvecreate
        description: healthissuesresolvecreate
        call: posthog-health-issues.healthissuesresolvecreate
        with:
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: posthog-health-issues-mcp
    port: 9090
    transport: http
    description: MCP adapter for PostHog API — health_issues. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: healthissueslist
      description: healthissueslist
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: posthog-health-issues.healthissueslist
      with:
        limit: tools.limit
        offset: tools.offset
      outputParameters:
      - type: object
        mapping: $.
    - name: healthissuessummaryretrieve
      description: healthissuessummaryretrieve
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: posthog-health-issues.healthissuessummaryretrieve
      outputParameters:
      - type: object
        mapping: $.
    - name: healthissuesretrieve
      description: healthissuesretrieve
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: posthog-health-issues.healthissuesretrieve
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: healthissuespartialupdate
      description: healthissuespartialupdate
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: posthog-health-issues.healthissuespartialupdate
      with:
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: healthissuesresolvecreate
      description: healthissuesresolvecreate
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: posthog-health-issues.healthissuesresolvecreate
      with:
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.