# Ping database

Source: https://stratadb.org/docs/reference/admin/ping

Lightweight liveness check. Returns the engine package version without touching branches, spaces, or primitive data. Use it to confirm the handle is open and responsive before issuing heavier commands.

Status commands return a scalar or compact status payload and do not mutate database state.

## Examples

Check the database handle is live.

### CLI

```console
$ strata ping
```

### Wire

```json
{"type":"ping"}
```

## Parameters

_No parameters._

## Returns

`StatusResponse<PingInfo>`.

## Errors

- [`failed_precondition.engine.runtime_closed`](https://stratadb.org/e/failed_precondition.engine.runtime_closed)

## Invocation

- CLI: `strata ping`
- Wire type: `ping`