Choreo · Capability

Choreo Insights API — Alerts

Choreo Insights API — Alerts. 1 operations. Lead operation: Choreo List alerts. Self-contained Naftiko capability covering one Choreo business surface.

Run with Naftiko ChoreoAlerts

What You Can Do

GET
Listalerts — Choreo List alerts
/v1/alerts

MCP Tools

choreo-list-alerts

Choreo List alerts

read-only idempotent

Capability Spec

insights-alerts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Choreo Insights API — Alerts
  description: 'Choreo Insights API — Alerts. 1 operations. Lead operation: Choreo List alerts. Self-contained Naftiko capability
    covering one Choreo business surface.'
  tags:
  - Choreo
  - Alerts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CHOREO_API_KEY: CHOREO_API_KEY
capability:
  consumes:
  - type: http
    namespace: insights-alerts
    baseUri: https://console.choreo.dev/insights/api/v1
    description: Choreo Insights API — Alerts business capability. Self-contained, no shared references.
    resources:
    - name: alerts
      path: /alerts
      operations:
      - name: listalerts
        method: GET
        description: Choreo List alerts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgId
          in: query
          type: string
          description: Organization identifier.
          required: true
        - name: status
          in: query
          type: string
          description: Filter by alert status.
        - name: severity
          in: query
          type: string
          description: Filter by severity.
        - name: limit
          in: query
          type: integer
        - name: offset
          in: query
          type: integer
    authentication:
      type: bearer
      token: '{{env.CHOREO_API_KEY}}'
  exposes:
  - type: rest
    namespace: insights-alerts-rest
    port: 8080
    description: REST adapter for Choreo Insights 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: listalerts
        description: Choreo List alerts
        call: insights-alerts.listalerts
        with:
          orgId: rest.orgId
          status: rest.status
          severity: rest.severity
          limit: rest.limit
          offset: rest.offset
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: insights-alerts-mcp
    port: 9090
    transport: http
    description: MCP adapter for Choreo Insights API — Alerts. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: choreo-list-alerts
      description: Choreo List alerts
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: insights-alerts.listalerts
      with:
        orgId: tools.orgId
        status: tools.status
        severity: tools.severity
        limit: tools.limit
        offset: tools.offset
      outputParameters:
      - type: object
        mapping: $.