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

# POST /v1/ssh-command-actions/dispatch/count

`POST /v1/ssh-command-actions/dispatch/count`

CountDispatchSSHCommandTargets counts affected machines before dispatch.

## Request body

- JadeTreeApiV1CountDispatchSSHCommandTargetsRequest
  - `filter` JadeTreeApiV1DispatchSSHCommandFilter
    - `includeMachineUids` string[]
    - `includeSystemTypes` string[]
    - `includeAgentVersions` string[]
    - `excludeMachineUids` string[]
    - `excludeSystemTypes` string[]
    - `excludeAgentVersions` string[]

## Response `200`

OK

- JadeTreeApiV1CountDispatchSSHCommandTargetsReply
  - `count` 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)
