---
title: "Get the Host Metrics layout for a host"
method: GET
path: "/host-metrics/preferences/{id}"
tags: ["Host Metrics"]
---

# Get the Host Metrics layout for a host

`GET /host-metrics/preferences/{id}`

Returns the current user's saved card layout for the host, or a default layout derived from the host's enabled widgets when none is saved.

## Path parameters

- `id` integer, required

## Response `200`

The layout for this host.

## Other responses

- `403` — No access to this host.
- `404` — Host not found.

---

[API](https://skmtc.dev/termix/apis/termix-api.md) · [All operations](https://skmtc.dev/termix/apis/termix-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/termix/termix-api/revisions/f4ef343eff1b/schema)
