Here are the full request/response details as requested:
Request:
POST https://ai-gateway.vercel.sh/v1/chat/completions
Request Headers:
Authorization: Bearer
Content-Type: application/json
Accept: /
Accept-Encoding: gzip, deflate, br
User-Agent: PostmanRuntime-ApipostRuntime/1.1.0
Connection: keep-alive
Cache-Control: no-cache
Host: ai-gateway.vercel.sh
Content-Length: 136
Response Headers:
Cache-Control: public, max-age=0, must-revalidate
Content-Encoding: br
Content-Type: application/json
Date: Mon, 16 Mar 2026 09:41:18 GMT
Server: Vercel
Strict-Transport-Security: max-age=63072000; includeSubDomains; preload
Vary: rsc, next-router-state-tree, next-router-prefetch, next-router-segment-prefetch
X-Matched-Path: /v1/chat/completions
X-Vercel-Cache: MISS
X-Vercel-Id: sin1::fra1::mr2nm-1773654078302-80a62b52517d
Transfer-Encoding: chunked
Response Body:
{
"error": {
"message": "Forbidden.",
"type": "access_denied"
}
}
The response still shows Next.js headers (Vary: rsc, X-Matched-Path) and returns 403 Forbidden.