> ## 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 attribute vocabulary

> Every attribute your Credit policies may read: the Platform's own and the ones you declared.

The vocabulary has two halves. `platform` holds the attributes the Platform defines for every Tenancy. `declared` holds the ones this Tenancy declared at the Console under its own namespace.

A withdrawn attribute stays listed. Every version already published keeps reading it; new versions cannot name it.

Another Tenancy's declarations appear nowhere in it. This route does not page.

> [!NOTE]
>
> You declare and withdraw attributes at the Console, not here. This door reads.

## Path parameters

**tenant\_id** `string` *required*

The Tenancy asking. A key authenticates for one Tenancy and the path names it; another Tenancy's path answers `403`.

## Response

**platform** `array` *required*

The Platform's attributes.

**attribute**

**name** `string` *required*

The name a rule and an application use.

**kind** `string` *required*

`declared` when you state it in the application, `derived` when the Platform computes it, `read` when it comes from a source.

**unit** `string` *required*

What the value counts in.

**min** `integer` *required*

The lowest value admitted.

**max** `integer` *required*

The highest value admitted.

**admits** `array` *required*

The absent states the attribute admits, such as `not_applicable`. Empty when a value is always required.

**max\_age\_days** `integer`

How old a stated value may be. Absent where staleness is unbounded.

**rationale** `string` *required*

What the attribute is for.

**permissibility** `string` *required*

Why the Platform holds that reading it is permitted.

**reads\_inputs** `array`

On a derived attribute, the attributes it is derived from.

**declared** `array` *required*

Your own declarations, each as [one declaration](https://docs.capcells.com/api-reference/attributes/read.md) reads.

## Refusals

This route reads no query parameter and takes no body.

| Status | When |
| - | - |
| `400` | The URL carries a query parameter, which this route does not read |
| `403` | The key authenticates for another Tenancy |

A read-scoped key is enough.

```bash Read theme={null}
curl https://api.capcells.com/v1/tenants/capyplazo/attributes \
  -H "Authorization: $(capcells_sign "$CAPCELLS_API_KEY" GET /v1/tenants/capyplazo/attributes)"
```

```json 200 Abridged theme={null}
{
  "platform": [
    {
      "name": "age_years",
      "kind": "declared",
      "unit": "years",
      "min": 18,
      "max": 100,
      "admits": [],
      "max_age_days": 365,
      "rationale": "Capacity to contract and the shape of the credit risk over a term. Read as the age the tenant states its client to be on the day it states it.",
      "permissibility": "Permitted: age is a term of the contract's own validity in the launch market. Provisional under the regulatory-conservative flag and first on the jurisdictional pass, because the bound below is a lending rule rather than a modelling choice."
    },
    {
      "name": "obligations_to_income_bps",
      "kind": "derived",
      "unit": "basis points",
      "min": 0,
      "max": 1000000,
      "admits": ["not_applicable"],
      "rationale": "What the client already owes each month against what they earn each month. How much of the income is spoken for before this loan is considered.",
      "permissibility": "Permitted: arithmetic over two declared facts.",
      "reads_inputs": ["monthly_income_minor", "monthly_obligations_minor"]
    }
  ],
  "declared": []
}
```


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