Create Persona
Creates a persona that configures how a replica behaves and sounds in CVI for every conversation that uses that persona.
https://docs.tavus.io/openapi.yaml for the full HTTP API contract.Authorizations
Body
A name for the persona.
"Life Coach"
This is the system prompt that will be used by the llm. Each request must have a system_prompt value unless you're using echo mode.
"As a Life Coach, you are a dedicated professional who specializes in..."
The pipeline mode to use for the persona. Possible values: full, echo. full will provide the default end-to-end experience. echo will turn off most steps, and allow the replica to sync video with audio passed in through Echo events, which it will speak out.
full, echo The default replica_id associated with this persona if one exists. When creating a conversation, a persona_id with a default_replica_id associated can we used to create a conversation without specifying a replica_id.
"r90bbd427f71"
Array of document IDs that the persona will have access to. These documents will be available to the persona in all their conversations. The document_ids are returned in the response of the Get Document and the Create Document endpoints.
["d1234567890", "d2468101214"]
Array of document tags that the persona will have access to. Documents matching these tags will be available to the persona in all their conversations. The tags are passed in the document_tags parameter of the Create Document endpoint. As soon as one document has the tag, you will be able to pass the tags in this parameter..
["product_info", "company_policies"]
The unique identifier of the objectives to attach to this persona. Objectives provide goal-oriented instructions that help guide conversations toward specific outcomes. Create objectives using the Create Objectives endpoint.
"o12345"
Array of guardrail IDs enforced during this persona's conversations. Up to 50 per persona. Guardrail IDs are returned by Create Guardrails and Get Guardrails.
50["g1234567890ab", "g0987654321cd"]
Array of guardrail tags. Any guardrail you own with a matching tag is attached to this persona dynamically. Up to 50 tags per persona, and a persona can have at most 50 guardrails total.
50["compliance", "healthcare"]
Legacy. The unique identifier of a guardrail set to attach to this persona. New integrations should use guardrail_ids / guardrail_tags instead — see Legacy guardrail sets.
"g12345"
Optional nested settings for each CVI pipeline layer (perception, STT, conversational flow, LLM, TTS). For an overview of what each layer controls, see Persona overview — CVI layers.

