Alerts Operations List

Alerts Operations List
List alerts for catch-up and reconciliation (WebSocket-reconnect cursor, not the general investigative query - see search)

Catch-up list for a client that reconnects its WebSocket. Returns the security and license-expiration alerts updated at or after since, in the requested states (every state when none is given), capped at limit (default 50, at most 200). It is not paginated. total and returned both equal the number of items in this response, so total is not a match count. Use /api/v1/alerts/search to investigate. Requires the ADMIN, SECURITY_OPERATOR or AUDITOR role. Also accepts a Bearer API token with Read-only or Full access.

Request
URI
GET
https://{api_host}/api/v1/alerts
COPY
Query Parameters
string
since
Optional

Retrieve alerts modified since this timestamp

since example
2026-01-15T09:30:00Z
of AlertState array
state
Optional

Filter by lifecycle states

state example
NEW
integer
limit
Optional
Constraints: maximum: 200 default: 50

Maximum number of items to return (default 50, at most 200). A value above 200 is capped at 200; zero or a negative value is replaced by 50.

limit example
50

Authentication
This operation uses the following authentication methods.
Responses
200

200 OK successful response envelope. The alerts updated at or after since in the requested states, capped at limit

Returns AlertListResponse of type(s) application/json
{
    "items": [
        {
            "alertId": 0,
            "title": "string",
            "description": "string",
            "alertClass": "string",
            "agentPk": 0,
            "hostname": "string",
            "groupName": "string",
            "currentGroupName": "string",
            "severity": 0,
            "alertRuleId": 0,
            "alertRuleName": "string",
            "matchedRuleName": "string",
            "matchedRuleAction": "string",
            "matchedRuleCount": 0,
            "matchedRuleNames": [
                "string"
            ],
            "mode": "string",
            "outcome": "string",
            "eventCount": 0,
            "state": "string",
            "resolutionReason": "string",
            "version": 0,
            "createdAt": "string",
            "updatedAt": "string",
            "firstSeenAt": "string",
            "lastSeenAt": "string"
        }
    ]
}
array of object
items
Required  

Collection of matching alert summaries


400

400 Bad Request: INVALID_ARGUMENT when since is not an ISO-8601 date-time, a state is not a known alert state, or limit is not a number

Returns ApiErrorResponse of type(s) application/json
{
    "errorCode": "string",
    "message": "string",
    "path": "string",
    "timestamp": "string",
    "reason": "string"
}
errorCode
Required  

Stable machine-readable error code. The known values are listed in ApiErrorCode; the set is not closed, so a client must tolerate an unlisted value.

string
message
Required  

Human-readable error description

string
path
Required  

Request URI path that produced the error

string As date-time As date-time
timestamp
Required  

Timestamp when the error occurred as an ISO 8601 date-time with offset

string
reason
Optional

A finer code, present only where an endpoint documents it. The Rule Pack endpoints' PACK_ENTRY_INVALID carries the import core's code here.


401

401 Unauthorized: UNAUTHENTICATED when the VTP_SESSION cookie is missing, unknown, expired or revoked

Returns Unauthenticated of type(s) application/json
{
    "errorCode": "string",
    "message": "string",
    "path": "string",
    "timestamp": "string",
    "reason": "string"
}
errorCode
Required  

Stable machine-readable error code. The known values are listed in ApiErrorCode; the set is not closed, so a client must tolerate an unlisted value.

string
message
Required  

Human-readable error description

string
path
Required  

Request URI path that produced the error

string As date-time As date-time
timestamp
Required  

Timestamp when the error occurred as an ISO 8601 date-time with offset

string
reason
Optional

A finer code, present only where an endpoint documents it. The Rule Pack endpoints' PACK_ENTRY_INVALID carries the import core's code here.


403

403 Forbidden: PASSWORD_CHANGE_REQUIRED when the account must change its password first (only GET /api/v1/auth/session, POST /api/v1/auth/logout and POST /api/v1/auth/change-password are exempt); LICENSE_REQUIRED or LICENSE_EXPIRED while the license pool is restricted (no license, or expired past grace) (exempt: every route under /api/v1/auth, GET /api/v1/user/preferences, GET /api/v1/licensing/summary and POST /api/v1/licensing/licenses)

Returns ApiErrorResponse of type(s) application/json
{
    "errorCode": "string",
    "message": "string",
    "path": "string",
    "timestamp": "string",
    "reason": "string"
}
errorCode
Required  

Stable machine-readable error code. The known values are listed in ApiErrorCode; the set is not closed, so a client must tolerate an unlisted value.

string
message
Required  

Human-readable error description

string
path
Required  

Request URI path that produced the error

string As date-time As date-time
timestamp
Required  

Timestamp when the error occurred as an ISO 8601 date-time with offset

string
reason
Optional

A finer code, present only where an endpoint documents it. The Rule Pack endpoints' PACK_ENTRY_INVALID carries the import core's code here.


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/api/v1/alerts