Skip to content
Skip to Content
Coder Docs

AI Gateway serve

GET
/api/v2/ai-gateway/serve

Authorization

AIGatewayKey
headerX-AI-Governance-Gateway-Key<token>

Response Body

Switching Protocols

The samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.

curl -X GET \	"$CODER_URL/api/v2/ai-gateway/serve" \	-H "X-AI-Governance-Gateway-Key: {AIGatewayKey}"
Example Response101
Empty