Skip to content

List Autorecover Candidates

GET
/api/writing/autorecover/candidates

List autorecover candidates for the active project.

A candidate is a .asd file whose contents are potentially newer than its corresponding main .docx (or whose main .docx is missing entirely — the orphan case).

Successful Response

AutoRecoverCandidatesResponse

Response from GET /writing/autorecover/candidates.

object
candidates
required
Candidates
Array<object>
AutoRecoverCandidateResponse

One candidate surfaced in the recovery modal.

object
documentId
required
Documentid
string
title
required
Title
string
autorecoverPath
required
Autorecoverpath
string
autorecoverModifiedAt
required
Autorecovermodifiedat
integer
mainPath
required
Any of:
string
mainModifiedAt
required
Any of:
integer
mainExists
required
Mainexists
boolean
kind
required
Kind

Newer = main file exists but autorecover is more recent. orphan = main file is missing entirely.

string
Allowed values: newer orphan