---
title: "Create a persistent session that preserves working directory and environment across exec calls"
method: POST
path: "/smolmachines/v1/machines/{id}/sessions"
tags: ["Smol Machines"]
---

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

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

## 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)
