Skip to content

Depot inboxalerts

Registers the cross-client alert queue on the MSP mux.

This page is generated from the Depot route table. Every operation carries the permission it needs and the anchor an agent can link to.

GETalert:readmsp facemspIdempotent

Source: [object Object]

inboxAlertCounts deliberately ignores clientId, exactly as inboxCounts does.

It is the roster the console builds its client filter FROM, so narrowing it to the current selection would leave a picker holding one option and no way back.

StatusBodyDescription
200application/json, InboxAlertCountsResponseSuccess.
400application/problem+json, ProblemDetailsOne or more validation errors occurred.
401application/problem+json, ProblemDetailsNo signed-in identity.
403application/problem+json, ProblemDetailsThe identity does not hold alert:read.
500application/problem+json, ProblemDetailsCould not list clients.
503application/problem+json, ProblemDetailsThe cross-client alert queue is not available on this server.

200 response body

FieldTypeDescription
clientsrequiredarray of InboxAlertClientCount
clients[].acknowledgedrequiredinteger

int64.

clients[].clientNamerequiredstring
clients[].clientPublicIdrequiredstring
clients[].notificationCoveragerequiredboolean
clients[].openrequiredinteger

int64.

clients[].openCriticalrequiredinteger

int64.

totalAcknowledgedrequiredinteger

int64.

totalOpenrequiredinteger

int64.

totalOpenCriticalrequiredinteger

int64.

unavailableClientsrequiredarray of string
Terminal window
# Sign in first. outpost_console is a session cookie, so send it with every request.
# This operation is idempotent. Repeating it does not repeat its effect.
curl -X GET 'https://depot.example.com/api/v1/inbox/alert-counts' \
-H 'X-CSRF-Token: <csrf-token>' \
-H 'Accept: application/json' \
-b 'outpost_console=<console-session>'

GETalert:readmsp facemspIdempotent

Source: [object Object]

List inbox alerts

NameInTypeRequiredDescription
agentIdquerystringNo
clientIdquerystringNo
dirquerystring, one of asc, descNoSort direction.
pagequeryintegerNoOne-based page number. Defaults to 1.
pageSizequeryintegerNoRows per page, 1 to 200. Defaults to 50.
qquerystringNoFree-text search term.
searchquerystringNoOlder spelling of q, kept so saved links keep working.
sortquerystring, one of newest, severity, updatedNoSort key.
StatusBodyDescription
200application/json, InboxAlertPageResponseSuccess.
400application/problem+json, ProblemDetailsOne or more validation errors occurred.
401application/problem+json, ProblemDetailsNo signed-in identity.
403application/problem+json, ProblemDetailsThe identity does not hold alert:read.
500application/problem+json, ProblemDetailsCould not list clients.
503application/problem+json, ProblemDetailsThe cross-client alert queue is not available on this server.

200 response body

FieldTypeDescription
itemsrequiredarray of InboxAlertView
items[].acknowledgedAtstring (date-time) or null
items[].acknowledgedBystring
items[].acknowledgedNotestring
items[].agentIdstring
items[].categoryrequiredstring
items[].clientNamerequiredstring
items[].clientPublicIdrequiredstring
items[].createdAtrequiredstring (date-time)
items[].detailrequiredstring
items[].endpointHostnamestring
items[].endpointRetiredrequiredboolean
items[].endpointRetiredAtstring (date-time) or null
items[].firstSeenAtrequiredstring (date-time)
items[].lastSeenAtrequiredstring (date-time)
items[].occurrencesrequiredinteger
items[].publicIdrequiredstring
items[].resolutionstring, one of cleared, manual, retired, stale
items[].resolvedAtstring (date-time) or null
items[].resolvedBystring
items[].resolvedNotestring
items[].severityrequiredstring
items[].sourceKeyrequiredstring
items[].staterequiredstring
items[].titlerequiredstring
items[].updatedAtrequiredstring (date-time)
notificationCoverageByClientrequiredobject
pagerequiredinteger
pageSizerequiredinteger
totalrequiredinteger
unavailableClientsrequiredarray of string
Terminal window
# Sign in first. outpost_console is a session cookie, so send it with every request.
# This operation is idempotent. Repeating it does not repeat its effect.
curl -X GET 'https://depot.example.com/api/v1/inbox/alerts?agentId=<agentId>&clientId=<clientId>&dir=asc&page=0&pageSize=0&q=<q>' \
-H 'X-CSRF-Token: <csrf-token>' \
-H 'Accept: application/json' \
-b 'outpost_console=<console-session>'

Content is licensed CC BY 4.0. Code samples are MIT. Outpost and the Outpost mark are trademarks of Outpost Business Solutions, PBC and are not covered by either license.