Skip to main content
OpenGeni’s public contract is a workspace-scoped HTTP API. Most integrations should use @opengeni/sdk, which wraps these routes with types, retries, and stream recovery. Every request authenticates first (see Authentication); protected routes include the workspace id in the path and are authorized against it.

Discovery

Main route families

Streaming

The event stream is Server-Sent Events. Every event has a contiguous sequence number, so a client can reconnect with the last sequence it saw and backfill any gap from the replay route. Postgres is the source of truth; the stream only fans out what was already written. Configure proxies with buffering disabled and read timeouts of at least an hour.

Compatibility

Within a major version, the API only grows: clients ignore unknown response fields and event types, and servers ignore unknown request fields. See Going to production. The full route list is in the repository’s HTTP API overview.