MCPcopy Create free account
hub / github.com/Noumena-Network/code / createApiKey

Function createApiKey

src/services/oauth/identityClient.ts:131–146  ·  view source on GitHub ↗
({ accessToken })

Source from the content-addressed store, hash-verified

129 },
130
131 async createApiKey({ accessToken }) {
132 const endpoint = buildNoumenaPlatformUrl(
133 '/api/oauth/ncode/create_api_key',
134 )
135 const response = await axios.post<{ raw_key?: string }>(
136 endpoint,
137 null,
138 {
139 headers: { Authorization: `Bearer ${accessToken}` },
140 },
141 )
142 return {
143 ...response.data,
144 status: response.status,
145 }
146 },
147
148 async fetchBootstrap({ headers, timeout }) {
149 const endpoint = buildNoumenaPlatformUrl('/api/claude_cli/bootstrap')

Callers

nothing calls this directly

Calls 1

buildNoumenaPlatformUrlFunction · 0.85

Tested by

no test coverage detected