---
title: "Run a command inside a machine. Accepts shell string or argv array."
method: POST
path: "/smolmachines/v1/machines/{id}/exec"
tags: ["Smol Machines"]
---

# Run a command inside a machine. Accepts shell string or argv array.

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

## Response `200`

Successful response

---

[API](https://skmtc.net/orthogonal/apis/orthogonal-api-marketplace.md) · [All operations](https://skmtc.net/orthogonal/apis/orthogonal-api-marketplace/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/orthogonal/orthogonal-api-marketplace/revisions/bf5b6f84d6e0/schema)
