---
title: "openvibe-sdk/geo · OpenVibe.Services"
canonical: "https://openvibe.services/docs/sdk/geo"
updated: null
---

# openvibe-sdk/geo · OpenVibe.Services

HTML: [openvibe-sdk/geo · OpenVibe.Services](https://openvibe.services/docs/sdk/geo)

# `openvibe-sdk/geo`

Generated at 2026-12-01 05:42:00 UTC from [`openvibe-contracts v0.454.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.454.0) and [`openvibe-sdk v0.193.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.193.0).

From `types/geo.d.ts` (both). Declarations are shown verbatim.

## interface OpenVibeLink

Contracts network.link@1.

~~~~
export interface OpenVibeLink {
    id: string; name: string;
    roles: Array<'web' | 'app' | 'data' | 'media-worker' | 'ingest' | 'edge-probe' | 'edge-relay' | 'edge-cache' | 'gpu' | 'staging' | 'ci'>;
    location: { region: string; country?: string; city?: string; lat?: number; lon?: number };
    provider?: string; beacon: string;
    health: { status: 'up' | 'degraded' | 'down' | 'unknown'; checked_at: string };
    updated_at: string;
}
~~~~

## interface Measured

~~~~
export interface Measured { node: OpenVibeLink; rtt_ms: number | null; ok: boolean }
~~~~

## interface GeoClient

~~~~
export interface GeoClient {
    nodes(opts?: { role?: string; region?: string }): Promise<OpenVibeLink[]>;
    measure(nodes: OpenVibeLink[]): Promise<Measured[]>;
    nearest(opts?: { role?: string; region?: string; preferRegion?: string; list?: OpenVibeLink[] }): Promise<{ node: OpenVibeLink; rtt_ms: number | null; measured: boolean } | null>;
}
~~~~

## export export function createGeoClient(client: OpenVibeClient, opts

~~~~
export function createGeoClient(client: OpenVibeClient, opts?: { baseUrl?: string; fetch?: typeof fetch; samples?: number; timeoutMs?: number; now?: () => number }): GeoClient;
~~~~
