Services
Bind agents and context graphs into deployable services, manage version sets, and configure voice behavior for conversations across supported channels.
Key Concepts
Endpoints
Create a Service
Create a new service linking an agent and HSM. Validates that agent_id and context_graph_id exist in the workspace. Requires Service.create permission.
API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
""true3voicePossible values: productionPossible values: Successful Response
voicePossible values: productionPossible values: falseMissing or invalid API key.
Insufficient permissions.
Not found.
Name already taken.
Invalid request body.
POST /v1/{workspace_id}/services HTTP/1.1
Host: api.platform.amigo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 2260
{
"name": "text",
"description": "",
"agent_id": "123e4567-e89b-12d3-a456-426614174000",
"context_graph_id": "123e4567-e89b-12d3-a456-426614174000",
"keyterms": [
"text"
],
"is_active": true,
"version_sets": {
"ANY_ADDITIONAL_PROPERTY": {
"agent_version_number": 1,
"context_graph_version_number": 1,
"llm_model_preferences": {
"ANY_ADDITIONAL_PROPERTY": {
"llm_name": "text",
"params": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"experience_controls": {
"verbosity": "low",
"reasoning_effort": "none",
"temperature": 1,
"top_p": 1,
"presence_penalty": 1,
"frequency_penalty": 1,
"response_format": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"seed": 1,
"stop": "text",
"logit_bias": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"logprobs": true,
"top_logprobs": 1,
"parallel_tool_calls": true,
"service_tier": "text",
"prompt_cache_key": "text",
"prompt_cache_retention": "in-memory",
"safety_identifier": "text",
"store": true,
"metadata": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
}
}
}
},
"tags": [
{
"key": "text",
"value": "text"
}
],
"tool_capacity": 3,
"channel_type": "voice",
"environment": "production",
"voice_config": {
"tts_model": "sonic-turbo",
"max_buffer_delay_ms": 1,
"eager_eot_threshold": 1,
"eot_timeout_ms": 1,
"filler_style": "backchannel",
"filler_vocabulary": [
"text"
],
"backchannel_delay_ms": 400,
"max_response_sentences": 1,
"max_response_words": 1,
"barge_in_min_speech_s": 1,
"barge_in_cooldown_s": 1,
"min_tts_speed": 1,
"post_eot_pause_ms": 1,
"transition_deadline_ms": 1,
"progress_interval_ms": 1,
"empathy_hold_ms": 1,
"filler_cooldown_ms": 1,
"progress_vocabulary": [
"text"
],
"tts_provider": "cartesia",
"tts_config": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"language_providers": {
"ANY_ADDITIONAL_PROPERTY": {
"provider": "cartesia",
"config": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
},
"session_provider": "amigo",
"realtime": {
"model": "gpt-realtime-1.5",
"voice": "alloy",
"speed": 1,
"noise_reduction": "near_field",
"transcription": {
"model": "gpt-4o-transcribe",
"language": "text",
"prompt": "text"
},
"turn_detection": {
"type": "server_vad",
"threshold": 1,
"prefix_padding_ms": 1,
"silence_duration_ms": 1,
"idle_timeout_ms": 1
},
"reasoning_effort": "low",
"max_output_tokens": 1,
"truncation": {
"type": "auto",
"retention_ratio": 1,
"post_instructions_tokens": 1
},
"required_tool_on_first_caller_turn": "text"
},
"forward_call_enabled": false,
"forwarding": {
"forward_to": "text",
"should_disconnect": true,
"warm_transfer": true
}
}
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"workspace_id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"agent_id": "123e4567-e89b-12d3-a456-426614174000",
"context_graph_id": "123e4567-e89b-12d3-a456-426614174000",
"agent_name": "text",
"context_graph_name": "text",
"keyterms": [
"text"
],
"is_active": true,
"version_sets": {
"ANY_ADDITIONAL_PROPERTY": {
"agent_version_number": 1,
"context_graph_version_number": 1,
"llm_model_preferences": {
"ANY_ADDITIONAL_PROPERTY": {
"llm_name": "text",
"params": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"experience_controls": {
"verbosity": "low",
"reasoning_effort": "none",
"temperature": 1,
"top_p": 1,
"presence_penalty": 1,
"frequency_penalty": 1,
"response_format": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"seed": 1,
"stop": "text",
"logit_bias": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"logprobs": true,
"top_logprobs": 1,
"parallel_tool_calls": true,
"service_tier": "text",
"prompt_cache_key": "text",
"prompt_cache_retention": "in-memory",
"safety_identifier": "text",
"store": true,
"metadata": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
}
}
}
},
"tags": [
{
"key": "text",
"value": "text"
}
],
"tool_capacity": 1,
"channel_type": "voice",
"environment": "production",
"voice_config": {
"tts_model": "sonic-turbo",
"max_buffer_delay_ms": 1,
"eager_eot_threshold": 1,
"eot_timeout_ms": 1,
"filler_style": "backchannel",
"filler_vocabulary": [
"text"
],
"backchannel_delay_ms": 400,
"max_response_sentences": 1,
"max_response_words": 1,
"barge_in_min_speech_s": 1,
"barge_in_cooldown_s": 1,
"min_tts_speed": 1,
"post_eot_pause_ms": 1,
"transition_deadline_ms": 1,
"progress_interval_ms": 1,
"empathy_hold_ms": 1,
"filler_cooldown_ms": 1,
"progress_vocabulary": [
"text"
],
"tts_provider": "cartesia",
"tts_config": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"language_providers": {
"ANY_ADDITIONAL_PROPERTY": {
"provider": "cartesia",
"config": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
},
"session_provider": "amigo",
"realtime": {
"model": "gpt-realtime-1.5",
"voice": "alloy",
"speed": 1,
"noise_reduction": "near_field",
"transcription": {
"model": "gpt-4o-transcribe",
"language": "text",
"prompt": "text"
},
"turn_detection": {
"type": "server_vad",
"threshold": 1,
"prefix_padding_ms": 1,
"silence_duration_ms": 1,
"idle_timeout_ms": 1
},
"reasoning_effort": "low",
"max_output_tokens": 1,
"truncation": {
"type": "auto",
"retention_ratio": 1,
"post_instructions_tokens": 1
},
"required_tool_on_first_caller_turn": "text"
},
"forward_call_enabled": false,
"forwarding": {
"forward_to": "text",
"should_disconnect": true,
"warm_transfer": true
}
},
"is_system": false,
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z"
}List Services
List services in a workspace with pagination. Requires Service.view permission.
API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
[]50Successful Response
Missing or invalid API key.
Insufficient permissions.
Not found.
Validation Error
GET /v1/{workspace_id}/services HTTP/1.1
Host: api.platform.amigo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"items": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"workspace_id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"agent_id": "123e4567-e89b-12d3-a456-426614174000",
"context_graph_id": "123e4567-e89b-12d3-a456-426614174000",
"agent_name": "text",
"context_graph_name": "text",
"keyterms": [
"text"
],
"is_active": true,
"version_sets": {
"ANY_ADDITIONAL_PROPERTY": {
"agent_version_number": 1,
"context_graph_version_number": 1,
"llm_model_preferences": {
"ANY_ADDITIONAL_PROPERTY": {
"llm_name": "text",
"params": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"experience_controls": {
"verbosity": "low",
"reasoning_effort": "none",
"temperature": 1,
"top_p": 1,
"presence_penalty": 1,
"frequency_penalty": 1,
"response_format": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"seed": 1,
"stop": "text",
"logit_bias": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"logprobs": true,
"top_logprobs": 1,
"parallel_tool_calls": true,
"service_tier": "text",
"prompt_cache_key": "text",
"prompt_cache_retention": "in-memory",
"safety_identifier": "text",
"store": true,
"metadata": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
}
}
}
},
"tags": [
{
"key": "text",
"value": "text"
}
],
"tool_capacity": 1,
"channel_type": "voice",
"environment": "production",
"voice_config": {
"tts_model": "sonic-turbo",
"max_buffer_delay_ms": 1,
"eager_eot_threshold": 1,
"eot_timeout_ms": 1,
"filler_style": "backchannel",
"filler_vocabulary": [
"text"
],
"backchannel_delay_ms": 400,
"max_response_sentences": 1,
"max_response_words": 1,
"barge_in_min_speech_s": 1,
"barge_in_cooldown_s": 1,
"min_tts_speed": 1,
"post_eot_pause_ms": 1,
"transition_deadline_ms": 1,
"progress_interval_ms": 1,
"empathy_hold_ms": 1,
"filler_cooldown_ms": 1,
"progress_vocabulary": [
"text"
],
"tts_provider": "cartesia",
"tts_config": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"language_providers": {
"ANY_ADDITIONAL_PROPERTY": {
"provider": "cartesia",
"config": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
},
"session_provider": "amigo",
"realtime": {
"model": "gpt-realtime-1.5",
"voice": "alloy",
"speed": 1,
"noise_reduction": "near_field",
"transcription": {
"model": "gpt-4o-transcribe",
"language": "text",
"prompt": "text"
},
"turn_detection": {
"type": "server_vad",
"threshold": 1,
"prefix_padding_ms": 1,
"silence_duration_ms": 1,
"idle_timeout_ms": 1
},
"reasoning_effort": "low",
"max_output_tokens": 1,
"truncation": {
"type": "auto",
"retention_ratio": 1,
"post_instructions_tokens": 1
},
"required_tool_on_first_caller_turn": "text"
},
"forward_call_enabled": false,
"forwarding": {
"forward_to": "text",
"should_disconnect": true,
"warm_transfer": true
}
},
"is_system": false,
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z"
}
],
"has_more": true,
"continuation_token": null
}Get a Service
Retrieve a service by ID. Requires Service.view permission.
API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
Successful Response
voicePossible values: productionPossible values: falseMissing or invalid API key.
Insufficient permissions.
Not found.
Validation Error
GET /v1/{workspace_id}/services/{service_id} HTTP/1.1
Host: api.platform.amigo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"workspace_id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"agent_id": "123e4567-e89b-12d3-a456-426614174000",
"context_graph_id": "123e4567-e89b-12d3-a456-426614174000",
"agent_name": "text",
"context_graph_name": "text",
"keyterms": [
"text"
],
"is_active": true,
"version_sets": {
"ANY_ADDITIONAL_PROPERTY": {
"agent_version_number": 1,
"context_graph_version_number": 1,
"llm_model_preferences": {
"ANY_ADDITIONAL_PROPERTY": {
"llm_name": "text",
"params": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"experience_controls": {
"verbosity": "low",
"reasoning_effort": "none",
"temperature": 1,
"top_p": 1,
"presence_penalty": 1,
"frequency_penalty": 1,
"response_format": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"seed": 1,
"stop": "text",
"logit_bias": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"logprobs": true,
"top_logprobs": 1,
"parallel_tool_calls": true,
"service_tier": "text",
"prompt_cache_key": "text",
"prompt_cache_retention": "in-memory",
"safety_identifier": "text",
"store": true,
"metadata": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
}
}
}
},
"tags": [
{
"key": "text",
"value": "text"
}
],
"tool_capacity": 1,
"channel_type": "voice",
"environment": "production",
"voice_config": {
"tts_model": "sonic-turbo",
"max_buffer_delay_ms": 1,
"eager_eot_threshold": 1,
"eot_timeout_ms": 1,
"filler_style": "backchannel",
"filler_vocabulary": [
"text"
],
"backchannel_delay_ms": 400,
"max_response_sentences": 1,
"max_response_words": 1,
"barge_in_min_speech_s": 1,
"barge_in_cooldown_s": 1,
"min_tts_speed": 1,
"post_eot_pause_ms": 1,
"transition_deadline_ms": 1,
"progress_interval_ms": 1,
"empathy_hold_ms": 1,
"filler_cooldown_ms": 1,
"progress_vocabulary": [
"text"
],
"tts_provider": "cartesia",
"tts_config": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"language_providers": {
"ANY_ADDITIONAL_PROPERTY": {
"provider": "cartesia",
"config": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
},
"session_provider": "amigo",
"realtime": {
"model": "gpt-realtime-1.5",
"voice": "alloy",
"speed": 1,
"noise_reduction": "near_field",
"transcription": {
"model": "gpt-4o-transcribe",
"language": "text",
"prompt": "text"
},
"turn_detection": {
"type": "server_vad",
"threshold": 1,
"prefix_padding_ms": 1,
"silence_duration_ms": 1,
"idle_timeout_ms": 1
},
"reasoning_effort": "low",
"max_output_tokens": 1,
"truncation": {
"type": "auto",
"retention_ratio": 1,
"post_instructions_tokens": 1
},
"required_tool_on_first_caller_turn": "text"
},
"forward_call_enabled": false,
"forwarding": {
"forward_to": "text",
"should_disconnect": true,
"warm_transfer": true
}
},
"is_system": false,
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z"
}Update a Service
Update a service's configuration. Requires Service.update permission.
API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
Successful Response
voicePossible values: productionPossible values: falseMissing or invalid API key.
Insufficient permissions.
Not found.
Name already taken.
Invalid request body.
PUT /v1/{workspace_id}/services/{service_id} HTTP/1.1
Host: api.platform.amigo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 2261
{
"name": "text",
"description": "text",
"agent_id": "123e4567-e89b-12d3-a456-426614174000",
"context_graph_id": "123e4567-e89b-12d3-a456-426614174000",
"keyterms": [
"text"
],
"is_active": true,
"version_sets": {
"ANY_ADDITIONAL_PROPERTY": {
"agent_version_number": 1,
"context_graph_version_number": 1,
"llm_model_preferences": {
"ANY_ADDITIONAL_PROPERTY": {
"llm_name": "text",
"params": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"experience_controls": {
"verbosity": "low",
"reasoning_effort": "none",
"temperature": 1,
"top_p": 1,
"presence_penalty": 1,
"frequency_penalty": 1,
"response_format": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"seed": 1,
"stop": "text",
"logit_bias": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"logprobs": true,
"top_logprobs": 1,
"parallel_tool_calls": true,
"service_tier": "text",
"prompt_cache_key": "text",
"prompt_cache_retention": "in-memory",
"safety_identifier": "text",
"store": true,
"metadata": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
}
}
}
},
"tags": [
{
"key": "text",
"value": "text"
}
],
"tool_capacity": 1,
"channel_type": "voice",
"environment": "sandbox",
"voice_config": {
"tts_model": "sonic-turbo",
"max_buffer_delay_ms": 1,
"eager_eot_threshold": 1,
"eot_timeout_ms": 1,
"filler_style": "backchannel",
"filler_vocabulary": [
"text"
],
"backchannel_delay_ms": 400,
"max_response_sentences": 1,
"max_response_words": 1,
"barge_in_min_speech_s": 1,
"barge_in_cooldown_s": 1,
"min_tts_speed": 1,
"post_eot_pause_ms": 1,
"transition_deadline_ms": 1,
"progress_interval_ms": 1,
"empathy_hold_ms": 1,
"filler_cooldown_ms": 1,
"progress_vocabulary": [
"text"
],
"tts_provider": "cartesia",
"tts_config": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"language_providers": {
"ANY_ADDITIONAL_PROPERTY": {
"provider": "cartesia",
"config": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
},
"session_provider": "amigo",
"realtime": {
"model": "gpt-realtime-1.5",
"voice": "alloy",
"speed": 1,
"noise_reduction": "near_field",
"transcription": {
"model": "gpt-4o-transcribe",
"language": "text",
"prompt": "text"
},
"turn_detection": {
"type": "server_vad",
"threshold": 1,
"prefix_padding_ms": 1,
"silence_duration_ms": 1,
"idle_timeout_ms": 1
},
"reasoning_effort": "low",
"max_output_tokens": 1,
"truncation": {
"type": "auto",
"retention_ratio": 1,
"post_instructions_tokens": 1
},
"required_tool_on_first_caller_turn": "text"
},
"forward_call_enabled": false,
"forwarding": {
"forward_to": "text",
"should_disconnect": true,
"warm_transfer": true
}
}
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"workspace_id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"agent_id": "123e4567-e89b-12d3-a456-426614174000",
"context_graph_id": "123e4567-e89b-12d3-a456-426614174000",
"agent_name": "text",
"context_graph_name": "text",
"keyterms": [
"text"
],
"is_active": true,
"version_sets": {
"ANY_ADDITIONAL_PROPERTY": {
"agent_version_number": 1,
"context_graph_version_number": 1,
"llm_model_preferences": {
"ANY_ADDITIONAL_PROPERTY": {
"llm_name": "text",
"params": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"experience_controls": {
"verbosity": "low",
"reasoning_effort": "none",
"temperature": 1,
"top_p": 1,
"presence_penalty": 1,
"frequency_penalty": 1,
"response_format": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"seed": 1,
"stop": "text",
"logit_bias": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"logprobs": true,
"top_logprobs": 1,
"parallel_tool_calls": true,
"service_tier": "text",
"prompt_cache_key": "text",
"prompt_cache_retention": "in-memory",
"safety_identifier": "text",
"store": true,
"metadata": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
}
}
}
},
"tags": [
{
"key": "text",
"value": "text"
}
],
"tool_capacity": 1,
"channel_type": "voice",
"environment": "production",
"voice_config": {
"tts_model": "sonic-turbo",
"max_buffer_delay_ms": 1,
"eager_eot_threshold": 1,
"eot_timeout_ms": 1,
"filler_style": "backchannel",
"filler_vocabulary": [
"text"
],
"backchannel_delay_ms": 400,
"max_response_sentences": 1,
"max_response_words": 1,
"barge_in_min_speech_s": 1,
"barge_in_cooldown_s": 1,
"min_tts_speed": 1,
"post_eot_pause_ms": 1,
"transition_deadline_ms": 1,
"progress_interval_ms": 1,
"empathy_hold_ms": 1,
"filler_cooldown_ms": 1,
"progress_vocabulary": [
"text"
],
"tts_provider": "cartesia",
"tts_config": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"language_providers": {
"ANY_ADDITIONAL_PROPERTY": {
"provider": "cartesia",
"config": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
},
"session_provider": "amigo",
"realtime": {
"model": "gpt-realtime-1.5",
"voice": "alloy",
"speed": 1,
"noise_reduction": "near_field",
"transcription": {
"model": "gpt-4o-transcribe",
"language": "text",
"prompt": "text"
},
"turn_detection": {
"type": "server_vad",
"threshold": 1,
"prefix_padding_ms": 1,
"silence_duration_ms": 1,
"idle_timeout_ms": 1
},
"reasoning_effort": "low",
"max_output_tokens": 1,
"truncation": {
"type": "auto",
"retention_ratio": 1,
"post_instructions_tokens": 1
},
"required_tool_on_first_caller_turn": "text"
},
"forward_call_enabled": false,
"forwarding": {
"forward_to": "text",
"should_disconnect": true,
"warm_transfer": true
}
},
"is_system": false,
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z"
}Delete a Service
Delete a service. Requires Service.delete permission.
API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
Successful Response
No content
Missing or invalid API key.
Insufficient permissions.
Not found.
Validation Error
DELETE /v1/{workspace_id}/services/{service_id} HTTP/1.1
Host: api.platform.amigo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Upsert a Version Set
Replace or create a named version set on a service. Pinned agent/HSM versions are validated.
API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
Version set name (e.g. 'release')
Successful Response
No content
Missing or invalid API key.
Insufficient permissions.
Not found.
Name already taken.
Invalid request body.
PUT /v1/{workspace_id}/services/{service_id}/version-sets/{name} HTTP/1.1
Host: api.platform.amigo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 686
{
"version_set": {
"agent_version_number": 1,
"context_graph_version_number": 1,
"llm_model_preferences": {
"ANY_ADDITIONAL_PROPERTY": {
"llm_name": "text",
"params": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"experience_controls": {
"verbosity": "low",
"reasoning_effort": "none",
"temperature": 1,
"top_p": 1,
"presence_penalty": 1,
"frequency_penalty": 1,
"response_format": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"seed": 1,
"stop": "text",
"logit_bias": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"logprobs": true,
"top_logprobs": 1,
"parallel_tool_calls": true,
"service_tier": "text",
"prompt_cache_key": "text",
"prompt_cache_retention": "in-memory",
"safety_identifier": "text",
"store": true,
"metadata": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
}
}
}
}No content
Process a Voice-Note Turn
Run one WhatsApp-style voice-note turn against the service's agent.
Accepts OGG Opus audio (or any format Deepgram's prerecorded endpoint
accepts). Server keys the conversation on (workspace, service, phone_number) and returns the agent's spoken reply as OGG Opus — or WAV
PCM16 when the Accept header prefers audio/wav.
API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
^\+[1-9]\d{1,14}$Agent spoken reply — OGG Opus by default, WAV PCM16 (16 kHz mono) when the request's Accept header prefers audio/wav
Agent elected silence
Concurrent voice turn in progress for this speaker
Validation Error
POST /v1/{workspace_id}/services/{service_id}/voice-turn HTTP/1.1
Host: api.platform.amigo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: multipart/form-data
Accept: */*
Content-Length: 38
{
"audio": "text",
"phone_number": "text"
}No content
Process a Text Turn
Run one WhatsApp-style text turn against the service's agent.
API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
Request body for POST /v1/{ws}/services/{service_id}/text-turn.
^\+[1-9]\d{1,14}$^\+[1-9]\d{1,14}$Agent text reply
Response body — the agent's text reply.
Returned only on 200; 204 indicates the engine elected silence.
Agent elected silence
Concurrent text turn in progress for this speaker
Validation Error
POST /v1/{workspace_id}/services/{service_id}/text-turn HTTP/1.1
Host: api.platform.amigo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 58
{
"phone_number": "text",
"agent_phone": "text",
"text": "text"
}{
"text": "text"
}Version Sets
Model preference resolution order
Structured Actions
Voice Configuration
Session Provider
Fields
Presets
Example
CLI
API
Turn-Level Emotion
Last updated
Was this helpful?

