Cloud Proxy

Cloud API proxy

Routes requests to cloud AI providers (OpenAI, Anthropic, etc.) with Keychain-injected API keys. Keys never touch disk or appear in browser devtools. Supports streaming passthrough.

post/v1/cloud/proxy

Request

  • Base URL: http://localhost:9998
  • URL: http://localhost:9998/v1/cloud/proxy
  • Auth: HTTP bearer

Request body

urlstring required

Target cloud API URL

methodstring
headersobject
streamboolean
configIdstring

Cloud provider config ID (injects API key from Keychain)

bodyobject

Request body to forward

Response

Upstream response passthrough. When stream: false, returns the upstream JSON body. When stream: true, returns text/event-stream passthrough.

object required

Upstream provider response (varies by provider)

Changes

No recorded changes to this operation across all 1 revision of this API.