Skip to content

Update a user-owned persona.

PATCH
/api/advisor/personas/{id}
curl --request PATCH \
--url https://api.tradr.cloud/api/advisor/personas/example \
--header 'Content-Type: application/json' \
--data '{ "description": "example", "name": "example", "systemPrompt": "example" }'

Any subset of { name, description, systemPrompt }. Rejected with 403 for built-in personas. 404 if not owned.

id
required
string
Media typeapplication/json
object
description
string
<= 500 characters
name
string
>= 1 characters <= 80 characters
systemPrompt
string
>= 1 characters <= 5000 characters
Examplegenerated
{
"description": "example",
"name": "example",
"systemPrompt": "example"
}

The updated persona.

Built-in personas cannot be edited.

Persona not found (or not owned).