Skip to main content
POST
/
v1
/
workspaces
/
{id}
/
upload
Upload a file to the workspace root
curl --request POST \
  --url https://storage.runtools.ai/v1/workspaces/{id}/upload \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file' \
  --form 'name=<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

Query Parameters

id
string

Optional target sub-path within the workspace.

Body

multipart/form-data
file
file
required
name
string

Response

Uploaded.