Ir al contenido

Listar las alertas de seguridad

GET/api/public/v1/alerts

Paginated list of in-app security alerts (notifications with type_key='security_alert_raised') joined with their underlying verdict + agent metadata. Filters: severity[], tool_name[], agent_platform[], agent_label[], rule_id[], status[] (unread/read/dismissed), timestamp_gte/timestamp_lte. Search: ?search=<term> matches title, body, and rule_id. Sort keys: created_at (default), title, final_severity, tool_name, agent_label, status.

Ventana de terminal
curl --fail-with-body -X GET 'https://app.openlatch.ai/api/public/v1/alerts' \
-H "Authorization: Bearer $OPENLATCH_API_KEY"
Rol en la organizaciónEste punto de conexión
ownerPermitido
adminPermitido
editorPermitido
viewerPermitido

Una clave tiene el rol que su propietario ocupa en la organización. Consulte Autenticación.

Ámbito de la clave de API: alerts:read

ParámetroTipoDescripción
searchstring or null
severityarray of string or null
tool_namearray of string or null
agent_platformarray of string or null
agent_labelarray of string or null
rule_idarray of string or null
statusarray of string or null
timestamp_gtestring (date-time) or null
timestamp_ltestring (date-time) or null
sort_bystring
sort_orderstring — one of asc, desc
pageinteger
page_sizeinteger
CampoTipoDescripción
dataarray of objectObligatorio.
data[].agent_idstring or null
data[].agent_labelstring or null
data[].agent_platformstring or null
data[].bodystring or null
data[].created_atstring (date-time)Obligatorio.
data[].detection_tool_slugstring or null
data[].event_idstring or null
data[].final_severitystring — one of low, medium, high, critical or null
data[].final_verdictstring or null
data[].is_testboolean
data[].notification_idstring (uuid)Obligatorio.
data[].rule_idstring or null
data[].statusstring — one of unread, read, dismissedObligatorio.
data[].titlestringObligatorio.
data[].tool_namestring or null
pageintegerObligatorio.
page_sizeintegerObligatorio.
totalintegerObligatorio.
{
"data": [
{
"agent_id": "agt_01jbwa2k1vfrn9y42xhgxhmzj2",
"agent_label": "string",
"agent_platform": "string",
"body": "string",
"created_at": "2026-01-15T14:32:05Z",
"detection_tool_slug": "string",
"event_id": "evt_01jbwa2k1vfrn9y42xhgxhmzj2",
"final_severity": "low",
"final_verdict": "string",
"is_test": false,
"notification_id": "3f6c1a2e-8b4d-4c1f-9a7e-0d5b2c8e4f10",
"rule_id": "3f6c1a2e-8b4d-4c1f-9a7e-0d5b2c8e4f10",
"status": "unread",
"title": "string",
"tool_name": "release-bot"
}
],
"page": 1,
"page_size": 3,
"total": 3
}