Issues API¶
Endpoints for listing, filtering, and managing issues detected in log batches.
Issues are automatically created when SerOps detects problems during batch analysis. Each issue has a severity, status, and occurrence count.
List All Issues¶
Query parameters:
| Parameter | Description |
|---|---|
page |
Page number (default: 1) |
page_size |
Results per page (default: 20) |
severity |
Filter by CRITICAL, WARNING |
status |
Filter by OPEN, MUTED, RESOLVED |
Response fields:
| Field | Description |
|---|---|
issue_type |
MEMORY_HIGH, CPU_HIGH, DATABASE_ERROR, etc. |
component |
Affected service or module |
status |
OPEN, MUTED, RESOLVED |
occurrence_count |
Times this issue was detected |
severity |
CRITICAL, WARNING |
Issues by Batch¶
Returns all issues detected within a specific batch.
Resolve Issue¶
Sets the issue status to RESOLVED. Returns the updated issue object.
Mute Issue¶
Request body:
Sets the issue status to MUTED. The days parameter controls how long the issue stays muted:
| Value | Duration |
|---|---|
1 |
1 day |
7 |
7 days |
30 |
30 days |
90 |
90 days |
0 |
Forever |
Reopen Issue¶
Sets the issue status back to OPEN and clears the muted_until timestamp. Works for both muted and resolved issues.
Action name
The endpoint is reopen, not unmute. The single URL pattern POST /api/data/issues/{issue_id}/{action}/ accepts resolve, mute, or reopen.
Bulk Actions¶
Request body:
Performs a bulk action on multiple issues at once. Supported actions: resolve, mute, reopen. When action is mute, include a days field (same semantics as the single-issue mute).
Related¶
- Batches & Data -- Batch listing and details
- Notifications -- Issue acknowledgement and escalation rules
- Dashboard & Analytics -- Issue statistics and trend analysis
- API Overview -- Base URL, response format, and error codes