GET /v1/modules
List the module, pack and theme feature codes the local entitlement lease grants
Description (from the contract)
Any authenticated session. Modules is empty unless the verified local lease is valid (grace included is not valid), matching the API entry gate (entitlement_feature_denied) and the publication gate. Front-end menu items with requiredModule are shown only when the code is listed.
Responses
| Status | Description |
|---|---|
200 | Granted module codes. Fields: |
401 | Authentication failed or the session is invalid. |
500 | The request could not be completed because of an internal failure. |
What to do on failure
401Check the credential format and whether it expired or was rotated.500Outcome unknown: read back by ID or list first, then decide whether to retry with the original Idempotency-Key.