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

Function getOrganizationUuidHeader

src/utils/http.ts:56–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54}
55
56export function getOrganizationUuidHeader(): Record<string, string> {
57 const organizationUuid = (
58 process.env.CLAUDE_CODE_ORGANIZATION_UUID ??
59 getGlobalConfig().oauthAccount?.organizationUuid
60 )?.trim()
61 if (!organizationUuid) {
62 return {}
63 }
64 return {
65 'x-organization-uuid': organizationUuid,
66 }
67}
68
69/**
70 * Get authentication headers for API requests

Callers 4

doExportMethod · 0.85
_fetchMetricsEnabledFunction · 0.85
sendBatchWithRetryMethod · 0.85

Calls 1

getGlobalConfigFunction · 0.70

Tested by

no test coverage detected