AppDynamics · Capability

AppDynamics Alert and Respond API — Health Rules

AppDynamics Alert and Respond API — Health Rules. 5 operations. Lead operation: List health rules for an application. Self-contained Naftiko capability covering one Appdynamics business surface.

Run with Naftiko AppdynamicsHealth Rules

What You Can Do

GET
Listhealthrules — List health rules for an application
/v1/alerting/rest/v1/applications/{applicationid}/health-rules
POST
Createhealthrule — Create a health rule
/v1/alerting/rest/v1/applications/{applicationid}/health-rules
GET
Gethealthrule — Get a specific health rule
/v1/alerting/rest/v1/applications/{applicationid}/health-rules/{healthruleid}
PUT
Updatehealthrule — Update a health rule
/v1/alerting/rest/v1/applications/{applicationid}/health-rules/{healthruleid}
DELETE
Deletehealthrule — Delete a health rule
/v1/alerting/rest/v1/applications/{applicationid}/health-rules/{healthruleid}

MCP Tools

list-health-rules-application

List health rules for an application

read-only idempotent
create-health-rule

Create a health rule

get-specific-health-rule

Get a specific health rule

read-only idempotent
update-health-rule

Update a health rule

idempotent
delete-health-rule

Delete a health rule

idempotent

Capability Spec

alert-and-respond-health-rules.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: AppDynamics Alert and Respond API — Health Rules
  description: 'AppDynamics Alert and Respond API — Health Rules. 5 operations. Lead operation: List health rules for an application.
    Self-contained Naftiko capability covering one Appdynamics business surface.'
  tags:
  - Appdynamics
  - Health Rules
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APPDYNAMICS_API_KEY: APPDYNAMICS_API_KEY
capability:
  consumes:
  - type: http
    namespace: alert-and-respond-health-rules
    baseUri: https://{controller-host}/controller
    description: AppDynamics Alert and Respond API — Health Rules business capability. Self-contained, no shared references.
    resources:
    - name: alerting-rest-v1-applications-applicationId-health-rules
      path: /alerting/rest/v1/applications/{applicationId}/health-rules
      operations:
      - name: listhealthrules
        method: GET
        description: List health rules for an application
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createhealthrule
        method: POST
        description: Create a health rule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: alerting-rest-v1-applications-applicationId-health-rules-healthRuleId
      path: /alerting/rest/v1/applications/{applicationId}/health-rules/{healthRuleId}
      operations:
      - name: gethealthrule
        method: GET
        description: Get a specific health rule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatehealthrule
        method: PUT
        description: Update a health rule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletehealthrule
        method: DELETE
        description: Delete a health rule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.APPDYNAMICS_API_KEY}}'
  exposes:
  - type: rest
    namespace: alert-and-respond-health-rules-rest
    port: 8080
    description: REST adapter for AppDynamics Alert and Respond API — Health Rules. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/alerting/rest/v1/applications/{applicationid}/health-rules
      name: alerting-rest-v1-applications-applicationid-health-rules
      description: REST surface for alerting-rest-v1-applications-applicationId-health-rules.
      operations:
      - method: GET
        name: listhealthrules
        description: List health rules for an application
        call: alert-and-respond-health-rules.listhealthrules
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createhealthrule
        description: Create a health rule
        call: alert-and-respond-health-rules.createhealthrule
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/alerting/rest/v1/applications/{applicationid}/health-rules/{healthruleid}
      name: alerting-rest-v1-applications-applicationid-health-rules-healthruleid
      description: REST surface for alerting-rest-v1-applications-applicationId-health-rules-healthRuleId.
      operations:
      - method: GET
        name: gethealthrule
        description: Get a specific health rule
        call: alert-and-respond-health-rules.gethealthrule
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatehealthrule
        description: Update a health rule
        call: alert-and-respond-health-rules.updatehealthrule
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletehealthrule
        description: Delete a health rule
        call: alert-and-respond-health-rules.deletehealthrule
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: alert-and-respond-health-rules-mcp
    port: 9090
    transport: http
    description: MCP adapter for AppDynamics Alert and Respond API — Health Rules. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: list-health-rules-application
      description: List health rules for an application
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: alert-and-respond-health-rules.listhealthrules
      outputParameters:
      - type: object
        mapping: $.
    - name: create-health-rule
      description: Create a health rule
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: alert-and-respond-health-rules.createhealthrule
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-specific-health-rule
      description: Get a specific health rule
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: alert-and-respond-health-rules.gethealthrule
      outputParameters:
      - type: object
        mapping: $.
    - name: update-health-rule
      description: Update a health rule
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: alert-and-respond-health-rules.updatehealthrule
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-health-rule
      description: Delete a health rule
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: alert-and-respond-health-rules.deletehealthrule
      outputParameters:
      - type: object
        mapping: $.