# Account

> Type in domain **Account**

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

Implements: `Node`

## Fields

- `id`: `ID!` — `Account` Id.
- `users` (`limit`: `Int`, `page`: `Int`): `UserItems` — List and search `UserItems`.
- `userGroups` (`limit`: `Int`, `page`: `Int`): `UserGroupItems` — List and search `UserGroupItems`.
- `search` (`limit`: `Int`, `page`: `Int`, `query`: `AccountQueryInput`): `AccountSearchItems` _(beta)_ — List and search `AccountSearch` item(s).
- `catalogs` (`limit`: `Int`, `page`: `Int`): `CatalogItems!` _(beta)_ — Retrieve `Catalog` list for `Account` ID.
- `targets` (`limit`: `Int`, `page`: `Int`): `TargetItems` _(beta)_ — List and search `TargetItems`.

## Reach via

Example queries that can return this type from the root `Query`.

### `account`

```graphql
query Account {
  account {
    __typename
    catalogs {
      total
      page
      limit
      hasNextPage
      items {
        name
        id
        createdAt
        updatedAt
        columns {
          total
          page
          limit
          hasNextPage
          items { id }
        }
        primaryColumn { id }
      }
    }
    id
    search {
      total
      page
      limit
      hasNextPage
      items {
        __typename
        ... on Audio { id }
        ... on Document { id }
        ... on EmbeddedContent { id }
        ... on File { id }
        ... on Image { id }
        ... on Video { id }
      }
    }
    targets {
      total
      page
      limit
      hasNextPage
      items {
        name
        id
      }
    }
    userGroups {
      total
      page
      limit
      hasNextPage
      items {
        name
        id
        users {
          total
          page
          limit
          hasNextPage
          items { id }
        }
      }
    }
    users {
      total
      page
      limit
      hasNextPage
      items {
        __typename
        name
        id
      }
    }
  }
}
```

Raw: [`Account.sdl`](../examples/Account.sdl)
