Chaos Mesh · Capability

Chaos Mesh Dashboard API — Events

Chaos Mesh Dashboard API — Events. 1 operations. Lead operation: Chaos Mesh List events. Self-contained Naftiko capability covering one Chaos Mesh business surface.

Run with Naftiko Chaos MeshEvents

What You Can Do

GET
Listevents — Chaos Mesh List events
/v1/api/events

MCP Tools

chaos-mesh-list-events

Chaos Mesh List events

read-only idempotent

Capability Spec

dashboard-events-2.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Chaos Mesh Dashboard API — Events
  description: 'Chaos Mesh Dashboard API — Events. 1 operations. Lead operation: Chaos Mesh List events. Self-contained Naftiko
    capability covering one Chaos Mesh business surface.'
  tags:
  - Chaos Mesh
  - Events
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CHAOS_MESH_API_KEY: CHAOS_MESH_API_KEY
capability:
  consumes:
  - type: http
    namespace: dashboard-events-2
    baseUri: http://{dashboardHost}:{dashboardPort}
    description: Chaos Mesh Dashboard API — Events business capability. Self-contained, no shared references.
    resources:
    - name: api-events
      path: /api/events
      operations:
      - name: listevents
        method: GET
        description: Chaos Mesh List events
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: objectId
          in: query
          type: string
          description: UID of the object (experiment, workflow, or schedule) to filter events by.
        - name: type
          in: query
          type: string
          description: Event type filter, e.g., Normal or Warning.
    authentication:
      type: bearer
      token: '{{env.CHAOS_MESH_API_KEY}}'
  exposes:
  - type: rest
    namespace: dashboard-events-2-rest
    port: 8080
    description: REST adapter for Chaos Mesh Dashboard API — Events. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/events
      name: api-events
      description: REST surface for api-events.
      operations:
      - method: GET
        name: listevents
        description: Chaos Mesh List events
        call: dashboard-events-2.listevents
        with:
          objectId: rest.objectId
          type: rest.type
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: dashboard-events-2-mcp
    port: 9090
    transport: http
    description: MCP adapter for Chaos Mesh Dashboard API — Events. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: chaos-mesh-list-events
      description: Chaos Mesh List events
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: dashboard-events-2.listevents
      with:
        objectId: tools.objectId
        type: tools.type
      outputParameters:
      - type: object
        mapping: $.