---
title: "Generate questions via LLM"
method: POST
path: "/api/v1/personas/{persona_uuid}/questions/generate"
tags: ["Questions"]
---

# Generate questions via LLM

`POST /api/v1/personas/{persona_uuid}/questions/generate`

## Request

- Base URL: `https://botsee.io`
- URL: `https://botsee.io/api/v1/personas/{persona_uuid}/questions/generate`
- Auth: HTTP bearer

Uses AI to generate questions based on the persona and site context. Estimated ~10 credits; the actual charge follows LLM token usage.

## Path parameters

- `persona_uuid` string, required

## Request body

- object
  - `count` integer: Number of questions to generate

## Response `201`

Resource created.

- object
  - `estimated_credits` integer
  - `questions` object[]
    - `category` string
    - `created_at` string
    - `is_active` boolean
    - `priority` string
    - `question` string
    - `uuid` string

## Other responses

- `401`: Missing, invalid, or revoked API key.
- `403`: Authenticated but lacks permission (e.g. botsee_disabled).
- `404`: The requested resource does not exist or is not accessible.
- `422`: Request body or parameters failed validation.
- `429`: Too many requests. Wait and retry per Retry-After header.

---

[API](https://skmtc.dev/botsee/apis/botsee-api.md) · [All operations](https://skmtc.dev/botsee/apis/botsee-api/llms.txt) · [OpenAPI document](https://skmtc.dev/botsee/apis/botsee-api/revisions/f815b844e73b?raw)
