PATCH
/
v2
/
personas
/
{persona_id}
curl --request PATCH \
--url https://tavusapi.com/v2/personas/{persona_id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '[
{
"op": "add",
"path": "/context",
"value": "Here are a few times that you have helped an individual make a breakthrough in..."
}
]'
This response does not have an example.
  • Ensure the path match the current persona schema.
  • For the remove operation, the value parameter is not required.

Authorizations

x-api-key
string
header
required

Path Parameters

persona_id
string
required

The unique identifier of the persona.

Example:

"pf3073f2dcc1"

Body

application/json · object[]
op
enum<string>
required

The operation to perform. Must be one of: add, remove, replace, copy, move, test

Available options:
add,
remove,
replace,
copy,
move,
test
Example:

"add"

path
string
required

A JSON Pointer string that references a location within the target document where the operation is performed

Example:

"/layers/llm/model"

value
string
required

The value to be used within the operation. Each request must have a value field unless you're using remove operation.

Example:

"tavus-llama-4"

Response

OK