Skip to main content
POST
Create a persona

Authorizations

x-api-key
string
header
required

Body

application/json

Create a persona.

name
string
required
Required string length: 1 - 255
body
string
required
Minimum string length: 1
description
string | null
is_active
boolean
default:true
traits
Traits · object
behavior_config
PersonaBehaviorConfig · object

Advanced simulation knobs attached to a persona. Stored as JSONB on personas.behavior_config; per-run overrides will reuse this shape on SimulationRun (ENG-474).

Response

Successful Response

id
string<uuid>
required
organization_id
string<uuid>
required
name
string
required
description
string | null
required
is_active
boolean
required
body
string
required
traits
Traits · object
required
behavior_config
PersonaBehaviorConfig · object
required

Advanced simulation knobs attached to a persona. Stored as JSONB on personas.behavior_config; per-run overrides will reuse this shape on SimulationRun (ENG-474).

created_by
string | null
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
cloned_from_id
string<uuid> | null