---
title: "Run one Redis command (read-only or read-write per the console mode; server management is never available)"
method: POST
path: "/instances/{instance_id}/redis/command"
tags: ["engines"]
---

# Run one Redis command (read-only or read-write per the console mode; server management is never available)

`POST /instances/{instance_id}/redis/command`

## Request

- Base URL: `https://app.lathe.live/api/v1`
- URL: `https://app.lathe.live/api/v1/instances/{instance_id}/redis/command`
- Auth: none declared

## Path parameters

- `instance_id` string, required

## Request body

- CommandIn
  - `command` string, required: One Redis command line, e.g. GET session:1 or HGETALL user:7.

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/lathe/apis/lathe-customer-api.md) · [All operations](https://skmtc.dev/lathe/apis/lathe-customer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/lathe/apis/lathe-customer-api/revisions/68cfd9bb71c1?raw)
