Documentation Index
Fetch the complete documentation index at: https://docs.mavera.io/llms.txt
Use this file to discover all available pages before exploring further.
What You’ll Learn
In this quickstart you will:- Understand synthetic focus groups: AI personas answer your questions at scale, so you get segment-level feedback without recruiting real users.
- Gather prerequisites: API key, workspace ID, and at least two persona IDs.
- Create a focus group with a name, sample size, persona list, and a short set of questions (e.g. NPS, Likert, open-ended).
- Retrieve the completed focus group and read aggregated results (NPS score, summaries, individual responses).
- Interpret the output so you can act on it (e.g. product or messaging decisions).
Time: About 15 minutes (creation is quick; completion can take 1–5 minutes depending on sample size and question count). Credits: Roughly 50–200 credits depending on sample size and questions.
Prerequisites
Mavera account with an active subscription and enough credits. Focus groups typically use 50–200 credits per run.
API key from Developer Settings.
Workspace ID for the workspace where the focus group will live. You can find it in the app URL when viewing a workspace (e.g.
app.mavera.io/workspaces/ws_abc123) or via the workspaces API.At least two persona IDs from
GET /personas. Use personas that match your target segments (e.g. Gen Z, Millennial Professional, B2B Decision Maker).What Is a Synthetic Focus Group?
A focus group in Mavera is a single run where:- You define a sample size (e.g. 25 or 50).
- You select personas (e.g. Gen Z Consumer, Millennial Professional). Each “respondent” is one of these personas.
- You define questions with types such as NPS (0–10), Likert (agree/disagree), multiple choice, or open-ended.
- Mavera simulates that many responses from the chosen personas and returns:
- Aggregated metrics (e.g. NPS score, % promoters/detractors, average Likert).
- Per-question summaries and, where applicable, individual responses with reasoning.
Step 1: Get Your Persona IDs and Workspace ID
You’ll need 2+ persona IDs and your workspace ID. Listing personas is free (0 credits).ws_your_workspace_id with the workspace where you want the focus group. Replace the placeholder persona IDs in the next step with real IDs from this list.
Step 2: Create the Focus Group
Send aPOST with a name, sample size, persona IDs, and questions. Each question has a type, question text, order, and for some types (e.g. MULTIPLE_CHOICE) an options array.
id and status. Status is often PENDING or RUNNING at first; it moves to COMPLETED when all simulated responses are done.
Step 3: Wait for Completion and Fetch Results
Focus groups run asynchronously. PollGET /focus-groups/{id} until status is COMPLETED, then read results.
Step 4: Interpret the Results
Each element inresults corresponds to one question and typically includes:
| Field | Description |
|---|---|
question | The question text. |
type | Question type (NPS, LIKERT, MULTIPLE_CHOICE, OPEN_ENDED, etc.). |
summary | AI-generated summary of how the segment responded. |
| For NPS | nps_score, promoters, passives, detractors (percentages). |
| For LIKERT | Scale distribution or average. |
| For MULTIPLE_CHOICE | Counts or percentages per option. |
responses | Optional array of individual responses (persona, score/reasoning). |
summary for a quick read; use responses and segment-level metrics when you need to compare personas or drill into outliers.
Question Types at a Glance
| Type | Purpose | Typical response fields |
|---|---|---|
NPS | Net Promoter Score 0–10 | nps_score, promoters, passives, detractors |
LIKERT | 5-point agreement | Scale value, distribution |
MULTIPLE_CHOICE | Single or multi-select | Selected option(s), counts |
OPEN_ENDED | Free text | Summary, individual responses |
RATING | Star rating 1–5 | Rating, explanation |
YES_NO | Binary | Yes/No, reasoning |
Credit Costs
| Sample size | Approximate credits |
|---|---|
| 10–25 | 50–75 |
| 26–50 | 75–125 |
| 51–100 | 125–200 |
| 100+ | 200+ |
usage.credits_used on the completed focus group object.
Common Issues
Invalid workspace_id or 403
Invalid workspace_id or 403
Ensure the workspace exists and your API key has access. Get the ID from the dashboard or workspaces API.
Invalid persona_id
Invalid persona_id
Use IDs from
GET /personas. You need at least one persona; two or more give more useful segment variation.MULTIPLE_CHOICE missing options
MULTIPLE_CHOICE missing options
For
type: "MULTIPLE_CHOICE" you must include an options array of strings.Focus group stuck in PENDING/RUNNING
Focus group stuck in PENDING/RUNNING
Large sample sizes or many questions take longer. Poll for up to 5–10 minutes; if it never completes, check status or contact support.
402 credits_exhausted
402 credits_exhausted
Refill credits or reduce sample size / question count. See Credits.
Next Steps
Run First Focus Group
Full tutorial with Python/JS scripts
Focus Groups
All 12 question types, best practices
Persona Selection
Choose personas by use case
API Reference
Full request/response specification