---
title: "Changes to Run Python or JavaScript code directly in a machine"
method: POST
path: "/smolmachines/v1/machines/{id}/code"
---

# Changes to Run Python or JavaScript code directly in a machine

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

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 26 revisions.

- **2026-11-08** `857e915717f4`: 2 breaking
- **2026-08-21** `bf5b6f84d6e0`: 1 info

## Changes

- **2026-11-08** `857e915717f4`: 2 breaking
  - added the new path request parameter `id`
  - added required request body
- **2026-08-21** `bf5b6f84d6e0`: 1 info
  - endpoint added

---

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