@runloop/api-client - v1.18.1
    Preparing search index...

    Interface TunnelView

    A V2 tunnel provides secure HTTP access to services running on a Devbox. Tunnels allow external clients to reach web servers, APIs, or other HTTP services running inside a Devbox without requiring direct network access. Each tunnel is uniquely identified by an encrypted tunnel_key and can be configured for either open (public) or authenticated access. Usage: https://{port}-{tunnel_key}.tunnel.runloop.ai

    interface TunnelView {
        auth_mode: "open" | "authenticated";
        create_time_ms: number;
        http_keep_alive: boolean;
        tunnel_key: string;
        wake_on_http: boolean;
        auth_token?: string | null;
    }
    Index

    Properties

    auth_mode: "open" | "authenticated"

    The authentication mode for the tunnel.

    create_time_ms: number

    Creation time of the tunnel (Unix timestamp milliseconds).

    http_keep_alive: boolean

    When true, HTTP traffic through the tunnel counts as activity for idle lifecycle policies, resetting the idle timer.

    tunnel_key: string

    The encrypted tunnel key used to construct the tunnel URL. URL format: https://{port}-{tunnel_key}.tunnel.runloop.{domain}

    wake_on_http: boolean

    When true, HTTP traffic to a suspended devbox will automatically trigger a resume.

    auth_token?: string | null

    Bearer token for tunnel authentication. Only present when auth_mode is 'authenticated'.