Create PAL
Creates a PAL and configures how it behaves in CVI for every conversation that uses that PAL.
default_face_id is required on POST /v2/pals (unlike the legacy POST /v2/personas path, where default_replica_id was optional).
Legacy: /v2/personas and persona_id / default_replica_id remain supported as aliases.
https://docs.tavus.io/openapi.yaml for the full HTTP API contract.Authorizations
Body
A name for the PAL.
"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 PAL. Possible values: full, echo. full will provide the default end-to-end experience. echo will turn off most steps, and allow the PAL to sync video with audio passed in through Echo events, which it will speak out.
full, echo Required. The default face associated with this PAL. When creating a conversation, a pal_id with a default_face_id can be used without specifying a separate face_id. Also required when layers.conferencing is set - see Google Meet.
"r90bbd427f71"
Array of document IDs that the PAL will have access to. These documents will be available to the PAL 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 PAL will have access to. Documents matching these tags will be available to the PAL 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 PAL. 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 PAL's conversations. Up to 50 per PAL. 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 PAL dynamically. Up to 50 tags per PAL, and a PAL can have at most 50 guardrails total.
50["compliance", "healthcare"]Legacy. The unique identifier of a guardrail set to attach to this PAL. 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, conferencing). For an overview of what each layer controls, see PAL overview - CVI layers.
Response
A unique identifier for the PAL.
"pcb7a34da5fe"
The name of the PAL.
"Life Coach"
The PAL's invitable meeting email on tavusinvite.com, derived from layers.conferencing.username. Present when conferencing is configured. See Google Meet.
"acme-anna@tavusinvite.com"
The date and time the PAL was created.

