MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / postAutomationRun

Function postAutomationRun

dashboard/holographic/src/api.ts:59–68  ·  view source on GitHub ↗
(
  path: string,
  body: AutomationRunRequest = {},
)

Source from the content-addressed store, hash-verified

57}
58
59function postAutomationRun<TReport = Record<string, unknown>>(
60 path: string,
61 body: AutomationRunRequest = {},
62) {
63 return fetchJSON<MemoryAutomationRunResponse<TReport>>(`${AUTOMATION_BASE}/run/${path}`, {
64 method: "POST",
65 headers: { "Content-Type": "application/json" },
66 body: JSON.stringify({ dry_run: true, ...body }),
67 });
68}
69
70function postManagedSkillAction(id: string, action: string) {
71 return fetchJSON<ManagedSkillResponse>(managedSkillPath(id, action), {

Callers 1

api.tsFile · 0.85

Calls 1

fetchJSONFunction · 0.90

Tested by

no test coverage detected