Skip to main content
GET
Get Notification Counts

Authorizations

Authorization
string
header
required

API key authentication. Get your API key from the Duvo dashboard.

Path Parameters

teamId
string
required

Query Parameters

unread
enum<string>

If true, only count unread notifications.

Available options:
true,
false
severity
enum<string>

Only count notifications with exactly this severity, so the counts match a feed filtered the same way. Mutually exclusive with minSeverity.

Available options:
info,
warning,
critical,
success
minSeverity
enum<string>

Only count notifications at or above this urgency, so the counts match a feed filtered the same way. Least to most urgent: success < info < warning < critical. Mutually exclusive with severity.

Available options:
info,
warning,
critical,
success
important
enum<string>

If true, only count notifications pinned to Important for you: unresolved, undismissed connection_broken rows you can reconnect yourself. Use it to size the sidebar alert without paging the list.

Available options:
true,
false
agents
enum<string>

When 'mine', only count notifications for agents the authenticated user created (plus connection_broken, which is always counted), so the counts match a feed filtered the same way.

Available options:
mine

Response

Default Response

{key}
integer
Required range: 0 <= x <= 9007199254740991