# /systems/{id}/alerts/history - Get system alert history **GET /systems/{id}/alerts/history** Get paginated history of resolved and inactive alerts for a specific system. Alerts are stored by the collect service when Alertmanager sends webhook notifications. Requires `read:systems` permission. ## Servers - Backend API server (port 8080): https://api.your-domain.com/api (Backend API server (port 8080)) - Collect API server (port 8081): https://collect.your-domain.com/api (Collect API server (port 8081)) ## Authentication methods - Bearer auth ## Parameters ### Path parameters - **id** (string) System ID (logto_id) ### Query parameters - **page** (integer) Page number - **page_size** (integer) Items per page - **sort_by** (string) Field to sort by - **sort_direction** (string) Sort direction - **from_date** (string(date-time)) Lower bound on `created_at` (inclusive). RFC3339 timestamp. - **to_date** (string(date-time)) Upper bound on `created_at` (exclusive). RFC3339 timestamp. Must be after `from_date`. - **alertname** (array[string]) Filter by alertname. Supports multiple values (OR within filter). - **severity** (array[string]) Filter by severity. Supports multiple values. - **status** (array[string]) Filter by status. Supports multiple values. ## Responses ### 200 Alert history retrieved successfully #### Body: application/json (object) - **code** (integer) - **message** (string) - **data** (object) ### 400 Bad request - validation error #### Body: application/json (object) - **code** (integer) HTTP error code - **message** (string) Error message - **data** (object) ### 401 Unauthorized - invalid or missing token #### Body: application/json (object) - **code** (integer) - **message** (string) - **data** (object | null) ### 403 Forbidden - insufficient permissions #### Body: application/json (object) - **code** (integer) - **message** (string) - **data** (object | null) ### 404 Resource not found #### Body: application/json (object) - **code** (integer) HTTP error code - **message** (string) Error message - **data** (object) [Powered by Bump.sh](https://bump.sh)