---
title: "POST /scrutinize/{ID}/{Node}/{Batch}/commands"
method: POST
path: "/scrutinize/{ID}/{Node}/{Batch}/commands"
---

# POST /scrutinize/{ID}/{Node}/{Batch}/commands

`POST /scrutinize/{ID}/{Node}/{Batch}/commands`

## Request

- Base URL: `https://docs.vertica.com/v1`
- URL: `https://docs.vertica.com/v1/scrutinize/{ID}/{Node}/{Batch}/commands`
- Auth: none declared
- TypeScript: <https://skmtc.dev/vertica/apis/node-management-agent-api/docs/scrutinize/:ID/:Node/:Batch/commands/post.ts> (a function with typed inputs; its response is checked against the schema)

Run commands and stage the output to a directory specified by ID, Node, and Batch. The set of
commands run is dependent on the batch. Batches without associated commands will return 200 and
stage nothing.

## Path parameters

- `ID` string, required
- `Node` string, required
- `Batch` string, required

## Response `200`

- StageCommandsResponse[]
  - `name` string

## Other responses

- `400`: A RFC7807Error is a generated error that follows RFC7807 specification.
- `405`: A RFC7807Error is a generated error that follows RFC7807 specification.
- `500`: A RFC7807Error is a generated error that follows RFC7807 specification.

---

[API](https://skmtc.dev/vertica/apis/node-management-agent-api.md) - [All operations](https://skmtc.dev/vertica/apis/node-management-agent-api/llms.txt) - [OpenAPI document](https://skmtc.dev/vertica/apis/node-management-agent-api/revisions/1d9449e2142a?raw)
