# createCatalog

> Mutation in domain **Catalogs**

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

Creates a new `Catalog`.

Status: _(beta)_

## Returns

`CreateCatalog`

## Arguments

- `input`: `CreateCatalogInput!` _(beta)_ — `CreateCatalogInputType` input argument.

## Example

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

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