Alerts

Bulk Mark Read

Mark several alerts read/unread in one call.

Powers multi-select on the /alerts feed. Scoped exactly like the single-row route — the caller can only flip alerts they're allowed to see, so an attacker passing someone else's id just no-ops (it won't match the WHERE clause). Returns how many rows actually changed owner-side so the UI can reconcile its optimistic update.

post/api/alerts/bulk-read

Request

  • Base URL: https://api.kolens.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.kolens.ai/api/alerts/bulk-read
  • Auth: HTTP bearer

Headers

x-kolens-user-idstring nullable

Request body

idsstring[] required
is_readboolean

Response

Successful Response

updatedinteger required
is_readboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.