Proxy API
The Steward Proxy runs on a separate port (default: 8080) and handles credential injection for outbound API requests. Agents make requests to the proxy, and Steward injects real credentials before forwarding.Base URL
Authentication
All proxy requests require an agent JWT:Making Requests
Via Named Alias
Named aliases provide a clean URL pattern:- Strips the agent’s
Authorizationheader - Resolves
openai→api.openai.com - Finds the matching route for
api.openai.com/* - Decrypts and injects the real credential
- Forwards to
https://api.openai.com/v1/chat/completions
Via Direct Host
For APIs without a named alias:SDK Integration
Most LLM SDKs support custom base URLs, making proxy integration trivial:- OpenAI
- Anthropic
- fetch
Proxy Endpoints
Error Responses
| Status | Meaning |
|---|---|
| 401 | Invalid or missing agent JWT |
| 403 | No route configured for this host/path, or policy denied |
| 502 | Upstream API error |
| 504 | Upstream API timeout |
Configuring Aliases
Aliases are configured per-tenant via route definitions. When you create a route forapi.openai.com, the alias openai is automatically available.
Default alias mappings:
| Alias | Host |
|---|---|
openai | api.openai.com |
anthropic | api.anthropic.com |
birdeye | public-api.birdeye.so |
Related
- Proxy Gateway Concepts — Architecture and flow
- Routes API — Configure injection routes
- Secrets API — Manage encrypted credentials