---
title: "Get Pg Command"
method: GET
path: "/admin/pg-commands/{request_id}"
---

# Get Pg Command

`GET /admin/pg-commands/{request_id}`

## Request

- Base URL: `https://api.xhostd.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xhostd.com/admin/pg-commands/{request_id}`
- Auth: none declared

One recorded Postgres core command (admin); 404 when none.

## Path parameters

- `request_id` string, uuid, required

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xhostd/apis/xhostd-public.md) · [All operations](https://skmtc.dev/xhostd/apis/xhostd-public/llms.txt) · [OpenAPI document](https://skmtc.dev/xhostd/apis/xhostd-public/revisions/bf439c4d1789?raw)
