# catalog

> Query in domain **Catalogs**

- HTML: [catalog.html](catalog.html)
- Raw SDL: [catalog.sdl](catalog.sdl)
- Covered by: [llms.txt](../llms.txt)

Retrieve a `Catalog` by its id.

Status: _(beta)_

## Returns

`Catalog`

## Arguments

- `id`: `ID!` _(beta)_ — `Catalog` id.

## Example

```graphql
query Catalog {
  catalog(
    id: "…"
  ) {
    __typename
    columns {
      total
      page
      limit
      hasNextPage
      items {
        __typename
        name
        id
        position
      }
    }
    createdAt
    id
    name
    primaryColumn {
      __typename
      name
      id
      position
    }
    rows {
      total
      page
      limit
      hasNextPage
      items {
        id
        position
        catalog { id }
      }
    }
    updatedAt
    usageReasons
    window {
      columns {
        total
        page
        limit
        hasNextPage
        items { id }
      }
      rows {
        total
        page
        limit
        hasNextPage
        items { __typename }
      }
    }
  }
}
```

Raw: [`catalog.example.sdl`](catalog.example.sdl)
