MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / SetInternalAPISecret

Method SetInternalAPISecret

internal/agent/api.go:503–503  ·  view source on GitHub ↗

SetInternalAPISecret wires in the shared HMAC secret used to authenticate the /api/internal/limits/invalidate endpoint. When empty (default), that endpoint returns 503 — self-host operators who don't run a billing provisioner never need to configure it.

(s string)

Source from the content-addressed store, hash-verified

501// empty (default), that endpoint returns 503 — self-host operators
502// who don't run a billing provisioner never need to configure it.
503func (a *API) SetInternalAPISecret(s string) { a.internalAPISecret = s }
504
505// SetBillingHookURL wires in the URL of an external billing service's
506// user-event endpoint. When the user deletes their account, the API

Callers 3

setupAPIWithLimitsFunction · 0.95
mainFunction · 0.95

Calls

no outgoing calls

Tested by 2

setupAPIWithLimitsFunction · 0.76