---
title: "Changes to Execute a command."
method: POST
path: "/v1/machines/{id}/exec"
---

# Changes to Execute a command.

`POST /v1/machines/{id}/exec`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 2 revisions.

- **2026-10-16** `bc31fc04a568`: 12 info

## Changes

- **2026-10-16** `bc31fc04a568`: 12 info
  - the endpoint scheme security `ApiKeyAuth` was added to the API
  - added the new optional request property `background`
  - added the new optional request property `user`
  - added the media type `text/event-stream` for the response with the status `200`
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
  - added the non-success response with the status `404`
  - added the non-success response with the status `429`
  - added the non-success response with the status `500`
  - added the optional property `stderrB64` to the response with the `200` status
  - added the optional property `stdoutB64` to the response with the `200` status
  - added the optional property `user` to the response with the `200` status

---

[Operation](https://skmtc.dev/smolmachines/apis/smolfleet-api/docs/v1/machines/:id/exec/post.md) - [API](https://skmtc.dev/smolmachines/apis/smolfleet-api.md) - [Page](https://skmtc.dev/smolmachines/apis/smolfleet-api/changes/v1/machines/:id/exec/post)
