Rootly · Capability

Rootly API — Alerts

Rootly API — Alerts. 6 operations. Lead operation: List alerts. Self-contained Naftiko capability covering one Rootly business surface.

Run with Naftiko RootlyAlerts

What You Can Do

GET
Get — List alerts
/v1/alerts
POST
Post — Create alert
/v1/alerts
GET
Get — Get alert
/v1/alerts/{id}
PATCH
Patch — Update alert
/v1/alerts/{id}
POST
Post — Acknowledge alert
/v1/alerts/{id}/acknowledge
POST
Post — Resolve alert
/v1/alerts/{id}/resolve

MCP Tools

list-alerts

List alerts

read-only idempotent
create-alert

Create alert

get-alert

Get alert

read-only idempotent
update-alert

Update alert

idempotent
acknowledge-alert

Acknowledge alert

resolve-alert

Resolve alert

Capability Spec

rootly-alerts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Rootly API — Alerts
  description: 'Rootly API — Alerts. 6 operations. Lead operation: List alerts. Self-contained Naftiko capability covering
    one Rootly business surface.'
  tags:
  - Rootly
  - Alerts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ROOTLY_API_KEY: ROOTLY_API_KEY
capability:
  consumes:
  - type: http
    namespace: rootly-alerts
    baseUri: https://api.rootly.com/v1
    description: Rootly API — Alerts business capability. Self-contained, no shared references.
    resources:
    - name: alerts
      path: /alerts
      operations:
      - name: get
        method: GET
        description: List alerts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: post
        method: POST
        description: Create alert
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: alerts-id
      path: /alerts/{id}
      operations:
      - name: get
        method: GET
        description: Get alert
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: patch
        method: PATCH
        description: Update alert
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: alerts-id-acknowledge
      path: /alerts/{id}/acknowledge
      operations:
      - name: post
        method: POST
        description: Acknowledge alert
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: alerts-id-resolve
      path: /alerts/{id}/resolve
      operations:
      - name: post
        method: POST
        description: Resolve alert
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.ROOTLY_API_KEY}}'
  exposes:
  - type: rest
    namespace: rootly-alerts-rest
    port: 8080
    description: REST adapter for Rootly API — Alerts. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/alerts
      name: alerts
      description: REST surface for alerts.
      operations:
      - method: GET
        name: get
        description: List alerts
        call: rootly-alerts.get
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: Create alert
        call: rootly-alerts.post
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/alerts/{id}
      name: alerts-id
      description: REST surface for alerts-id.
      operations:
      - method: GET
        name: get
        description: Get alert
        call: rootly-alerts.get
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patch
        description: Update alert
        call: rootly-alerts.patch
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/alerts/{id}/acknowledge
      name: alerts-id-acknowledge
      description: REST surface for alerts-id-acknowledge.
      operations:
      - method: POST
        name: post
        description: Acknowledge alert
        call: rootly-alerts.post
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/alerts/{id}/resolve
      name: alerts-id-resolve
      description: REST surface for alerts-id-resolve.
      operations:
      - method: POST
        name: post
        description: Resolve alert
        call: rootly-alerts.post
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rootly-alerts-mcp
    port: 9090
    transport: http
    description: MCP adapter for Rootly API — Alerts. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: list-alerts
      description: List alerts
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rootly-alerts.get
      outputParameters:
      - type: object
        mapping: $.
    - name: create-alert
      description: Create alert
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: rootly-alerts.post
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-alert
      description: Get alert
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rootly-alerts.get
      outputParameters:
      - type: object
        mapping: $.
    - name: update-alert
      description: Update alert
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: rootly-alerts.patch
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: acknowledge-alert
      description: Acknowledge alert
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: rootly-alerts.post
      outputParameters:
      - type: object
        mapping: $.
    - name: resolve-alert
      description: Resolve alert
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: rootly-alerts.post
      outputParameters:
      - type: object
        mapping: $.