v3
ai-agents

Prepare in-app phone conversation test session

Returns a short-lived ElevenLabs signed websocket URL and runtime conversation overrides derived from the latest UI settings.

post/v3/ai-agents/{agent_id}/conversation-test-session

Request

  • Base URL
    https://api.mentium.io (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

agent_idstring uuid required

Headers

mentium-workspace-idstring nullable

Request body

modelstring nullable

LLM model override

system_prompt_templatestring nullable

System prompt override

include_conversation_idboolean

Whether ElevenLabs should include a conversation_id in the signed URL

environment'production' | 'staging' nullable

Optional ElevenLabs environment override

Response

Successful Response

signed_urlstring required

Temporary signed websocket URL

provider'elevenlabs' | 'gemini' | 'openai'

Voice provider used for this test session

transport'elevenlabs_signed_url' | 'mentium_browser_ws'

Browser transport to use for this test session

conversation_config_overrideobject nullable

Conversation override payload to send on websocket initiation

Changes

No recorded changes to this operation across all 2 revisions of this API.