> ## Documentation Index
> Fetch the complete documentation index at: https://upstash-context7-agent-09df3c1c-9c05-4093-9d6e-e4e2644ee98c-5.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# PING

> Send a ping to the server and get a response if the server is alive.

## Arguments

No arguments

## Response

<ResponseField type="str" required>
  `PONG`
</ResponseField>

<RequestExample>
  ```py Example theme={null}
  assert redis.ping() == "PONG"
  ```
</RequestExample>


## Related topics

- [PING](/redis/commands/connection/ping.md)
- [Overview](/redis/sdks/py/commands/overview.md)
- [Pricing](/realtime/overall/pricing.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.