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

Function listChunks

web/src/lib/api.ts:106–108  ·  view source on GitHub ↗
(documentId: string)

Source from the content-addressed store, hash-verified

104 },
105
106 async listChunks(documentId: string) {
107 return request<{ chunks: ChunkRecord[] }>(`/api/documents/${documentId}/chunks`);
108 },
109
110 async listEvents(documentId: string) {
111 return request<{ events: EventRecord[] }>(`/api/documents/${documentId}/events`);

Callers

nothing calls this directly

Calls 1

requestFunction · 0.85

Tested by

no test coverage detected