APIEndpoint referenceDashboard
/dashboard/bot/stats-rules
AuthorizationBearer <token>
Supabase access token.
In: header
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/dashboard/bot/stats-rules"[ { "createdAt": "string", "id": 0, "isEnabled": true, "statisticKey": "string", "statisticsLabel": "string", "updatedAt": "string" }]/dashboard/bot/prompt-templates/{id} PUT
A blank name or content is ignored rather than written — the original guards each with a truthiness check, so a template cannot be emptied through this endpoint.
/dashboard/bot/stats-rules POST
New rules are enabled on creation, so adding one takes effect immediately.