ApiAdmin — organizationCounts
Badge counts by route
Returns unread notification counts grouped by admin route path. Used to render badge indicators in the admin sidebar navigation.
Save AI config
Saves the AI configuration. The API key is validated against the provider before saving. Returns 400 if the key is invalid. Overwrites any existing configuration.
Submit error report
Submits an error report from the admin client. Includes error message, stack trace, browser context, and the current route. Reports are stored for developer review.