Rebuild the Steps Database of every project from its live manual cases
const url = 'https://beta-api.plune.ai/v1/admin/reindex-steps';const options = {method: 'POST', 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 POST \ --url https://beta-api.plune.ai/v1/admin/reindex-steps \ --header 'Authorization: Bearer <token>'The migration creates the Steps Database empty while the manual cases already carry their steps. This re-syncs every live manual case of every project through the same writer the case save path uses (D10) — once after the deploy that brings the table, like reindex-tags after its own. Steps made by hand that no case carries are left alone. reindexed counts the cases walked. Owner-only, like file-unfiled; everyone else gets 404.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”How many cases were walked, per project
object
object
Live manual cases re-synced into the Steps Database in this run.
Example
{ "projects": [ { "projectId": "userA::default", "reindexed": 212 }, { "projectId": "userB::default", "reindexed": 0 } ]}No / invalid token or session
The caller does not own the application
object
Example generated
{ "error": "example"}Rate-limited: either the per-route throttle or a tenant quota. Retry-After carries the seconds until the window rolls over.
object
Example generated
{ "error": "example"}Headers
Section titled “Headers ”Seconds until the window rolls over