Documentation Index
Fetch the complete documentation index at: https://docs.nippy.la/llms.txt
Use this file to discover all available pages before exploring further.
Examples of what you can ask your agent
- “How many roulette spins were there this week vs last week?”
- “Which products had the most withdrawals last month? Give me the top 5”
- “Compare how many people enrolled in courses in January vs February”
- “How many attendees did each center have this quarter?”
- “Show me the daily evolution of redeemed prizes in May”
What data can you query?
You can ask about these areas of your business:| Area | What you can ask |
|---|---|
| Roulettes | Spins, prizes won, gift types, and dates |
| Supply | Inventory withdrawals by worker and product |
| Stock | Current stock levels by product |
| Courses | Enrollments and people who completed each course |
| Learning | Student progress in the LMS |
| Attendees | People who attended centers and events |
Tools
analytics_execute_pipeline
Ask a question about your data and get the results. Use it for direct queries like “how many prizes were redeemed this month?”.
Data area to query. Your agent picks the right one automatically.
The query itself. Your agent builds it automatically from your question. It’s an array of steps that transform and filter data to answer exactly what you need.
analytics_execute_pipelines
Compare two or more periods or segments at once. Use it for questions like “compare April vs May spins” or “Q1 vs Q2 enrollments”.
List of 2 to 5 queries. Each with:
label(string): descriptive name for the segment, e.g."April 2026"collection(string): data area (your agent picks it)pipeline(array): the query (your agent builds it)
Technical details (advanced)
Technical details (advanced)
If you want to write queries manually or need the exact names, here are the details:Data areas and their identifiers:
Allowed operations:
| Area | Identifier |
|---|---|
| Roulettes | roulettesMaterializedView |
| Supply | nippysupplyMaterializedView |
| Stock | stockLevelsMaterializedView |
| Courses | coursesMaterializedView |
| Learning | nippyLearnMaterializedView |
| Attendees | attendeesMaterializedView |
$match, $group, $sort, $limit, $project, $unwind, $lookup, $addFields, $countDisallowed operations: $out, $merge, $function, $accumulator, $where, $facetLimit: maximum 100 results. Dates: use ISO 8601 format ("2026-01-01" or "2026-01-01T00:00:00Z").Important: do not include businessId in any query. The server injects it automatically.
