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.
What is an agent?
An agent is your voice AI caller — STT, LLM, TTS, and conversation rules in one resource.
| Part | Field | Role |
|---|
| Brain | llm_id | Personality and instructions via LLM model |
| Ears | transcriber | Speech → text |
| Voice | tts | Text → speech |
| Behavior | Greeting, timeouts, phrases | Call flow |
Create once, use many times
One agent supports:
- Web calls via
POST /v1/calls/web — Web calls
- Browser voice via the Web SDK
- Outbound and inbound phone calls
- Per-call
variables without cloning agents
Optional: webhook_id, interruption_sensitivity, enable_recording.
Key fields
transcriber
| Field | Example |
|---|
provider | Default STT |
model | Default STT |
language | en |
tts
| Field | Example |
|---|
provider | Default voice |
voice_id | Default voice |
speed | 1.0 |
stability | 0.5 |
Behavior
| Field | Purpose |
|---|
first_message | Opening line |
end_call_phrases | User triggers hang-up |
silence_timeout_seconds | End on silence |
max_duration_seconds | Hard time limit |
interruption_sensitivity | 0.0–1.0 |
enable_recording | Record call audio |
Full example
→ Quickstart step 3 · Create agent
Update an agent
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." }'
Next steps