---
title: "POST /v1/sandboxes/{id}/fs/mkdir"
method: POST
path: "/v1/sandboxes/{id}/fs/mkdir"
tags: ["Sandboxes"]
---

# POST /v1/sandboxes/{id}/fs/mkdir

`POST /v1/sandboxes/{id}/fs/mkdir`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/v1/sandboxes/{id}/fs/mkdir`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Request body

- MkdirBody
  - `path` string, required

## Response `204`

Directory created (or already existed)

## Other responses

- `400`: Validation error

## Changes

- **2026-04-25** `774be20905f2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/v1/sandboxes/:id/fs/mkdir/post.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
