Skip to main content
PUT
/
v1
/
workspaces
/
{id}
/
files
/
{path}
Mutate a single entry at a sub-path
curl --request PUT \
  --url https://storage.runtools.ai/v1/workspaces/{id}/files/{path} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "operation": "rename",
  "target": "<string>",
  "contents": "<string>",
  "ids": [
    "<string>"
  ]
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.runtools.ai/llms.txt

Use this file to discover all available pages before exploring further.

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
operation
enum<string>
Available options:
rename,
move,
copy,
write
target
string
contents
string
ids
string[]

Response

200

Updated.