# 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

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

```json
{
  "forbidMaitentoCredentials": false,
  "hasModelKeys": false
}
```

## Where it's used

- [`tenant.modelAccess`](https://docs.maitento.com/reference/api/tenant.md) (`GET /tenants/self/model-access`)
