Chaos Mesh Events API
Query chaos experiment events and audit logs
Query chaos experiment events and audit logs
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/chaos-mesh-events-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Chaos Mesh Events API
contact:
name: Chaos Mesh Community
url: https://chaos-mesh.org/community/
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0
version: '1.0'
description: 'Operations tagged Events across 2 of this provider''s published API definitions: chaos-mesh-dashboard-api-openapi.yml, chaos-mesh-dashboard-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:2333/api
description: Default Chaos Mesh Dashboard server
- url: http://{dashboardHost}:{dashboardPort}
description: Chaos Mesh Dashboard API server
variables:
dashboardHost:
default: chaos-dashboard.chaos-testing
description: Hostname or service name for the Chaos Mesh Dashboard.
dashboardPort:
default: '2333'
description: Port on which the Chaos Mesh Dashboard API listens.
tags:
- name: Events
description: Query chaos experiment events and audit logs
paths:
/events:
get:
operationId: listEvents
summary: Chaos Mesh List chaos events
description: Returns a list of chaos experiment events from the Chaos Mesh event store. Events record state transitions and fault injection activities. Results can be filtered by object UID, namespace, name, kind, and time range.
tags:
- Events
parameters:
- name: object_id
in: query
description: Filter events by the UID of the associated experiment or workflow.
required: false
schema:
type: string
format: uuid
- $ref: '#/components/parameters/namespaceParam'
- name: name
in: query
description: Filter events by experiment name.
required: false
schema:
type: string
- name: kind
in: query
description: Filter events by chaos kind.
required: false
schema:
type: string
- name: start
in: query
description: Filter events from this timestamp (RFC3339).
required: false
schema:
type: string
format: date-time
- name: end
in: query
description: Filter events up to this timestamp (RFC3339).
required: false
schema:
type: string
format: date-time
- name: limit
in: query
description: Maximum number of events to return.
required: false
schema:
type: integer
minimum: 1
default: 25
responses:
'200':
description: List of events returned successfully.
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Event'
'400':
$ref: '#/components/responses/BadRequest'
'500':
$ref: '#/components/responses/InternalServerError'
servers:
- url: http://localhost:2333/api
description: Default Chaos Mesh Dashboard server
/events/{id}:
get:
operationId: getEvent
summary: Chaos Mesh Get an event
description: Returns a specific chaos event by its integer ID.
tags:
- Events
parameters:
- name: id
in: path
description: Integer ID of the event.
required: true
schema:
type: integer
responses:
'200':
description: Event returned successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/Event'
'400':
$ref: '#/components/responses/BadRequest'
'404':
$ref: '#/components/responses/NotFound'
'500':
$ref: '#/components/responses/InternalServerError'
servers:
- url: http://localhost:2333/api
description: Default Chaos Mesh Dashboard server
/events/workflow/{uid}:
get:
operationId: listWorkflowEvents
summary: Chaos Mesh List events for a workflow
description: Returns all events associated with a specific workflow and its related child experiments by the workflow UID.
tags:
- Events
parameters:
- $ref: '#/components/parameters/uidParam'
responses:
'200':
description: List of workflow events returned successfully.
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Event'
'400':
$ref: '#/components/responses/BadRequest'
'404':
$ref: '#/components/responses/NotFound'
'500':
$ref: '#/components/responses/InternalServerError'
servers:
- url: http://localhost:2333/api
description: Default Chaos Mesh Dashboard server
/api/events:
get:
operationId: listEvents
summary: Chaos Mesh List events
description: Returns a list of events generated by chaos experiments, workflows, and schedules. Events capture state transitions, errors, and lifecycle changes. Can be filtered by object ID, namespace, name, kind, and type.
tags:
- Events
parameters:
- name: objectId
in: query
required: false
description: UID of the object (experiment, workflow, or schedule) to filter events by.
schema:
type: string
format: uuid
- $ref: '#/components/parameters/NamespaceQuery'
- $ref: '#/components/parameters/NameQuery'
- $ref: '#/components/parameters/KindQuery'
- name: type
in: query
required: false
description: Event type filter, e.g., Normal or Warning.
schema:
type: string
responses:
'200':
description: List of events
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Event_2'
'401':
$ref: '#/components/responses/Unauthorized'
'500':
$ref: '#/components/responses/InternalError'
security:
- bearerAuth: []
servers:
- url: http://{dashboardHost}:{dashboardPort}
description: Chaos Mesh Dashboard API server
variables:
dashboardHost:
default: chaos-dashboard.chaos-testing
description: Hostname or service name for the Chaos Mesh Dashboard.
dashboardPort:
default: '2333'
description: Port on which the Chaos Mesh Dashboard API listens.
components:
parameters:
namespaceParam:
name: namespace
in: query
description: Kubernetes namespace to scope the request to.
required: false
schema:
type: string
uidParam:
name: uid
in: path
description: UUID of the chaos resource.
required: true
schema:
type: string
format: uuid
NamespaceQuery:
name: namespace
in: query
required: false
description: Kubernetes namespace to filter results by. If omitted, returns results from all namespaces.
schema:
type: string
example: default
KindQuery:
name: kind
in: query
required: false
description: Chaos type kind to filter by, such as PodChaos, NetworkChaos, IOChaos, StressChaos, HTTPChaos, TimeChaos, DNSChaos, or KernelChaos.
schema:
type: string
enum:
- PodChaos
- NetworkChaos
- IOChaos
- StressChaos
- HTTPChaos
- TimeChaos
- DNSChaos
- KernelChaos
- AWSChaos
- GCPChaos
- JVMChaos
- PhysicalMachineChaos
NameQuery:
name: name
in: query
required: false
description: Name substring to filter results by.
schema:
type: string
responses:
NotFound:
description: Resource not found.
content:
application/json:
schema:
$ref: '#/components/schemas/APIError'
BadRequest:
description: Bad request — invalid parameters or request body.
content:
application/json:
schema:
$ref: '#/components/schemas/APIError'
InternalServerError:
description: Internal server error.
content:
application/json:
schema:
$ref: '#/components/schemas/APIError'
InternalError:
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
Unauthorized:
description: Unauthorized — authentication required
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
schemas:
Event:
type: object
description: A chaos experiment event recording a state transition or fault injection activity.
properties:
id:
type: integer
description: Integer ID of the event.
created_at:
type: string
format: date-time
description: Timestamp when the event was recorded.
kind:
type: string
description: Chaos kind associated with this event.
name:
type: string
description: Name of the experiment that generated this event.
namespace:
type: string
description: Kubernetes namespace of the experiment.
object_id:
type: string
format: uuid
description: UID of the associated experiment, schedule, or workflow.
type:
type: string
description: Event type indicating what happened (e.g., EXPERIMENT_START, EXPERIMENT_END, FAULT_INJECTED, FAULT_RECOVERED).
message:
type: string
description: Human-readable message describing the event.
APIError:
type: object
description: Error response returned when an API request fails.
required:
- code
- message
properties:
code:
type: integer
description: HTTP status code of the error.
message:
type: string
description: Human-readable description of the error.
full_text:
type: string
description: Full error text including stack trace or detailed cause.
ErrorResponse:
type: object
description: Error response returned when an API operation fails.
properties:
code:
type: integer
description: HTTP status code.
example: 404
message:
type: string
description: Human-readable error message.
example: experiment not found
Event_2:
type: object
description: An event record capturing a state transition or notable occurrence in the lifecycle of a chaos experiment, workflow, or schedule.
properties:
id:
type: integer
description: Auto-incremented database ID for the event.
created_at:
type: string
format: date-time
description: Timestamp when the event was recorded.
namespace:
type: string
description: Kubernetes namespace of the resource that generated the event.
name:
type: string
description: Name of the resource that generated the event.
kind:
type: string
description: Resource kind that generated the event.
type:
type: string
description: Event type, such as Normal or Warning.
enum:
- Normal
- Warning
reason:
type: string
description: Machine-readable reason code for the event.
example: Updated
message:
type: string
description: Human-readable message describing what happened.
object_id:
type: string
format: uuid
description: UID of the experiment, workflow, or schedule that generated the event.
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: Bearer token for authenticating API requests. Typically a Kubernetes service account token with RBAC permissions to read/write Chaos Mesh custom resources in the target namespaces.
externalDocs:
description: Chaos Mesh Documentation
url: https://chaos-mesh.org/docs/
x-refined-from:
- chaos-mesh-dashboard-api-openapi.yml
- chaos-mesh-dashboard-openapi.yml