Asyn option for POST api/detect/drift
Author: csolidumCreated Aug 20, 2026Updated Sep 14, 2026
Labelsfeature
- I'd be willing to implement this feature (contributing guide)
Describe the user story Running drift detection over a large number of projects can be a very long process. It doesn't make sense to hold open a connection while drift detection is running, but rather just kick it off and poll for the results.
Describe the solution you'd like I would like a new parameter in api/detect/drift that returns immediately after kicking off a drift detection run with the detection id.
An new parameter for GET /api/drift/detection/show detection_id that shows the status of a run and what projects were updated via this run.
Describe the drawbacks of your solution
Describe alternatives you've considered
Source: runatlantis/atlantis