# Entities — BrandApp Playground

> List EAV entities and resolve their attribute definitions from a React Server Component.

- Canonical page: https://brandapp-playground.vercel.app/eav/entities
- Markdown: https://brandapp-playground.vercel.app/eav/entities.md
- SDK module: `@reopt-ai/brandapp-sdk/eav`

## API

- `eav.entities.list()` → `EavEntity[]` — metadata **only**, no attributes.
- `eav.entities.get(entityId)` → a single entity **including** its attribute definitions.

Because `list()` omits attributes, an accurate attribute count needs a follow-up
`entities.get(id)` per entity — that is the only endpoint carrying `attributes`.

Fetching happens in a Server Component, so there is no `useEffect` and no client-side
loading state for the initial render.

## Related

- [Records](https://brandapp-playground.vercel.app/eav/records.md)
- [Schema Definition](https://brandapp-playground.vercel.app/eav/schema.md)
- [Typed Client](https://brandapp-playground.vercel.app/eav/typed.md)

---

Index of every document: https://brandapp-playground.vercel.app/llms.txt
Single-file copy: https://brandapp-playground.vercel.app/llms-full.txt
HTTP API description: https://brandapp-playground.vercel.app/openapi.json
