Skip to content

List VM apps

GET/v1/vms/{uid}/apps

Returns the extra ports exposed on the VM over HTTPS, each with its own public URL.

Authentication

Send your API key as Authorization: Bearer <token>. The request is scoped to the workspace in X-Workspace-Slug.

Path parameters

uidstringRequired

The VM's uid.

Headers

X-Workspace-SlugstringRequired

Slug of the workspace the request acts on. You can also pass it as the workspace_slug query parameter.

Response

200

The VM's exposed apps.

successbooleanRequired

true when the request succeeded.

messagestringRequired

Human-readable status message.

dataarray of objects
Show item attributes
uidstringRequired

Unique identifier of the app exposure.

vm_uidstringRequired

UID of the VM.

namestringRequired

Name of the exposure (stored in slug form).

slugstringRequired

Identifier used in the unexpose path.

statusstringRequired

pending while the route is being created, ready when live, deleting while being removed, failed if provisioning failed.

One ofpendingreadydeletingfailed

portintegerRequired

Port on the VM that the URL forwards to.

protocolstringRequired

Backend protocol.

One ofhttpgrpc

hostnamestringRequired

Public hostname of the exposure.

urlstringRequired

Public HTTPS URL of the exposure.

last_failurestring

Reason for the last failure. Omitted when there is none.

created_atstring (date-time)Required

When the exposure was created.

Errors

StatusMeaning
400The request was malformed or failed validation.
401The API key is missing, invalid, expired or revoked.
403You cannot access the workspace, your role does not allow this action, or the account is suspended.
404The resource does not exist or you cannot access it.

Errors use the standard error format.