MCPcopy
hub / github.com/e-p-armstrong/augmentoolkit / fetchAvailablePipelines

Function fetchAvailablePipelines

atk-interface/src/api.js:145–149  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

143// --- Pipeline API ---
144
145export const fetchAvailablePipelines = async () => {
146 const response = await fetch(getApiUrl('/pipelines/available'));
147 if (!response.ok) throw new Error('Failed to fetch available pipelines');
148 return response.json();
149};
150
151export async function runPipeline(nodePath, parameters) {
152 const response = await fetch(`${API_BASE_URL}/pipelines/run`, {

Callers 1

Calls 1

getApiUrlFunction · 0.90

Tested by

no test coverage detected