MCPcopy Create free account
hub / github.com/ResearAI/DeepScientist / startAdminSystemUpdateActionTask

Function startAdminSystemUpdateActionTask

src/ui/src/lib/api/admin.ts:183–188  ·  view source on GitHub ↗
(action: string)

Source from the content-addressed store, hash-verified

181}
182
183export async function startAdminSystemUpdateActionTask(action: string) {
184 const response = await apiClient.post<{ ok: boolean; task: AdminTask }>(`${SYSTEM_BASE}/tasks/system-update-action`, {
185 action,
186 })
187 return response.data
188}
189
190export async function getAdminRepairs(limit = 50) {
191 const response = await apiClient.get<AdminRepairsPayload>(`${SYSTEM_BASE}/repairs`, {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected