Skip to Content
homemade
Dashboard

List terminal sessions

GET
/api/vms/{vmId}/terminal-sessions

The VM's open terminals. Each one keeps running when nobody is attached.

Authorization

apiKey
headerAuthorizationBearer <hmk_…>

An API key from the dashboard or homemade api-key create.

Path Parameters

vmId*string

Response Body

The VM's terminals.

application/json
  1. response
sessions*array<>
Example Request
curl -X GET 'https://api.homemade.dev/api/vms/string/terminal-sessions'
Example Response
{  "sessions": [    {      "attachedClients": 0,      "cols": -9007199254740991,      "createdAt": "2019-08-24T14:15:22Z",      "kind": "terminal",      "name": "string",      "rows": -9007199254740991,      "sessionId": "string",      "title": "string"    }  ]}