cf-aig-authorization headerv1/models endpoint or only contain /v1/chat/completions and /v1/embeddings?

gateway.run function inside workers.x-api-key header.authorization should be stored. Is this out-of-date? https://developers.cloudflare.com/ai-gateway/universal/#:~:text=The%20payload%20is%20expecting%20an%20array%20of%20message%2C%20and%20each%20message%20is%20an%20object%20with%20the%20following%20parameters
cf-aig-authorization gateway-level setting. Perhaps this is header configuration hierarchy at work? https://developers.cloudflare.com/ai-gateway/universal/#header-configuration-hierarchy
cf-aig-authorizationcf-aig-authorizationv1/models/v1/chat/completions/v1/embeddingsgateway.runcurl https://gateway.ai.cloudflare.com/v1/[account_id]/[gateway-id] \
--header 'Content-Type: application/json' \
--header 'cf-aig-authorization: Bearer [cf-aig-token]' \
--data '[
{
"provider": "openai",
"endpoint": "chat/completions",
"headers": {
"Authorization": "Bearer [openai_api_key]",
},
"query": {
"model": "gpt-4o-mini",
"messages": [
{
"role": "user",
"content": "What is Cloudflare?"
}
]
}
}
]'{
"error": {
"message": "You didn't provide an API key. You need to provide your API key in an Authorization header using Bearer auth (i.e. Authorization: Bearer YOUR_KEY), or as the password field (with blank username) if you're accessing the API from your browser and are prompted for a username and password. You can obtain an API key from https://platform.openai.com/account/api-keys.",
"type": "invalid_request_error",
"param": null,
"code": null
}
}x-api-keyauthorization# seems google-ai-studio streaming api not work, anybody know how to fix it?
curl "https://gateway.ai.cloudflare.com/v1/7{account_id}/{gateway_id}/google-ai-studio/v1beta/models/gemini-2.5-flash-preview-05-20:streamGenerateContent?alt=sse" \
--header 'content-type: application/json' \
--header 'x-goog-api-key: '(pass GEMINI_API_KEY) \
--data '{
"contents": [
{
"role":"user",
"parts": [
{"text":"What is Cloudflare?"}
]
}
]
}'createOpenAI({
baseURL: `https://gateway.ai.cloudflare.com/v1/${env.CLOUDFLARE_ACCOUNT_ID}/${customer.gatewayId}/openai`,
apiKey: env.OPENAI_API_KEY,
headers: {
'cf-aig-authorization': env.CLOUDFLARE_API_KEY,
},
});