MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / status

Function status

ui/src/api/api-keys.ts:4–8  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2
3export const apiKeysApi = {
4 async status(): Promise<Record<string, boolean>> {
5 const res = await fetch('/api/config/api-keys/status')
6 if (!res.ok) throw new Error('Failed to load API key status')
7 return res.json()
8 },
9
10 async save(keys: Record<string, string>): Promise<void> {
11 const res = await fetch('/api/config/apiKeys', {

Callers

nothing calls this directly

Calls 1

fetchFunction · 0.50

Tested by

no test coverage detected