Ellipsis APIReferenceSessions

Get Agent Session Port

Return the preview link for a port in the session's live sandbox (a dev server running there): the same dashboard page as the IDE, deep-linked to the port. Backs `agent session port`.

GET
/v1/sessions/{session_id}/ports/{port}

Return the preview link for a port in the session's live sandbox (a dev server running there): the same dashboard page as the IDE, deep-linked to the port.

Backs agent session port.

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

session_id*Session Id
port*Port

Header Parameters

user-agent?string|null

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/sessions/string/ports/0"
{  "port": 0,  "url": "string"}