Skip to main content
POST
Create an entry at a sub-path

Authorizations

Authorization
string
header
required

WorkOS session token or RunTools API key (rt_live_* / rt_test_*). Used in Authorization: Bearer <token> header.

Path Parameters

id
string<uuid>
required
path
string
required

Sub-path within the workspace; may contain /.

Body

application/json
name
string
type
enum<string>
Available options:
file,
directory
contents
string

Optional initial text contents for a new file.

Response

200

Created.