Refresh drift for one instance on demand
const url = 'https://example.com/api/v1/drift/1';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/drift/1Runs a fresh drift check for the instance on the request thread (not the scheduled queue) and returns the updated detail. Rate-limited per instance.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Arr instance ID
Responses
Section titled “Responses”Drift re-checked
object
Drift status as surfaced in the summary. Extends DriftStatus with the synthesized
never-checked value for enabled instances that have no stored row yet.
object
Managed entities whose fields diverged on the Arr (alerting).
Managed entities absent on the Arr (alerting).
Live Arr entities not in the resolved desired set (non-alerting).
Entities whose fields diverged (action = update).
object
Sync section handled by preview generation
Entity display name (namespace-stripped).
Live Arr entity id, or null for a create/missing entity.
Field-level diff (current = live, desired = PCD); empty for create/delete.
object
Dot-notated field path
Managed entities absent on the Arr (action = create).
object
Sync section handled by preview generation
Entity display name (namespace-stripped).
Live Arr entity id, or null for a create/missing entity.
Field-level diff (current = live, desired = PCD); empty for create/delete.
object
Dot-notated field path
Live Arr entities not in the desired set (action = delete, non-alerting).
object
Sync section handled by preview generation
Entity display name (namespace-stripped).
Live Arr entity id, or null for a create/missing entity.
Field-level diff (current = live, desired = PCD); empty for create/delete.
object
Dot-notated field path
Example
{ "arrType": "radarr", "status": "in-sync", "reason": "unreachable", "drift": [ { "section": "qualityProfiles", "action": "create", "category": "drift", "fields": [ { "type": "added" } ] } ], "missing": [ { "section": "qualityProfiles", "action": "create", "category": "drift", "fields": [ { "type": "added" } ] } ], "unmanaged": [ { "section": "qualityProfiles", "action": "create", "category": "drift", "fields": [ { "type": "added" } ] } ]}Instance type is unsupported or the instance is disabled
object
Error message
Examplegenerated
{ "error": "example"}Instance not found
object
Error message
Examplegenerated
{ "error": "example"}A drift check for this instance is already in progress
object
Error message
Examplegenerated
{ "error": "example"}On-demand drift refresh is rate-limited for this instance
object
Error message
Examplegenerated
{ "error": "example"}Failed to refresh drift
object
Error message
Examplegenerated
{ "error": "example"}