Skip to main content
PATCH
Update a sage (soft update)

Authorizations

Authorization
string
header
required

User JWT token passed in Authorization header

Headers

X-Permission-Info
string

Required JWT permission: admin_sage (informational only -- enforced server-side)

Path Parameters

sage_id
string<uuid>
required

UUID of the sage

Body

application/json
name
string | null
greeting
string | null
reminders
string | null
opening
string | null
closing
string | null
end_condition
string | null
directions
string | null
guidance
string | null
scope_id
string<uuid> | null
role_level
enum<string>

Experience level:

  • entry -- entry-level / intern
  • junior -- 0-2 years
  • mid -- 2-5 years
  • senior -- 5-10 years
  • principal -- 10+ years / staff
  • other -- fallback
Available options:
entry,
junior,
mid,
senior,
principal,
other
meta_data
object | null

Response

Sage updated

Sage record (from SageModel.to_dict())

id
string<uuid>
name
string
active
boolean
version
integer
greeting
string | null
reminders
string | null
opening
string | null
closing
string | null
end_condition
string | null
directions
string | null
guidance
string | null
scope_id
string<uuid>
meta_data
object | null
status_id
string<uuid>
description
string | null
avatar
string | null
chat_avatar
string | null
duration_list
integer[] | null
is_demo
boolean
is_internal
boolean
audio
boolean
language_code
string | null
followup_days
integer | null
customizable
boolean
is_mentor
boolean
slug
string | null
language
boolean
tagline
string | null
default_tone
string | null
default_role
string | null
default_short_role
string | null
role_level
string