Moonborn — API · personas
Parse a brief into a structured intent without generating a persona
POST/v1/personas/parsescope · Bearer (API key or session JWT)
Request body
| Field | Type | Description |
|---|---|---|
| briefreq | string |
Responses
200Parsed intent
422Validation error
Body
| Field | Type | Description |
|---|---|---|
| errorreq | object | |
| error.codereq | string | |
| error.messagereq | string |
Examples
cURL
curl -X POST https://api.moonborn.co/v1/personas/parse \
-H "Authorization: Bearer $MOONBORN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"brief": "<string>"
}'TypeScript
import Moonborn from '@moonborn/sdk';
const client = new Moonborn({ apiKey: process.env.MOONBORN_API_KEY });
const result = await client.personas.parsePersonaIntent({
brief: "<string>",
});Python
import os
from moonborn import Moonborn
client = Moonborn(api_key=os.environ["MOONBORN_API_KEY"])
result = client.personas.parse_persona_intent(
brief="<string>",
)