Replica Personas
Patch Persona
This endpoint updates a persona using a JSON Patch payload (RFC 6902). You can modify any field within the persona using supported operations like add
, remove
, replace
, copy
, move
, and test
.
For example:
Ensure the path
match the current persona schema.
[
{ "op": "replace", "path": "/persona_name", "value": "Wellness Advisor" },
{ "op": "replace", "path": "/default_replica_id", "value": "r79e1c033f" },
{ "op": "replace", "path": "/context", "value": "Here are a few times that you have helped an individual make a breakthrough in..." },
{ "op": "replace", "path": "/layers/llm/model", "value": "tavus-gpt-4o" },
{ "op": "replace", "path": "/layers/tts/tts_engine", "value": "cartesia" },
{ "op": "add", "path": "/layers/tts/tts_emotion_control", "value": "true" },
{ "op": "remove", "path": "/layers/stt/hotwords" },
{ "op": "replace", "path": "/layers/perception/perception_tool_prompt", "value": "Use tools when identity documents are clearly shown." }
]
PATCH
Authorizations
Path Parameters
Body
application/json · object[]
The body is of type object[]
.
Response
200
OK