LogoFreestyle
API ReferenceVm

Get_file

Get file from VM

GET
/v1/vms/{vm_id}/files/{filepath}

Path Parameters

vm_id*string

The ID of the VM to get the file from

filepath*string

The path of the file to get

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://api.freestyle.sh/v1/vms/string/files/string"
{
  "content": "string"
}
{
  "error": "string",
  "message": "string"
}
{
  "error": "string",
  "message": "string"
}
{
  "error": "string",
  "message": "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.