Skip to main content
POST
Open a port proxy

Authorizations

Authorization
string
header
required

A Cool Computers API key, user access token, or claimed agent access token in the Authorization header. Follow https://www.cool.computer/auth.md for agent registration and https://www.cool.computer/authentication.md for direct user credentials.

Path Parameters

id
string
required

The computer's name, such as agent-atlas, or its id (cmp_…). Every caller may use either, the computer's own runtime token included.

Minimum string length: 1
Example:

"agent-atlas"

Body

application/json
port
integer
required
Required range: 1 <= x <= 65535

Response

A WebSocket ticket.

ticket
string
required
expires_at
string<date-time>
required
ws_url
string
required