TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/No-Country-simulation/G9-LATAM-Team-58/llms.txt
Use this file to discover all available pages before exploring further.
/stats endpoint gives you a real-time snapshot of the Mindloom content corpus. It returns the total number of indexed items, a per-category breakdown (only categories with at least one item are included), and a count of items added in the last seven days. This makes it the primary data source for populating dashboard summary cards, category distribution charts, and activity indicators across the web client.
Endpoint
http://localhost:8080Auth: None required
Query parameters: None
Response — 200 OK
A successful request returns aStatsResponse object.
Total number of content items currently indexed in the corpus.
A map of category name → item count. Only categories with at least one item appear in this object. Categories with zero items are omitted entirely.
Number of content items added in the last 7 days.
byCategory does not include categories with zero items. If a category key is absent from the map, its count is 0. Client code should default missing keys to zero rather than treating their absence as an error.Example
Request
Response
Error Codes
| HTTP Status | error code | Description |
|---|---|---|
503 | INTERNAL_ERROR | The database is not configured. The API was started without app.database.enabled=true (scaffold mode). Enable the db Spring profile or set the property, then restart. |