---
title: "Generate User Profiles"
method: POST
path: "/api/domains/{domain_id}/personas/generate"
tags: ["personas"]
---

# Generate User Profiles

`POST /api/domains/{domain_id}/personas/generate`

## Request

- Base URL: `https://api-v1.unusual.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api-v1.unusual.ai/api/domains/{domain_id}/personas/generate`
- Auth: OAuth 2
  - Password
  - Token URL: `/auth/login`

Generate candidate user profiles via LLM.

Returns candidates in the response body without persisting them;
the frontend lets the user pick which ones to save via POST /bulk.

## Path parameters

- `domain_id` string, required

## Headers

- `x-view-as` string, nullable

## Response `200`

Successful Response

- BackendDashboardServerRoutesUserProfilesGenerateResponse
  - `candidates` GeneratedProfileCandidate[], required
    - `name` string, required
    - `description` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/unusual/apis/dashboard-server.md) - [All operations](https://skmtc.dev/unusual/apis/dashboard-server/llms.txt) - [OpenAPI document](https://skmtc.dev/unusual/apis/dashboard-server/revisions/89f716930ead?raw)
