---
title: "Get a layout"
method: GET
path: "/matters/{matterId}/layouts/{itemId}"
tags: ["Layout Matter Items"]
---

# Get a layout

`GET /matters/{matterId}/layouts/{itemId}`

## Request

- Base URL: `https://api.smokeball.com`
- URL: `https://api.smokeball.com/matters/{matterId}/layouts/{itemId}`
- Auth: API key in header `x-api-key` and API key in header `Authorization`

Retrieves a layout item on a specified matter.

## Path parameters

- `matterId` string, uuid, required
- `itemId` string, uuid, required

## Response `200`

When request is successful. Returns a 'LayoutMatterItem' object.

- LayoutMatterItem
  - `id` string, nullable
  - `href` string, nullable
  - `relation` string, nullable
  - `method` string, nullable
  - `self` Link
    - `id` string, nullable
    - `href` string, nullable
    - `relation` string, nullable
    - `method` string, nullable
  - `name` string, nullable: Name of the layout item.
  - `description` string, nullable: Brief description of the layout item.
  - `itemId` string, uuid: Unique identifier for the layout item.
  - `parentId` string, nullable: Unique identifier for the parent layout design.
  - `index` integer: Zero-based index of the layout item.
  - `parentIndex` integer, nullable: Zero-based index of the parent layout matter item, if one exists.
  - `layoutDesign` Link
    - `id` string, nullable
    - `href` string, nullable
    - `relation` string, nullable
    - `method` string, nullable
  - `values` LayoutValue[], nullable: List of layout values.
    - `key` string, nullable
    - `value` string, nullable
    - `state` unknown
  - `events` LayoutEvent[], nullable: List of layout events.
    - `id` string, nullable
    - `appointmentId` string, nullable

## Other responses

- `404`: When a layout item with the specified ID does not exist on the matter.

---

[API](https://skmtc.dev/smokeball/apis/smokeball-api.md) - [All operations](https://skmtc.dev/smokeball/apis/smokeball-api/llms.txt) - [OpenAPI document](https://skmtc.dev/smokeball/apis/smokeball-api/revisions/6e350cf667d4?raw)
