---
title: "Create Agent Profile Voice Preview"
method: POST
path: "/v1/interview-agents/{agent_id}/voice-preview"
tags: ["interview-agents"]
---

# Create Agent Profile Voice Preview

`POST /v1/interview-agents/{agent_id}/voice-preview`

## Path parameters

- `agent_id` string, uuid, required

## Request body

- AgentProfileVoicePreviewRequest
  - `draft` AgentProfilePatch
    - `name` string, nullable
    - `description` string, nullable
    - `avatar_type` string, nullable
    - `avatar_emoji` string, nullable
    - `voice_provider` string, nullable
    - `voice_id` string, nullable
    - `voice_language` string, nullable
    - `base_prompt` string, nullable
    - `instructions` string, nullable
    - `communication_guidelines` string, nullable
    - `culture_guidelines` string, nullable
    - `positive_examples` AgentExampleIn[], nullable
      - `label` string
      - `situation` string
      - `agent_response` string
      - `rationale` string
    - `negative_examples` AgentExampleIn[], nullable
      - `label` string
      - `situation` string
      - `agent_response` string
      - `rationale` string
    - `default_language` string, nullable
    - `status` string, nullable
    - `folder` string, nullable
    - `skill_ids` string[], nullable

## Response `201`

Successful Response

- AgentProfileVoicePreviewResponse
  - `session_id` string, uuid, required
  - `token` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/ontora/apis/ontora-api.md) · [All operations](https://skmtc.dev/ontora/apis/ontora-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ontora/ontora-api/revisions/7f57037fd94b/schema)
