> ## Documentation Index
> Fetch the complete documentation index at: https://widgetic.com/llms.txt
> Use this file to discover all available pages before exploring further.

# widgetic api entitlements

> 2 commands for the Entitlements operations of the REST API, generated from its OpenAPI description.

`widgetic api entitlements <command>` runs the Entitlements operations of the REST API. It has 2 commands. Every command also takes [the flags every command takes](https://widgetic.com/docs/cli/commands/index.md).

## `widgetic api entitlements get-managed-user-entitlements`

Get managed user entitlements

* Request: `GET /entitlements/managed-users/{managedUserId}`
* Operation: `getManagedUserEntitlements` (`widgetic api call getManagedUserEntitlements` runs it by that name)
* Needs a partner API key (wgt\_prt\_…).

| Flag | Takes | Required | What it does |
| - | - | - | - |
| `--managed-user-id <uuid>` | uuid | yes | Managed user ID |
| `--include-expired` | switch | | Include expired entitlements in results |
| `--feature <text>` | text | | Filter by specific feature |
| `--source <text>` | text | | Filter by entitlement source |

The whole description and the schemas: `widgetic schema api entitlements get-managed-user-entitlements`.

## `widgetic api entitlements get-partner-entitlements`

Get partner entitlements

* Request: `GET /entitlements/partners/{partnerId}`
* Operation: `getPartnerEntitlements` (`widgetic api call getPartnerEntitlements` runs it by that name)
* Needs a partner API key (wgt\_prt\_…).

| Flag | Takes | Required | What it does |
| - | - | - | - |
| `--partner-id <uuid>` | uuid | yes | Partner ID |
| `--include-expired` | switch | | Include expired entitlements in results |
| `--feature <text>` | text | | Filter by specific feature |
| `--source <text>` | text | | Filter by entitlement source |

The whole description and the schemas: `widgetic schema api entitlements get-partner-entitlements`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.