---
title: "ktm status"
description: "Run \"ktm status\" to verify CLI connectivity, authentication state, host configuration, version, and API latency before running commands."
sidebarTitle: "status"
lastUpdated: "2026-09-23"
---

> **For AI agents:** the complete documentation index is at [llms.txt](/llms.txt). Append `.md` to any page URL for its markdown version.

{/* GENERATED FILE: do not edit by hand. Regenerate with: node scripts/generate.mjs */}

Check connectivity, authentication, and CLI version

## Usage

```bash
ktm status [flags]
```

## Examples

```bash
ktm status
```

## Details

Quick health check for the CLI environment.

Reports the configured host, authentication state, CLI version, and API latency.
Auth shows the credential commands would actually use (an API key takes
precedence); a stored 'ktm login' session is reported alongside it either way.
Useful for verifying setup before running commands.

<Note>
  Global flags (`--output`, `--debug`, `--host`, …) apply to every command. See the [command reference overview](/cli/commands/overview).
</Note>

## What's next?

<Columns cols={2}>
  <Card title="All commands" icon="terminal" href="/cli/commands/overview">
    Browse the full CLI reference.
  </Card>
  <Card title="Get started" icon="rocket" href="/cli/getting-started">
    Install the CLI and authenticate.
  </Card>
</Columns>
