Skip to main content
POST
/
v1
/
machines
/
{machine_id}
/
terminals
Typescript
const client = new Dedalus();

const result = await client.machines.terminals.create({ ...params });
{ "created_at": "2023-11-07T05:31:56Z", "height": 123, "machine_id": "<string>", "status": "wake_in_progress", "terminal_id": "<string>", "width": 123, "error_code": "<string>", "error_message": "<string>", "expires_at": "2023-11-07T05:31:56Z", "protocol": "websocket", "ready_at": "2023-11-07T05:31:56Z", "retry_after_ms": 123, "stream_url": "<string>" }

Authorizations

x-api-key
string
header
required

Dedalus API key. Alternative to Bearer token.

Headers

X-Dedalus-Org-Id
string
Idempotency-Key
string
required

Path Parameters

machine_id
string
required

Body

application/json
height
integer<int64>
required
width
integer<int64>
required
cwd
string
env
object
shell
string

Response

OK

created_at
string<date-time>
required
height
integer<int64>
required
machine_id
string
required
status
enum<string>
required
Available options:
wake_in_progress,
ready,
closed,
expired,
failed
terminal_id
string
required
width
integer<int64>
required
error_code
string
error_message
string
expires_at
string<date-time>
protocol
enum<string>
Available options:
websocket
ready_at
string<date-time>
retry_after_ms
integer<int64>
stream_url
string
Last modified on April 9, 2026