(sessionId: string)
| 527 | } |
| 528 | |
| 529 | async getSessionIndexes(sessionId: string): Promise<{ indexes: any[]; total: number }> { |
| 530 | const resp = await fetch(`${API_BASE_URL}/sessions/${sessionId}/indexes`); |
| 531 | if (!resp.ok) throw new Error(`Failed to get session indexes: ${resp.status}`); |
| 532 | return resp.json(); |
| 533 | } |
| 534 | |
| 535 | async deleteIndex(indexId: string): Promise<{ message: string }> { |
| 536 | const resp = await fetch(`${API_BASE_URL}/indexes/${indexId}`, { |
no outgoing calls
no test coverage detected