Get the latest apply outcome for a quality profile
GET
/goals/apply/status
const url = 'https://example.com/api/v1/goals/apply/status?databaseId=1&profileName=example&arrType=radarr';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”databaseId
required
integer
profileName
required
string
arrType
required
string
Responses
Section titled “Responses”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
scoringChanged
required
Whether the scoring ops reached (or may have reached) their intended terminal state.
boolean
bindingStatus
required
string
intentFingerprint
string
startedAt
required
string
null
Example
{ "applyStatus": { "status": "pending", "bindingStatus": "written", "recovery": { "action": "none" } }}Invalid query parameters
Media typeapplication/json
object
error
required
Error message
string
Examplegenerated
{ "error": "example"}