List Quality Goal presets and slider axes
GET
/goals/presets
const url = 'https://example.com/api/v1/goals/presets?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/presets?arrType=radarr'Returns the built-in goal presets, the slider-axis metadata, and the engine version. The editor
renders sliders and can run the pure engine client-side from this payload with nothing hardcoded.
arrType=lidarr scopes the response to the audio presets and hides the video-only
hdrPreference/resolutionCeiling axes; omitting it (or radarr/sonarr) returns the video presets.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”arrType
string
Responses
Section titled “Responses”Presets and axes
Media typeapplication/json
object
presets
required
Array<object>
object
id
required
string
label
required
string
description
required
string
weights
required
object
qualityVsSize
required
integer
compatibility
required
integer
hdrPreference
required
integer
unwantedStrictness
required
integer
resolutionCeiling
required
string
axes
required
Array<object>
object
key
required
string
label
required
string
kind
required
string
min
integer
max
integer
step
integer
options
Array<string>
description
required
string
engineVersion
required
string
Example
{ "presets": [ { "id": "best-quality", "weights": { "resolutionCeiling": "720p" } } ], "axes": [ { "kind": "weight", "options": [ "720p" ] } ]}