Incident.io · Capability

Incident.io API — Custom Fields

Incident.io API — Custom Fields. 5 operations. Lead operation: Custom Fields. Self-contained Naftiko capability covering one Incident Io business surface.

Run with Naftiko Incident IoCustom Fields

What You Can Do

GET
Listcustomfields — listcustomfields
/v1/custom-fields
POST
Createcustomfield — createcustomfield
/v1/custom-fields
GET
Getcustomfield — getcustomfield
/v1/custom-fields/{id}
PUT
Updatecustomfield — updatecustomfield
/v1/custom-fields/{id}
DELETE
Deletecustomfield — deletecustomfield
/v1/custom-fields/{id}

MCP Tools

listcustomfields

listcustomfields

read-only idempotent
createcustomfield

createcustomfield

getcustomfield

getcustomfield

read-only idempotent
updatecustomfield

updatecustomfield

idempotent
deletecustomfield

deletecustomfield

idempotent

Capability Spec

incident-io-custom-fields.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Incident.io API — Custom Fields
  description: 'Incident.io API — Custom Fields. 5 operations. Lead operation: Custom Fields. Self-contained Naftiko capability
    covering one Incident Io business surface.'
  tags:
  - Incident Io
  - Custom Fields
  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-custom-fields
    baseUri: https://api.incident.io/v2
    description: Incident.io API — Custom Fields business capability. Self-contained, no shared references.
    resources:
    - name: custom-fields
      path: /custom-fields
      operations:
      - name: listcustomfields
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createcustomfield
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: custom-fields-id
      path: /custom-fields/{id}
      operations:
      - name: getcustomfield
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatecustomfield
        method: PUT
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletecustomfield
        method: DELETE
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.INCIDENT_IO_API_KEY}}'
  exposes:
  - type: rest
    namespace: incident-io-custom-fields-rest
    port: 8080
    description: REST adapter for Incident.io API — Custom Fields. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/custom-fields
      name: custom-fields
      description: REST surface for custom-fields.
      operations:
      - method: GET
        name: listcustomfields
        description: listcustomfields
        call: incident-io-custom-fields.listcustomfields
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createcustomfield
        description: createcustomfield
        call: incident-io-custom-fields.createcustomfield
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/custom-fields/{id}
      name: custom-fields-id
      description: REST surface for custom-fields-id.
      operations:
      - method: GET
        name: getcustomfield
        description: getcustomfield
        call: incident-io-custom-fields.getcustomfield
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatecustomfield
        description: updatecustomfield
        call: incident-io-custom-fields.updatecustomfield
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletecustomfield
        description: deletecustomfield
        call: incident-io-custom-fields.deletecustomfield
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: incident-io-custom-fields-mcp
    port: 9090
    transport: http
    description: MCP adapter for Incident.io API — Custom Fields. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: listcustomfields
      description: listcustomfields
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: incident-io-custom-fields.listcustomfields
      outputParameters:
      - type: object
        mapping: $.
    - name: createcustomfield
      description: createcustomfield
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: incident-io-custom-fields.createcustomfield
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: getcustomfield
      description: getcustomfield
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: incident-io-custom-fields.getcustomfield
      outputParameters:
      - type: object
        mapping: $.
    - name: updatecustomfield
      description: updatecustomfield
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: incident-io-custom-fields.updatecustomfield
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: deletecustomfield
      description: deletecustomfield
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: incident-io-custom-fields.deletecustomfield
      outputParameters:
      - type: object
        mapping: $.