您有多种不同的选项来管理 AI 网关。
To set up an AI Gateway in the dashboard:
- Log into the Cloudflare dashboard ↗ and select your account.
- Go to AI > AI Gateway.
- Select Create Gateway.
- Enter your Gateway name. Note: Gateway name has a 64 character limit.
- Select Create.
To set up an AI Gateway using the API:
-
Create an API token with the following permissions:
AI Gateway - Read
AI Gateway - Edit
-
Get your Account ID.
-
Using that API token and Account ID, send a
POST
request to the Cloudflare API.
To edit an AI Gateway in the dashboard:
- Log into the Cloudflare dashboard ↗ and select your account.
- Go to AI > AI Gateway.
- Select your gateway.
- Go to Settings and update as needed.
To edit an AI Gateway, send a PUT
request to the Cloudflare API.
删除您的网关是永久性的,无法撤销。
To delete an AI Gateway in the dashboard:
- Log into the Cloudflare dashboard ↗ and select your account.
- Go to AI > AI Gateway.
- Select your gateway from the list of available options.
- Go to Settings.
- For Delete Gateway, select Delete (and confirm your deletion).
To delete an AI Gateway, send a DELETE
request to the Cloudflare API.
- @2025 Cloudflare Ubitools
- Cf Repo