Skip to main content
PATCH
Update Persona
Required permission: Basic access (basic) — any signed-in user or service account. The real check is per-agent: you must own the agent, or have been shared it as an editor.

Authorizations

Authorization
string
header
required

Authorization header with Bearer token

Path Parameters

persona_id
integer
required

Body

application/json
name
string
required
description
string
required
document_set_ids
integer[]
required
tool_ids
integer[]
required
system_prompt
string
required
task_prompt
string
required
datetime_aware
boolean
required
is_public
boolean | null
default_model_configuration_id
integer | null
starter_messages
StarterMessage · object[] | null
users
string<uuid>[] | null
groups
integer[] | null
remove_image
boolean | null
uploaded_image_id
string | null
icon_name
string | null
search_start_date
string<date-time> | null
label_ids
integer[] | null
display_priority
integer | null
user_file_ids
string[] | null
hierarchy_node_ids
integer[] | null
document_ids
string[] | null
replace_base_system_prompt
boolean
default:false

Response

Successful Response

id
integer
required
name
string
required
description
string
required
is_public
boolean
required
is_listed
boolean
required
uploaded_image_id
string | null
required
icon_name
string | null
required
user_file_ids
string[]
required
display_priority
integer | null
required
builtin_persona
boolean
required
starter_messages
StarterMessage · object[] | null
required
tools
ToolSnapshot · object[]
required
labels
PersonaLabelSnapshot · object[]
required
owner
MinimalUserSnapshot · object | null
required
owner_group
PersonaOwnerGroupSnapshot · object | null
required
users
MinimalUserSnapshot · object[]
required
groups
integer[]
required
user_shares
PersonaUserShare · object[]
required
group_shares
PersonaGroupShare · object[]
required
public_permission
enum<string>
required

Level granted by a persona share row (user or group), or to the whole org via Persona.public_permission.

Available options:
EDITOR,
VIEWER
sharing_status
enum<string>
required

Derived share state computed from a persona's columns by the sharing helpers (no DB column of its own): group-owned or row-shared counts as SHARED even with an empty share list; PUBLIC wins over both.

Available options:
PRIVATE,
SHARED,
PUBLIC
document_sets
DocumentSetSummary · object[]
required
default_model_configuration_id
integer | null
hierarchy_nodes
HierarchyNodeSnapshot · object[]
attached_documents
AttachedDocumentSnapshot · object[]
permissions
Permissions · object
system_prompt
string | null
replace_base_system_prompt
boolean
default:false
task_prompt
string | null
datetime_aware
boolean
default:true