MCPcopy Create free account
hub / github.com/QuantiaAI/helm-agents / apiUrl

Function apiUrl

apps/web/src/api/client.ts:8–10  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

6
7/** Build an absolute API URL from a path like "/runs/:id/stream". */
8export function apiUrl(path: string): string {
9 return `${BASE}/api${path.startsWith("/") ? path : `/${path}`}`;
10}
11
12// ── Access token (in-memory; refresh token lives in an httpOnly cookie) ──────
13let accessToken: string | null = null;

Callers 5

HealthFunction · 0.90
RunDetailFunction · 0.90
tryRefreshFunction · 0.85
sendFunction · 0.85
authRequestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected