メインコンテンツへスキップ

Documentation Index

Fetch the complete documentation index at: https://docs.oneinbox.ai/llms.txt

Use this file to discover all available pages before exploring further.

エージェントとは

エージェントは音声 AI 発信者 — STT、LLM、TTS、会話ルールを 1 つのリソースにまとめたものです。
部分フィールド役割
頭脳llm_idLLM モデルによる性格と指示
transcriber音声 → テキスト
ttsテキスト → 音声
振る舞い挨拶、タイムアウト、フレーズ通話フロー

1 回作成、何度でも利用

1 つのエージェントで以下が可能:
  • POST /v1/calls/web による Web 通話 — Web 通話
  • Web SDK によるブラウザ音声
  • アウトバウンドおよびインバウンド電話通話
  • エージェントを複製せず通話ごとの variables
任意: webhook_idinterruption_sensitivityenable_recording

主要フィールド

transcriber

フィールド
providerデフォルト STT
modelデフォルト STT
languageen

tts

フィールド
providerデフォルトボイス
voice_idデフォルトボイス
speed1.0
stability0.5

振る舞い

フィールド用途
first_message最初の挨拶
end_call_phrasesユーザーが言うと切断
silence_timeout_seconds無音で終了
max_duration_seconds時間上限
interruption_sensitivity0.0–1.0
enable_recording通話音声の録音

完全な例

クイックスタート ステップ 2 · エージェント作成

エージェントの更新

curl -X PATCH https://api.oneinbox.ai/v1/agents/<agent_id> \
  -H "Authorization: Bearer <api_key>" \
  -H "Content-Type: application/json" \
  -d '{ "first_message": "Hello! Thanks for calling." }'

次のステップ