curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "smolmachines",
"path": "",
"method": "GET"
}'
Free
Calls cost nothing.
About this endpoint
List sessions for a machine
Path parameters
idrequiredstringGoes in the path: replace {id} in the request.More from Smol Machines
- Execute CommandPOST/v1/machines/{id}/execFree
- Session ExecPOST/v1/machines/{id}/sessions/{session_id}/execFree
- Download FileGET/v1/machines/{id}/filesFree
- Delete MachineDELETE/v1/machines/{id}Free
- Create SessionPOST/v1/machines/{id}/sessionsFree
- Stop MachinePOST/v1/machines/{id}/stopFree
- Run CodePOST/v1/machines/{id}/codeFree
- Get MachineGET/v1/machines/{id}Free
- Delete SessionDELETE/v1/machines/{id}/sessions/{session_id}Free
- Machine EventsGET/v1/machines/{id}/eventsFree
- Create MachinePOST/v1/machinesFrom $0.002044 per callRequest-based
- Upload FilePOST/v1/machines/{id}/filesFree