v1
latestOpenAPI 3.0.3Proprietary2026-07-26162247330.6 KBAI Gateway
Get branch AI Gateway endpoint
Returns the AI Gateway endpoint host for the specified branch, used to render code-snippet base URLs. A 200 response means the branch is registered and this region serves the AI gateway. A 404 response includes a reason field indicating why the gateway is unavailable.
Note: This endpoint is currently in Private Beta.
get/projects/{project_id}/branches/{branch_id}/ai_gateway
Response
AI Gateway is enabled for this branch
Example response
{
"base_url": "https://br-cool-moon-42-api.ai.c-2.local.neon.build"
}