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

# Read the tenancy

> Which Tenancies the caller's organization may act as.

The first call the Console makes, and the only one that needs no Tenancy.

It takes no parameter. The only tenancy a caller can ask about is its own.

An organization nobody has bound yet is served, not refused: `admitted` is `false` and `tenants` is empty.

## Who may call

Any usable Console session, and the agent. No binding, Tenancy or role is needed.

## Response

**admitted** `boolean` *required*

`true` when at least one binding stands.

**tenants** `array` *required*

Every Tenancy the organization may act as. Each entry carries `tenant_id`, the identifier to put in a path, and `kind`: `sandbox` or `live`.

## Refusals

| Status | Code | When |
| - | - | - |
| `401` | `unauthenticated` | The token is missing or cannot be used |
| `405` | | The route answers `GET` only |

Every refusal carries the [error shape](https://docs.capcells.com/api-reference/overview.md#the-error-shape). `429` and `503` answer as at the signing door.

```bash Request theme={null}
curl https://api.capcells.com/console/v1/tenancy \
  -H "Authorization: Bearer $CONSOLE_TOKEN"
```

```json 200 theme={null}
{
  "admitted": true,
  "tenants": [
    {
      "tenant_id": "capyplazo",
      "kind": "live"
    },
    {
      "tenant_id": "capyplazo-play",
      "kind": "sandbox"
    }
  ]
}
```


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