curl --request POST \
--url 'https://api.sandbox.stateset.app/api/v1/sandbox/{id}/files/mkdir' \
--header "Authorization: Bearer $STATESET_SANDBOX_API_KEY" \
--header 'Content-Type: application/json' \
--data '{}'
{
"success": true,
"path": "string"
}
Create a directory in the sandbox
Create a directory in the sandbox
POST
/
api
/
v1
/
sandbox
/
{id}
/
files
/
mkdir
curl --request POST \
--url 'https://api.sandbox.stateset.app/api/v1/sandbox/{id}/files/mkdir' \
--header "Authorization: Bearer $STATESET_SANDBOX_API_KEY" \
--header 'Content-Type: application/json' \
--data '{}'
{
"success": true,
"path": "string"
}
Path parameters
string (uuid)
required
Sandbox identifier
Request body
JSON body of typeMkdirRequest.
Response
object
boolean
required
string
required
Path of the created directory
Status codes
| Code | Meaning |
|---|---|
200 | Directory created |
404 | Sandbox not found |
curl --request POST \
--url 'https://api.sandbox.stateset.app/api/v1/sandbox/{id}/files/mkdir' \
--header "Authorization: Bearer $STATESET_SANDBOX_API_KEY" \
--header 'Content-Type: application/json' \
--data '{}'
{
"success": true,
"path": "string"
}
Last modified on August 31, 2026