Skip to main content
POST
Detect or expose a port as a routable app.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Workspace ID

Body

application/json
port
integer<int32>
required
Required range: x >= 0
step
string
required
name
string | null

Response

200 - application/json

Port exposed

Detection result for exposing ports - shows what was found before confirmation.

command
string
required
cwd
string
required
env_vars
string[]
required
is_systemd
boolean
required
pid
integer<int32>
required
Required range: x >= 0
port
integer<int32>
required
Required range: x >= 0
process_name
string
required
suggested_name
string
required
step
enum<string>
required
Available options:
detect
systemd_unit
string | null