Documentation Index
Fetch the complete documentation index at: https://docs.xhipai.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Gateway router creates a unified API surface that merges local and remote agent/team/workflow endpoints. It proxies requests to remote servers and includes health checking.Quick Start
Health Monitoring
Remote Endpoint Configuration
| Option | Type | Description |
|---|---|---|
baseUrl | string | Base URL of the remote server |
agents | string[] | Agent names to proxy |
teams | string[] | Team names to proxy |
workflows | string[] | Workflow names to proxy |
headers | Record<string, string> | Auth headers for this remote |
healthPath | string | Custom health check path (default: /agents) |
SSE Streaming
The gateway transparently proxies SSE streams —POST /agents/:name/stream calls are forwarded with event stream passthrough.