Skip to main content

Log index build status

GET 

/api/logs/index-status

Report whether the log database's browse indexes are being rebuilt.

A rebuild runs in the background at startup when the index definitions have changed. While it runs, the indexes the log query needs do not exist yet, so this endpoint is what lets the page say the view is slow on purpose instead of appearing broken.

Returns { status, detail, error, started_at, elapsed_seconds } where status is one of idle, running, done, failed.

Responses

Successful Response