Cdb Refill State
Polled by the CDB JS every 10 seconds. Returns the current refill state machine value so the front-end can show the notice box + drain bar when state == 'ready'. Auth via scan password (same gate as the dispute endpoint).
CONSUME SEMANTIC: serving 'ready' transitions the state to 'idle' so the next reload doesn't re-show the notice. The round_count and added_count remain unchanged so the intro text update persists. If two clients poll simultaneously, one wins the consume — both still see 'ready' once and reload to a fresh page.
get/api/cdb/{scan_id}/refill-state
Path parameters
scan_idstring required
Query parameters
passwordstring
Response
Successful Response
{"stackTrail":"paths:/api/cdb/{scan_id}/refill-state:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}
Changes
No recorded changes to this endpoint across all 1 revision of this API.