Information
- OpenAPI version:
3.0.3
An OpenAI-compatible API gateway that routes chat completion and image generation requests to multiple upstream AI providers (OpenAI, Google Gemini, Anthropic) based on the model prefix in the request.
Accepts three token types: (1) JWT access token verified against the configured JWKS endpoint; (2) WP Engine API key (prefixed “wpe_”); (3) browser session token (prefixed “wpbs_”) — short-lived tokens minted for browser clients via POST /v1/browser/client_secret. Per-route permission checks apply to API keys and browser session tokens; some management endpoints are JWT-only, while agents, sessions, and events also accept an API key scoped to a project. A WordPress site access token must carry the scope “urn:wpengine:wordpress”; the pre-URN spelling “wpengine:wordpress” is also accepted, so sites registered before the rename continue to work without re-registering. A token carrying neither is rejected with 403.
Security scheme type: http
Google-issued ID token for an authorized service account.
Security scheme type: http
Bearer format: JWT
WP Engine API key sent via the Anthropic SDK convention. Equivalent to presenting the same key as a bearer token. Supported only on the /v1/messages endpoints.
Security scheme type: apiKey
Header parameter name: x-api-key