Get the goal binding for a quality profile
const url = 'https://example.com/api/v1/goals/binding?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/binding?databaseId=1&profileName=example&arrType=radarr'Returns the persisted goal binding (preset + weights + engine version + applied time) for a
profile, or null when the profile is not goal-governed. A stale engineVersion drives a
re-apply prompt in the editor.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”The binding, or null
object
Persisted intent metadata for a goal-governed quality profile.
object
object
ISO-8601 UTC timestamp of the last apply
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
Whether the scoring ops reached (or may have reached) their intended terminal state.
Example
{ "binding": { "weights": { "resolutionCeiling": "720p" } }, "applyStatus": { "status": "pending", "bindingStatus": "written", "recovery": { "action": "none" } }}Invalid query parameters
object
Error message
Stable machine-readable code present on 5xx responses; error is a fixed user-safe message, raw detail is logged server-side only
Example
{ "code": "cleanup_failed"}