Replica Personas
Patch Persona
This updates the persona with the provided JSON patch. The patch should follow the JSON Patch format (RFC 6902) which allows for operations like add, remove, replace, copy, move, and test.
For example, to update the LLM layer of the persona, you can use the following JSON patch body:
[
{"op": "add", "path": "/layers/llm/model", "value": "your-model"},
{"op": "add", "path": "/layers/llm/base_url", "value": "https://api.tavus.ai"},
{"op": "add", "path": "/layers/llm/api_key", "value": "api_key_123"}
]
PATCH
Authorizations
Path Parameters
Body
application/json · object[]
The body is of type object[]
.
Response
200
OK