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_id | LLM モデルによる性格と指示 |
| 耳 | transcriber | 音声 → テキスト |
| 声 | tts | テキスト → 音声 |
| 振る舞い | 挨拶、タイムアウト、フレーズ | 通話フロー |
1 回作成、何度でも利用
1 つのエージェントで以下が可能:
POST /v1/calls/web による Web 通話 — Web 通話
- Web SDK によるブラウザ音声
- アウトバウンドおよびインバウンド電話通話
- エージェントを複製せず通話ごとの
variables
任意: webhook_id、interruption_sensitivity、enable_recording。
主要フィールド
transcriber
| フィールド | 例 |
|---|
provider | デフォルト STT |
model | デフォルト STT |
language | en |
tts
| フィールド | 例 |
|---|
provider | デフォルトボイス |
voice_id | デフォルトボイス |
speed | 1.0 |
stability | 0.5 |
振る舞い
| フィールド | 用途 |
|---|
first_message | 最初の挨拶 |
end_call_phrases | ユーザーが言うと切断 |
silence_timeout_seconds | 無音で終了 |
max_duration_seconds | 時間上限 |
interruption_sensitivity | 0.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." }'
次のステップ