Skip to main content
POST
Set agents' criticality rating

Authorizations

Authorization
string
header
required

Workspace API key (wk_). GET endpoints require the Workspace read API scope, POST endpoints the Workspace write API scope.

Body

application/json
ids
string[]
required

Agent IDs to update.

Minimum array length: 1
criticality
enum<string> | null
required

How much it would hurt to lose the agent, or null to clear the rating.

Available options:
impossibleToOperate,
majorImpact,
minorImpact,
noImpact

Response

Success. Empty result sets are also 200.

Batch outcome. The request is 200 as long as it was well-formed; check per-id success for failures.

results
object[]
required
summary
object
required