MCPcopy Create free account
hub / github.com/AntiHub-Project/AntiHub / getAPIKeys

Function getAPIKeys

lib/api.ts:785–790  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

783 * 获取 API Key 列表
784 */
785export async function getAPIKeys(): Promise<PluginAPIKey[]> {
786 return fetchWithAuth<PluginAPIKey[]>(
787 `${API_BASE_URL}/api/api-keys`,
788 { method: 'GET' }
789 );
790}
791
792/**
793 * 获取 API Key 信息(兼容旧代码)

Callers 2

loadAPIKeysFunction · 0.90
getAPIKeyInfoFunction · 0.85

Calls 1

fetchWithAuthFunction · 0.85

Tested by

no test coverage detected