TenantModelAccess
Whether the tenant’s runs may use Maitento’s own provider keys, and whether the tenant has model keys of its own.
Kind: an object, used in responses.
Fields
Section titled “Fields”Every field is present in a response; empty ones are null.
| Field | Type | Description |
|---|---|---|
forbidMaitentoCredentials | boolean | True when the tenant’s runs may never use Maitento’s own provider keys: every model call needs a key supplied with the run or one of the tenant’s model keys. |
hasModelKeys | boolean | Whether the tenant has stored at least one model key (enabled or not). |
Example
Section titled “Example”{ "forbidMaitentoCredentials": false, "hasModelKeys": false}Where it’s used
Section titled “Where it’s used”tenant.modelAccess(GET /tenants/self/model-access)