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

Function fetchUtilization

src/services/oauth/identityClient.ts:157–164  ·  view source on GitHub ↗
({ headers, timeout })

Source from the content-addressed store, hash-verified

155 },
156
157 async fetchUtilization({ headers, timeout }) {
158 const endpoint = buildNoumenaPlatformUrl('/api/oauth/usage')
159 const response = await axios.get<Utilization>(endpoint, {
160 headers,
161 timeout,
162 })
163 return response.data
164 },
165
166 async fetchUltrareviewQuota({ headers, timeout }) {
167 const endpoint = buildNoumenaPlatformUrl('/v1/ultrareview/quota')

Callers

nothing calls this directly

Calls 1

buildNoumenaPlatformUrlFunction · 0.85

Tested by

no test coverage detected