Retrieve AI Gateway configuration

Retrieve the organization-level Cloudflare AI Gateway configuration. While its enabled flag is true it applies to every Anthropic and OpenAI agent that does not set its own aiGateway override on create or update agent; while false no agent routes through it. A disabled configuration is still returned here. The API token is never returned.

get/v1/ai-gateway

Request

  • Base URL
    https://api.runbear.io
  • Auth
    HTTP bearer

Response

Default Response

cloudflareAccountIdstring required

Cloudflare account ID

gatewayNamestring required

Cloudflare AI Gateway name

enabledboolean required

Whether routing through the gateway is active

Changes

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