---
title: "POST /v1/ssh-command-actions/batch-execute"
method: POST
path: "/v1/ssh-command-actions/batch-execute"
tags: ["SSHCommand"]
---

# POST /v1/ssh-command-actions/batch-execute

`POST /v1/ssh-command-actions/batch-execute`

BatchExecuteSSHCommands executes multiple command requests in one call.

## Request body

- JadeTreeApiV1BatchExecuteSSHCommandsRequest
  - `requests` JadeTreeApiV1ExecuteSSHCommandRequest[]
    - `commandUid` string
    - `host` string
    - `port` integer
    - `username` string
    - `password` string
    - `privateKey` string
    - `timeoutSeconds` integer

## Response `200`

OK

- JadeTreeApiV1BatchExecuteSSHCommandsReply
  - `items` JadeTreeApiV1BatchExecuteSSHCommandsItem[]
    - `index` integer
    - `reply` JadeTreeApiV1ExecuteSSHCommandReply
      - `stdout` string
      - `stderr` string
      - `exitCode` integer
    - `error` string

---

[API](https://skmtc.net/aide-family/apis/untitled-api-4.md) · [All operations](https://skmtc.net/aide-family/apis/untitled-api-4/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aide-family/untitled-api-4/versions/7c1198712e80/schema)
