Usage credits monitoring
Credits endpoint
GET /api/instance/organization/{slug}/credits
Authorization: Bearer <UI_BAKERY_INSTANCE_API_TOKEN>curl -i https://<your-instance-host>/api/instance/organization/acme/credits \
-H "Authorization: Bearer $UI_BAKERY_INSTANCE_API_TOKEN"{
"status": "OK",
"message": "Credits balance fetched",
"result": {
"organizationId": "b6b3e804-bf24-11f0-b596-9514a4f9f5de",
"organizationSlug": "acme",
"availableCredits": 249.68,
"lastTopUpTotalCredits": 250.0,
"percentageRemaining": 99.87,
"billingDisabled": false
}
}Low-credit alerts
Alert thresholds
Alert configuration variables
Webhook alerts
Email alerts
Email template customization
Sending both email and webhook
Last updated
Was this helpful?