Skip to main content
POST
Set ask every time

Authorizations

cc-key
string
header
required

API key-based authentication. Provide your CloudCruise API key in the cc-key header.

Headers

cc-key
string

CloudCruise API key for authentication

Path Parameters

id
string
required

The saved decision's id

Body

application/json
askEveryTime
boolean
required

true to ask a person every time, false to apply the saved recovery automatically

updatedAt
string

The updatedAt you last saw; the call returns 409 if the saved decision changed since

Maximum string length: 64

Response

The updated saved decision

A saved decision for an error the recovery agent has seen before.

id
string
workflowId
string
nodeId
string | null
nodeHash
string

Identifies the version of the node; an edited node gets a new hash

errorMsg
string

The error message with numbers, quoted text and run input values normalized out

errorVariant
integer

Which variant of this error on this node, starting at 1

errorVariantDescription
string | null

A short description of the situation this variant covers

errorType
string
recovery
string | null

The instruction the agent follows when the error comes back

alwaysAsk
boolean

true: a person is asked every time and offered the saved recovery. false: the saved recovery is applied automatically

approvedAt
string | null

When the saved decision started applying automatically; null while it asks every time

used
integer
lastUsedAt
string | null
updatedAt
string | null