machines
Execute in a session.
Changed onRuns a command inside an existing session, inheriting its state. Requires the machine:exec scope.
post/v1/machines/{id}/sessions/{session_id}/exec
Request
- Base URLhttps://api.smolmachines.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Machine id
session_idstring required
Session id
Request body
Response
Command result
Changes
- info
the endpoint scheme security
ApiKeyAuthwas added to the API - info
added the new optional request property
- info
added the new optional request property
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info