Add reload endpoint response model for per-vault indexing statistics
This commit is contained in:
parent
9cd0090117
commit
6a782750de
@ -137,6 +137,12 @@ class TreeSearchResponse(BaseModel):
|
||||
results: List[TreeSearchResult]
|
||||
|
||||
|
||||
class ReloadResponse(BaseModel):
|
||||
"""Index reload confirmation with per-vault stats."""
|
||||
status: str
|
||||
vaults: Dict[str, Any]
|
||||
|
||||
|
||||
class HealthResponse(BaseModel):
|
||||
"""Application health status."""
|
||||
status: str
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user