Events
- POST /events/app-events
List application events
Get a list of application events with optional filters and their linked CloudStack events
- Request JSON Object:
action (string)
archived (boolean)
created_at_from (string)
created_at_to (string)
error_message (string)
keyword (string)
level (string)
page (integer)
page_size (integer)
resource_type (string)
resource_uuid (string)
sort_by (string)
sort_order (string)
status (string)
user_id (integer)
username (string)
- Status Codes:
200 OK – Success response
400 Bad Request – Invalid request payload
500 Internal Server Error – Internal server error
- GET /events/app-events/{id}
Get application event by ID
Get a specific application event and its linked CloudStack events
- Parameters:
id (string) – App Event ID
- Status Codes:
200 OK – Success response
400 Bad Request – Invalid request
404 Not Found – Event not found
500 Internal Server Error – Internal server error
- Response JSON Object:
app_event.action (string)
app_event.archived (boolean)
app_event.completed_at (string)
app_event.created_at (string)
app_event.cs_start_id (integer)
app_event.error_message (string)
app_event.id (string)
app_event.level (string)
app_event.resource_type (string)
app_event.resource_uuid (string)
app_event.status (string)
app_event.tenant_id (string)
app_event.user_id (integer)
app_event.username (string)
cloudstack_events (any)
- POST /events/archive
Archive events
Archive old events for long-term storage
- Status Codes:
201 Created – Success response
400 Bad Request – Invalid request payload
500 Internal Server Error – Internal server error
- DELETE /events/delete
Delete events
Delete specific events from the system
- Status Codes:
200 OK – Success response
400 Bad Request – Invalid request payload
500 Internal Server Error – Internal server error
- POST /events/list
List events
Get a list of all events with optional filters
- Status Codes:
200 OK – Success response
400 Bad Request – Invalid request payload
500 Internal Server Error – Internal server error
- GET /events/sse
SSE Event Stream
Subscribe to real-time VM state change events via Server-Sent Events (SSE)
- Status Codes:
200 OK – SSE stream
- GET /events/types
List event types
Retrieve a list of all available event types
- Status Codes:
200 OK – Success response
400 Bad Request – Invalid request payload
500 Internal Server Error – Internal server error