MCPcopy Create free account
hub / github.com/ShipSecAI/studio / getWorkflows

Function getWorkflows

e2e-tests/cleanup.ts:22–28  ·  view source on GitHub ↗

* Fetch all workflows

()

Source from the content-addressed store, hash-verified

20 * Fetch all workflows
21 */
22async function getWorkflows() {
23 const res = await fetch(`${API_BASE}/workflows`, { headers: HEADERS });
24 if (!res.ok) {
25 throw new Error(`Failed to fetch workflows: ${res.status}`);
26 }
27 return res.json();
28}
29
30/**
31 * Fetch runs for a specific workflow

Callers 1

cleanupFunction · 0.85

Calls 1

fetchFunction · 0.85

Tested by

no test coverage detected