Get the deduplication check status
GET
/api/v1/admin/dedup/scrub
const url = 'https://example.com/api/v1/admin/dedup/scrub';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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/admin/dedup/scrub \ --header 'Authorization: Bearer <token>'Returns the deduplication check status. It requires a signed-in User with the admin scope and the admin or owner Role. It can return 401 if the session is missing or expired and 403 if access is denied. Route: /api/v1/admin/dedup/scrub. Inputs: . Safe reads can use bounded retries.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Media typeapplication/json
The admin page needs a clear summary and stable file links. Storage hashes, cursor state and collection details stay in the server-owned checkpoint.
object
bytes_checked
required
integer format: int64
checked_files
required
integer format: int64
finished_at
integer | null format: int64
has_error
required
boolean
phase
required
string
problems
required
Array<object>
object
affected_files
required
Array<object>
object
item_id
string | null
path
required
string
repaired
required
boolean
timezone
required
string
Example
{ "phase": "never"}