> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cosmos.network/llms.txt
> Use this file to discover all available pages before exploring further.

# Autocli

> gRPC queries and transaction messages defined by the autocli module in Cosmos SDK v0.55.

<Info>
  Generated from [`cosmos/cosmos-sdk@2086680ff8b0`](https://github.com/cosmos/cosmos-sdk/tree/2086680ff8b08fd269ee653e087ea577bab79534/proto) on ref `release/v0.55.x`.
</Info>

## Queries

A node exposes only the services its application registers:

* gRPC on port 9090
* REST on port 1317, if the method has an HTTP binding

Run `grpcurl -plaintext localhost:9090 list` to see what a node serves.

Queries are read-only and never pass through consensus. See [Queries](/sdk/latest/learn/concepts/transactions#queries).

Replace `<string>` placeholders with real values and omit unused filters. Payloads use protobuf JSON, and some `string` fields accept enum constants listed under Types. Field tables give the encoding each value takes.

Examples assume a local node. For TLS endpoints, use port 443 and omit `-plaintext`. See [gRPC services](/sdk/latest/api-reference/grpc/index) for reflection, address formats, and decimal encoding.

### AppOptions

AppOptions returns the autocli options for all of the modules in an app.

|      |                                      |
| ---- | ------------------------------------ |
| gRPC | `cosmos.autocli.v1.Query/AppOptions` |

Request `AppOptionsRequest`:

This message has no fields.

Response `AppOptionsResponse`:

| Field            | Type                         | Description                                                        |
| ---------------- | ---------------------------- | ------------------------------------------------------------------ |
| `module_options` | `map<string, ModuleOptions>` | module\_options is a map of module name to autocli module options. |

```bash theme={"theme":{"light":"github-light-high-contrast","dark":"github-dark-high-contrast"}}
grpcurl -plaintext localhost:9090 cosmos.autocli.v1.Query/AppOptions
```
