Type Alias: AIGatewayPlane
type AIGatewayPlane = "data" | "admin";
Defined in: src/ai-gateway/types.ts:41
Which plane to route a workspace read through.
data(default) —/ai_gw/v2, returns only workspaces the caller holds a workspace-scope grant on. A workspace outside that scope answers403 AB03, not404.admin—/ai_gw/admin/v2, returns every workspace in the tenant. Needs a tenant-root admin role.