Create Session

VerifiedPOST /v1/machines/{id}/sessionsPublished by Smol Machines
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "smolmachines",
"path": "",
"method": "POST"
}'

Free

About this endpoint

Create a persistent session that preserves working directory and environment across exec calls

Body parameters

More from Smol Machines

  1. Execute CommandPOST/v1/machines/{id}/execFree
  2. Session ExecPOST/v1/machines/{id}/sessions/{session_id}/execFree
  3. Download FileGET/v1/machines/{id}/filesFree
  4. Delete MachineDELETE/v1/machines/{id}Free
  5. Stop MachinePOST/v1/machines/{id}/stopFree
  6. Run CodePOST/v1/machines/{id}/codeFree
  7. Get MachineGET/v1/machines/{id}Free
  8. Delete SessionDELETE/v1/machines/{id}/sessions/{session_id}Free
  9. Machine EventsGET/v1/machines/{id}/eventsFree
  10. Create MachinePOST/v1/machinesPriced per call
  11. Upload FilePOST/v1/machines/{id}/filesFree
  12. Start MachinePOST/v1/machines/{id}/startFree
All 15 Smol Machines endpoints