---
title: "Returns a specific command."
method: GET
path: "/commands/{commandId}"
tags: ["Commands"]
---

# Returns a specific command.

`GET /commands/{commandId}`

## Response `200`

Command that was created

## Changes

- **2022-06-29** `a4e8a36890d5` — 1 info
  - added the optional property `allOf[#/components/schemas/EditableCommand]/deliveryMethod/value/oneOf[#/components/schemas/JobDeliveryMethod]/allOf[subschema #2]/targetSelection` to the response with the `200` status

[Change history](https://skmtc.dev/aws-samples/apis/cdf-command-control-service/changes/commands/:commandId/get.md)

---

[API](https://skmtc.dev/aws-samples/apis/cdf-command-control-service.md) · [All operations](https://skmtc.dev/aws-samples/apis/cdf-command-control-service/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/aws-samples/cdf-command-control-service/revisions/3c7940ca634e/schema)
