`POST /api/v1/agents/{node_id}/drift` — drift check against the agent's last successful apply snapshot.
POST
/api/v1/agents/{node_id}/drift
const url = 'https://example.com/api/v1/agents/example/drift';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/agents/example/driftParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”node_id
required
string
Agent node ID
Responses
Section titled “Responses”Drift check result
Media typeapplication/json
Examplegenerated
exampleAgent not found