LogoFreestyle
API ReferenceVm

Get_terminal_logs

Get terminal logs as plain text array

GET
/v1/vms/{vm_id}/terminals/{terminal_id}/logs

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/logs"
{
  "logs": [
    {
      "line": "string",
      "timestamp": "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.