Incident.io · Capability

Incident.io API — Alert Sources

Incident.io API — Alert Sources. 5 operations. Lead operation: List alert sources. Self-contained Naftiko capability covering one Incident Io business surface.

Run with Naftiko Incident IoAlert Sources

What You Can Do

GET
Listalertsources — List alert sources
/v1/alert-sources
POST
Createalertsource — Create alert source
/v1/alert-sources
GET
Getalertsource — Show alert source
/v1/alert-sources/{id}
PUT
Updatealertsource — Update alert source
/v1/alert-sources/{id}
DELETE
Deletealertsource — Delete alert source
/v1/alert-sources/{id}

MCP Tools

list-alert-sources

List alert sources

read-only idempotent
create-alert-source

Create alert source

show-alert-source

Show alert source

read-only idempotent
update-alert-source

Update alert source

idempotent
delete-alert-source

Delete alert source

idempotent

Capability Spec

incident-io-alert-sources.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Incident.io API — Alert Sources
  description: 'Incident.io API — Alert Sources. 5 operations. Lead operation: List alert sources. Self-contained Naftiko
    capability covering one Incident Io business surface.'
  tags:
  - Incident Io
  - Alert Sources
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    INCIDENT_IO_API_KEY: INCIDENT_IO_API_KEY
capability:
  consumes:
  - type: http
    namespace: incident-io-alert-sources
    baseUri: https://api.incident.io/v2
    description: Incident.io API — Alert Sources business capability. Self-contained, no shared references.
    resources:
    - name: alert-sources
      path: /alert-sources
      operations:
      - name: listalertsources
        method: GET
        description: List alert sources
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createalertsource
        method: POST
        description: Create alert source
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: alert-sources-id
      path: /alert-sources/{id}
      operations:
      - name: getalertsource
        method: GET
        description: Show alert source
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatealertsource
        method: PUT
        description: Update alert source
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletealertsource
        method: DELETE
        description: Delete alert source
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.INCIDENT_IO_API_KEY}}'
  exposes:
  - type: rest
    namespace: incident-io-alert-sources-rest
    port: 8080
    description: REST adapter for Incident.io API — Alert Sources. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/alert-sources
      name: alert-sources
      description: REST surface for alert-sources.
      operations:
      - method: GET
        name: listalertsources
        description: List alert sources
        call: incident-io-alert-sources.listalertsources
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createalertsource
        description: Create alert source
        call: incident-io-alert-sources.createalertsource
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/alert-sources/{id}
      name: alert-sources-id
      description: REST surface for alert-sources-id.
      operations:
      - method: GET
        name: getalertsource
        description: Show alert source
        call: incident-io-alert-sources.getalertsource
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatealertsource
        description: Update alert source
        call: incident-io-alert-sources.updatealertsource
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletealertsource
        description: Delete alert source
        call: incident-io-alert-sources.deletealertsource
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: incident-io-alert-sources-mcp
    port: 9090
    transport: http
    description: MCP adapter for Incident.io API — Alert Sources. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-alert-sources
      description: List alert sources
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: incident-io-alert-sources.listalertsources
      outputParameters:
      - type: object
        mapping: $.
    - name: create-alert-source
      description: Create alert source
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: incident-io-alert-sources.createalertsource
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: show-alert-source
      description: Show alert source
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: incident-io-alert-sources.getalertsource
      outputParameters:
      - type: object
        mapping: $.
    - name: update-alert-source
      description: Update alert source
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: incident-io-alert-sources.updatealertsource
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-alert-source
      description: Delete alert source
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: incident-io-alert-sources.deletealertsource
      outputParameters:
      - type: object
        mapping: $.