LogoFreestyle
API Reference/Dev servers

Write a file to a Dev Server

PUT
/ephemeral/v1/dev-servers/files/{filepath}

Path Parameters

filepathRequiredstring

The path to the file to read from the dev server

Response Body

200

Successful

idRequiredstring
isNewRequiredboolean

500

Internal Server Error

responseRequiredstring
curl -X PUT "https://api.freestyle.sh/ephemeral/v1/dev-servers/files/<string>"

Successful

{
  "id": "string",
  "isNew": true
}

Freestyle AI

Documentation assistant

Experimental: AI responses may not always be accurate—please verify important details with the official documentation.

How can I help?

Ask me about Freestyle while you browse the docs.