> For the complete documentation index, see [llms.txt](https://docs.strongdm.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.strongdm.com/references/cli/ready.md).

# sdm ready

```shell
NAME:
   sdm ready - reports if the listener is ready for use.

USAGE:
   sdm ready [command options] [datasource name]

DESCRIPTION:
   sdm ready reports if the listener is ready for use.

        This command returns a detailed view on whether the StrongDM client is
    ready to serve connections. It uses the binary combination of the following
    codes to indicate what could be wrong:

        255    indicates that some internal error has happened and it cannot assert readiness.
          1    the StrongDM listener is not running.
          2    the StrongDM listener did not load its internal state yet or the user is not logged in.
          4    the StrongDM listener is not yet connected to a gateway.
          8    datasource name does not match any of the known datasources for the logged in account.
         16    there is not a gateway with a possible route to the chosen datasource.
         32    the chosen datasource is not connected.


OPTIONS:
   --quiet, -q  do not print the details in the standard error
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.strongdm.com/references/cli/ready.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
