---
title: "Get one command"
method: GET
path: "/v1/commands/{id}"
tags: ["Commands"]
---

# Get one command

`GET /v1/commands/{id}`

Use this endpoint to obtain all the details for one single command. You will need to supply the command id as the path variable. This endpoint returns details like the command id, creation time, expiration time, the action, actual request body, and more.

## Path parameters

- `id` string, required

## Response `200`

200

- object
  - `id` string
  - `orgSlug` string
  - `targetId` string
  - `action` string
  - `expiresAt` string
  - `metadata` object
    - `key1` string
    - `key2` string
  - `status` string
  - `requestBody` object
    - `body` object
      - `url` string
      - `body` object
        - `raw` string
        - `mode` string
      - `method` string
      - `headers` unknown[]
        - unknown
      - `ignore_tls_certificate` boolean
    - `action` string
    - `targetId` string
    - `commandId` string
    - `createdAt` string
    - `expiresAt` string
  - `responseBody` object
    - `body` string
  - `createdByEntity` unknown
  - `requestPayloadDelivery` 'embedded' | 'referenced'
  - `createdBy` string
  - `createdAt` string
  - `updatedAt` string

## Other responses

- `404` — 404
- `500` — 500

---

[API](https://skmtc.net/tetrascience/apis/tetra-data-lake.md) · [All operations](https://skmtc.net/tetrascience/apis/tetra-data-lake/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tetrascience/tetra-data-lake/revisions/0205e2bace53/schema)
