# get_account_main_auth_descriptor · FT4 Rell API · Chromia Docs (concept)

> @mount("ft4.get_ account_ main_ auth_ descriptor")
query get_ account_ main_ auth_ descriptor(account_ id: byte_ array): (id: byte_ array, account_ id: byt

Source: https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.external.accounts/get_account_main_auth_descriptor/

QUERY

# get\_account\_main\_auth\_descriptor

```signature
@mount("ft4.get_account_main_auth_descriptor")
query get_account_main_auth_descriptor(account_id: byte_array): (id: byte_array, account_id: byte_array, auth_type: auth_type, args: gtv, rules: gtv, created: integer)
```

[Source](https://gitlab.com/chromaway/ft4-lib/-/blob/development/rell/src/lib/ft4/external/accounts/queries.rell#lines-248)

Retrieves the main auth descriptor of an account.

Throws an error if there is no main auth descriptor associated with the account. Common
cases include:

* the provided account id is the id of a system or lock account
* there was a bug in the dapp code which deleted the main auth descriptor of a user account
  without adding a new one

**Parameters**

* **account\_id** — id of the account to fetch main auth descriptor of

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-rell/-f-t4%20-library/lib.ft4.external.accounts/get_account_main_auth_descriptor.html)Generated API reference, mirrored from the live docs
