MCPcopy
hub / github.com/Zleap-AI/SAG / listProjects

Function listProjects

web/src/lib/api.ts:52–55  ·  view source on GitHub ↗
(includeArchived = false)

Source from the content-addressed store, hash-verified

50
51export const api = {
52 async listProjects(includeArchived = false) {
53 const query = includeArchived ? "?includeArchived=true" : "";
54 return request<{ projects: SourceRecord[] }>(`/api/projects${query}`);
55 },
56
57 async createProject(input: { name: string; description?: string | null }) {
58 return request<{ project: SourceRecord }>("/api/projects", {

Callers

nothing calls this directly

Calls 1

requestFunction · 0.85

Tested by

no test coverage detected