---
title: "Changes to Execute a command"
method: POST
path: "/v2/sandboxes/sessions/{sessionId}/cmd"
---

# Changes to Execute a command

`POST /v2/sandboxes/sessions/{sessionId}/cmd`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 6 of 137 revisions.

- **2026-10-23** `0ab54ee1bd2e`: 1 info
- **2026-10-19** `f4083d759e58`: 1 warning, 1 info
- **2026-10-10** `32399b3ed273`: 1 info
- **2026-08-18** `4a14567fe836`: 1 warning
- **2026-07-08** `3ff660568354`: 2 info
- **2026-06-11** `14b4658f819e`: 1 info

## Changes

- **2026-10-23** `0ab54ee1bd2e`: 1 info
  - removed the non-success response with the status `500`
- **2026-10-19** `f4083d759e58`: 1 warning, 1 info
  - deleted the `query` request parameter `cmdId`
  - removed `subschema #3` from the response body `oneOf` list for the response status `200`
- **2026-10-10** `32399b3ed273`: 1 info
  - added the new optional request property `attachStdin`
- **2026-08-18** `4a14567fe836`: 1 warning
  - the `timeout` request property's max was set to `18000000.00`
- **2026-07-08** `3ff660568354`: 2 info
  - added the optional property `command/durationMs` to the response with the `200` status (media type: application/json)
  - added the optional property `oneOf[subschema #2]/command/durationMs` to the response with the `200` status (media type: application/x-ndjson)
- **2026-06-11** `14b4658f819e`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/vercel/apis/api/docs/v2/sandboxes/sessions/:sessionId/cmd/post.md) - [API](https://skmtc.dev/vercel/apis/api.md) - [Page](https://skmtc.dev/vercel/apis/api/changes/v2/sandboxes/sessions/:sessionId/cmd/post)
