---
title: "Account returns account permissions."
method: GET
path: "/cosmos/circuit/v1/accounts"
tags: ["Query"]
---

# Account returns account permissions.

`GET /cosmos/circuit/v1/accounts`

## Request

- Base URL: `https://api.nymtech.net` (the document declares no server; this is the origin it was published from)
- URL: `https://api.nymtech.net/cosmos/circuit/v1/accounts`
- Auth: none declared
- TypeScript: <https://skmtc.dev/nymtech/apis/cosmos-sdk-grpc-gateway-docs/docs/cosmos/circuit/v1/accounts/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `pagination.key` string, byte
- `pagination.offset` string, uint64
- `pagination.limit` string, uint64
- `pagination.count_total` boolean
- `pagination.reverse` boolean

## Response `200`

A successful response.

- object: AccountsResponse is the response type for the Query/Accounts RPC method.
  - `accounts` object[]
    - `address` string
    - `permissions` object: Permissions are the permissions that an account has to trip or reset the circuit breaker.
      - `level` 'LEVEL_NONE_UNSPECIFIED' | 'LEVEL_SOME_MSGS' | 'LEVEL_ALL_MSGS' | 'LEVEL_SUPER_ADMIN': level is the level of permissions granted to this account.
      - `limit_type_urls` string[]: limit_type_urls is used with LEVEL_SOME_MSGS to limit the lists of Msg type URLs that the account can trip. It is an error to use limit_type_urls with a level other than LEVEL_SOME_MSGS.
  - `pagination` object: pagination defines the pagination in the response.
    - `next_key` string, byte: next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
    - `total` string, uint64

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/nymtech/apis/cosmos-sdk-grpc-gateway-docs.md) - [All operations](https://skmtc.dev/nymtech/apis/cosmos-sdk-grpc-gateway-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/nymtech/apis/cosmos-sdk-grpc-gateway-docs/revisions/46fa771059b6?raw)
