LogoFreestyle
API ReferenceVm

Get_terminal_xterm

Get terminal output with xterm formatting

GET
/v1/vms/{vm_id}/terminals/{terminal_id}/xterm-256color

Path Parameters

vm_id*string

The ID of the VM

terminal_id*string

The ID of the terminal session

Response Body

application/json

application/json

curl -X GET "https://api.freestyle.sh/v1/vms/string/terminals/string/xterm-256color"
{
  "output": "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.