LogoFreestyle
API Reference/Dev servers

Handle_watch_dev_server_files

POST/ephemeral/v1/dev-servers/watch-files

Request Body

application/jsonRequired
devServerRequiredobject

Response Body

200

Stream of file events

responseRequiredstring
curl -X POST "https://api.freestyle.sh/ephemeral/v1/dev-servers/watch-files" \
  -H "Content-Type: application/json" \
  -d '{
    "devServer": {
      "repoId": "c7c90052-c566-40b6-94a5-a1e9a44bfdc7",
      "gitRef": "string",
      "kind": "repo"
    }
  }'

Stream of file events

"string"

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.