Skip to content

Get the latest apply outcome for a quality profile

GET
/goals/apply/status
curl --request GET \
--url 'https://example.com/api/v1/goals/apply/status?databaseId=1&profileName=example&arrType=radarr'

Returns the most recent apply-journal outcome for a profile target, or null if none has been attempted. Out-of-band recovery surface that reports a failed or pending apply even when it never wrote a binding (which the binding endpoint cannot surface) — issue #236.

databaseId
required
integer
profileName
required
string
arrType
required
string
Allowed values: radarr sonarr lidarr

The latest apply status, or null

Media typeapplication/json
object
applyStatus
required
One of:

Durable outcome of a Quality Goals apply/reconcile attempt (issue #236). Reports whether scoring changed, the binding’s terminal state, and the safe recovery action, so a partial write is never unreported.

object
applyId
required
integer
status
required
string
Allowed values: pending succeeded failed
scoringChanged
required

Whether the scoring ops reached (or may have reached) their intended terminal state.

boolean
bindingStatus
required
string
Allowed values: written pending failed
failureStage
One of:
string
failureReason
One of:
string
intentFingerprint
string
startedAt
required
string
settledAt
One of:
string
recovery
required

The safe operator recovery action for a failed or pending Quality Goals apply (issue #236).

object
action
required
string
Allowed values: none reconcile
endpoint
One of:
string
Example
{
"applyStatus": {
"status": "pending",
"bindingStatus": "written",
"recovery": {
"action": "none"
}
}
}

Invalid query parameters

Media typeapplication/json
object
error
required

Error message

string
Examplegenerated
{
"error": "example"
}