dots.v2.agents.sessions.bySession_id().ingress.get()
Generated on 13 Nov 2026
from DoTs version
v1.24.0
Usage
client.v2.agents.sessions.bySession_id(session_id).ingress.get(requestConfiguration?: RequestConfiguration<object>): Promise<undefined | Get_ingress_url_response>Description
Publishes the URL on first call and returns it. Idempotent while the session runs: the same URL is
returned until the session is paused, locked or rolled back, after which the next call returns a new
hostname (pause and lock revoke the URL; rollback moves the session to a new sandbox, so re-fetch
after resume, unlock or rollback). The URL fronts guest port 8000 (the OpenHands Agent Server,
HTTP + WebSocket) and replaces the port-forward bridge for browser clients. Requests to the URL carry
the caller’s DO token as a Bearer header. Poll until state is INGRESS_URL_STATE_READY; there is no
failed state. Only OpenHands sessions support ingress, and it is gated per team.
Parameters
session_idstring requiredExample:
a1b2c3d4-e5f6-7890-abcd-ef1234567890The session UUID.
Request Sample
Response Example
More Information
See /v2/agents/sessions/{session_id}/ingress in the API reference for additional detail on responses, headers, parameters, and more.