GET
/
v2
/
personas
curl --request GET \
  --url https://tavusapi.com/v2/personas \
  --header 'x-api-key: <api-key>'
{
  "data": [
    {
      "persona_id": "p5317866",
      "persona_name": "Life Coach",
      "system_prompt": "As a Life Coach, you are a dedicated professional who specializes in...",
      "default_replica_id": "r79e1c033f",
      "context": "Here are a few times that you have helped an individual make a breakthrough in...",
      "layers": {
        "llm": {
          "model": "<string>",
          "base_url": "your-base-url",
          "api_key": "your-api-key",
          "tools": [
            {
              "type": "function",
              "function": {
                "name": "get_current_weather",
                "description": "Get the current weather in a given location",
                "parameters": {
                  "type": "object",
                  "properties": {
                    "location": {
                      "type": "string",
                      "description": "The city and state, e.g. San Francisco, CA"
                    },
                    "unit": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    }
                  },
                  "required": [
                    "location"
                  ]
                }
              }
            }
          ]
        },
        "tts": {
          "api_key": "your-api-key",
          "tts_engine": "cartesia",
          "external_voice_id": "external-voice-id",
          "voice_settings": {
            "speed": "normal",
            "emotion": [
              "positivity:high",
              "curiosity"
            ]
          },
          "playht_user_id": "your-playht-user-id",
          "tts_emotion_control": "false",
          "tts_model_name": "sonic"
        },
        "vqa": {
          "enable_vision": "false"
        },
        "stt": {
          "stt_engine": "tavus-turbo",
          "participant_pause_sensitivity": "low",
          "participant_interrupt_sensitivity": "low",
          "hotwords": "This is a hotword example",
          "smart_turn_detection": true
        }
      },
      "created_at": "",
      "updated_at": "<string>"
    }
  ],
  "total_count": 123
}

Authorizations

x-api-key
string
header
required

Query Parameters

limit
integer

The number of personas to return per page. Default is 10.

page
integer

The page number to return. Default is 1.

persona_type
enum<string>

Filter the personas by type. Possible values: user, system. System personas are personas that have been created by Tavus.

Available options:
user,
system

Response

200 - application/json
data
object[]
total_count
integer

The total number of personas given the filters provided.