Responses reference related records by id rather than embedding them. When you need the referenced record itself, ask for it by name with `include` instead of making a second request per row.

```
GET /api/v3/contacts?include=user,workspaces&max_workspaces=5
```

Nothing is populated unless you ask. This keeps the common case fast and makes the cost of a fat response something you opt into.

### The field is always there

An includable field is present in every response. Its **value** tells you what happened, so you never have to check whether a key exists.

|                               | Not requested | Requested, none exist              | Requested and found                   |
| ----------------------------- | ------------- | ---------------------------------- | ------------------------------------- |
| Single relation, e.g. `user`  | `null`        | `null`                             | `{ ... }`                             |
| Collection, e.g. `workspaces` | `null`        | `{ "data": [], "total_items": 0 }` | `{ "data": [...], "total_items": 7 }` |

An included collection is an object, not a bare array:

```json
{
    "id": "6512a0b3f8d4c21a9e7b3f01",
    "name": "Ada Lovelace",
    "user": { "id": "...", "first_name": "Ada" },
    "workspaces": {
        "data": [{ "id": "...", "name": "Spring wedding" }],
        "total_items": 7
    }
}
```

### `total_items` is how you detect truncation

`total_items` is the true number of related records for that specific parent — not the number returned. When `total_items` is larger than `data.length`, you hit your own limit and there are more. Fetch the rest from the related resource's own endpoint.

### Limiting a collection

Each includable collection has a `max_<name>` parameter, defaulting to **3**, with a maximum of **25**.

```
?include=workspaces&max_workspaces=10
```

The limit is per parent record, so it multiplies with `per_page`. `per_page=100&max_workspaces=25` asks for up to 2,500 nested records in one response — usually a sign you want the related endpoint directly instead.

A value outside the allowed range is a **400**, never a silent clamp.

### Rules

-   **Only one level.** `include=workspaces.project` is a **400**. To go deeper, make a second request against the related resource.
-   **`max_*` requires its `include`.** Sending `max_workspaces` without `include=workspaces` is a **400**, not a silently ignored parameter.
-   **Unknown include names are a 400.** Unlike filters, includes are validated — a typo here fails loudly.
-   **Each endpoint documents what it supports.** The set of includable relations differs per resource and is listed on the endpoint.
