Regenerate a single document within an existing tree
Re-run search + synthesis for ONE spec key and upsert the file into the existing COMPLETED tree (ENG-3219).
Before this, the only recovery for a single failed/bad doc was a full tree regen (~40 min) or a manual content edit (which pins the file against future regens). Runs a few minutes; poll GET /tree/ for the updated file. If an active CONTENT tree-edit pins the path, the pinned content still wins (clear the edit first).
Authorizations
API Key or JWT User Token. If using an API Key, set the X-As-User header to act as a specific user. A JWT User Token is always scoped to a specific user.
Path Parameters
Body
Request body for single-document regeneration within a tree.
Spec key of the document to regenerate, e.g. 'company/customer-soulcycle' or 'workstreams//'.
1 - 500