StatsHub Docs
APIEndpoint referenceDashboard

/dashboard/bot/prompt-templates

Superadmin-only in production.

GET
/api/dashboard/bot/prompt-templates

Superadmin-only in production. Development retains the open-console bypass.

Authorization

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/prompt-templates"
[  {    "content": "string",    "createdAt": "string",    "id": 0,    "isActive": true,    "name": "string",    "updatedAt": "string"  }]