Check AI availability
Whether this deployment can generate content (Workers AI binding present).
Authorization
session docsdev_admin<token>
Sealed (AES-256-GCM) session cookie issued by POST /api/admin/login or the GitHub OAuth callback.
In: cookie
Response Body
application/json
application/json
curl -X GET "https://example.com/api/admin/ai/generate"{ "ok": true, "available": true}{ "ok": false, "error": "string"}