import os
import syllable_sdk
from syllable_sdk import SyllableSDK
with SyllableSDK(
api_key_header=os.getenv("SYLLABLESDK_API_KEY_HEADER", ""),
) as ss_client:
res = ss_client.channels.targets.list(page=0, limit=25, search_fields=[
syllable_sdk.ChannelTargetProperties.AGENT_ID,
], search_field_values=[
"Some Object Name",
], start_datetime="2023-01-01T00:00:00Z", end_datetime="2024-01-01T00:00:00Z")
# Handle response
print(res)
{
"items": [
{
"agent_id": 1,
"channel_id": 1,
"target": "+19995551234",
"target_mode": "voice",
"fallback_target": "+19995551235",
"is_test": true,
"id": 1,
"channel_name": "+19995551234",
"updated_at": "2024-01-01T00:00:00Z",
"last_updated_by": "user@email.com",
"agent": {
"name": "Weather agent",
"description": "Agent for answering questions about weather.",
"label": "Information",
"labels": [
"Information",
"Weather"
],
"type": "ca_v1",
"prompt_id": 1,
"custom_message_id": 1,
"language_group_id": 1,
"timezone": "America/New_York",
"prompt_tool_defaults": [
{
"default_values": [
{
"default_value": "fahrenheit",
"field_name": "temperature_unit"
}
],
"tool_name": "get_weather"
}
],
"languages": [
"en-US",
"es-US"
],
"variables": {
"vars.location_name": "Main Street Pizza"
},
"tool_headers": {
"Authorization": "Basic sometoken"
},
"agent_initiated": false,
"stt_provider": "Google STT V1",
"wait_sound": "No Sound",
"id": 1,
"updated_at": "2024-01-01T00:00:00Z",
"last_updated_by": "user@email.com",
"prompt": {
"name": "Weather Agent Prompt",
"description": "Prompt for a weather agent.",
"type": "prompt_v1",
"context": "You are a weather agent. Answer the user's questions about weather and nothing else.",
"tools": "hangup",
"llm_config": {
"model": "gpt-4o",
"provider": "openai",
"version": "2024-08-06"
},
"id": 1,
"edit_comments": "Updated prompt text to include requirement to not answer questions that aren't about weather.",
"last_updated": "2024-01-01T12:00:00Z",
"last_updated_by": "user@email.com",
"agent_count": 5,
"tools_full": [
{
"name": "Weather Fetcher",
"definition": {
"endpoint": {
"argument_location": "query",
"method": "get",
"url": "https://api.open-meteo.com/v1/forecast"
},
"tool": {
"function": {
"description": "Get the weather for a city",
"name": "get_weather",
"parameters": {
"properties": {
"latitude": {
"description": "Latitude of the city",
"type": "number"
},
"longitude": {
"description": "Longitude of the city",
"type": "number"
},
"current": {
"default": "temperature_2m,relative_humidity_2m,precipitation,rain,showers",
"description": "Information to retrieve from the open-meteo API, comma-separated",
"type": "string"
}
},
"required": [
"latitude",
"longitude",
"current"
],
"type": "object"
}
},
"type": "function"
},
"type": "endpoint"
},
"service_id": 1,
"id": 1,
"last_updated_comments": "Updated to use new API endpoint",
"service_name": "<string>",
"prompts_info": [
{
"id": 1,
"name": "Test Prompt"
}
],
"agents_info": [
{
"id": 1,
"name": "Test Agent"
}
],
"last_updated": "2023-11-07T05:31:56Z",
"last_updated_by": "user@email.com"
}
]
},
"custom_message": {
"name": "Customer service greeting",
"text": "Hello and thank you for calling customer service. How can I help you today?",
"label": "Customer service",
"rules": [
{
"date": "2025-01-01",
"description": "Closed on New Year's Day",
"invert": false,
"text": "Hello, thank you for calling. Sorry, we're closed today.",
"time_range_end": "17:00",
"time_range_start": "09:00"
},
{
"days_of_week": [
"sa",
"su"
],
"description": "Closed on weekends",
"invert": false,
"text": "Hello, thank you for calling. Sorry, we're closed on weekends.",
"time_range_end": "17:00",
"time_range_start": "09:00"
}
],
"id": 1,
"updated_at": "2024-01-01T00:00:00Z",
"agent_count": 1,
"last_updated_by": "user@email.com",
"type": "greeting"
},
"channel_targets": [
{}
],
"tools": [
{
"name": "Weather Fetcher",
"definition": {
"endpoint": {
"argument_location": "query",
"method": "get",
"url": "https://api.open-meteo.com/v1/forecast"
},
"tool": {
"function": {
"description": "Get the weather for a city",
"name": "get_weather",
"parameters": {
"properties": {
"latitude": {
"description": "Latitude of the city",
"type": "number"
},
"longitude": {
"description": "Longitude of the city",
"type": "number"
},
"current": {
"default": "temperature_2m,relative_humidity_2m,precipitation,rain,showers",
"description": "Information to retrieve from the open-meteo API, comma-separated",
"type": "string"
}
},
"required": [
"latitude",
"longitude",
"current"
],
"type": "object"
}
},
"type": "function"
},
"type": "endpoint"
},
"service_id": 1,
"id": 1,
"last_updated_comments": "Updated to use new API endpoint",
"service_name": "<string>",
"prompts_info": [
{
"id": 1,
"name": "Test Prompt"
}
],
"agents_info": [
{
"id": 1,
"name": "Test Agent"
}
],
"last_updated": "2023-11-07T05:31:56Z",
"last_updated_by": "user@email.com"
}
],
"language_group": {
"name": "Call Center 1 Languages",
"description": "Languages spoken by operators at Call Center 1",
"language_configs": [
{
"dtmf_code": 1,
"language_code": "en-US",
"voice_display_name": "Alloy",
"voice_provider": "OpenAI"
},
{
"dtmf_code": 2,
"language_code": "es-US",
"voice_display_name": "es-US-Neural2-B",
"voice_provider": "Google"
}
],
"skip_current_language_in_message": true,
"id": 1,
"edit_comments": "Added Spanish support.",
"agents_info": [
{
"id": 1,
"name": "Test Agent"
}
],
"updated_at": "2024-01-01T00:00:00Z",
"last_updated_by": "user@mail.com"
}
}
}
],
"page": 0,
"page_size": 25,
"total_pages": 4,
"total_count": 100
}
The page number from which to start (0-based)
x >= 0
0
The maximum number of items to return
x >= 0
25
String names of fields to search. Correspond by index to search field values
Show child attributes
"name"
Values of fields to search. Correspond by index to search fields. Unless field name contains "list", an individual search field value cannot be a list
"Some Object Name"
The field whose value should be used to order the results Names of channel target fields supported for filtering/sorting on full channel targets list endpoint.
id
, channel_id
, channel_name
, agent_id
, target
, target_mode
, fallback_target
, is_test
, updated_at
"name"
The direction in which to order the results The direction in which to order list results, either ascending or descending.
asc
, desc
The fields to include in the response
Show child attributes
The start datetime for filtering results
"2023-01-01T00:00:00Z"
The end datetime for filtering results
"2024-01-01T00:00:00Z"
Successful Response
The response is of type object
.
import os
import syllable_sdk
from syllable_sdk import SyllableSDK
with SyllableSDK(
api_key_header=os.getenv("SYLLABLESDK_API_KEY_HEADER", ""),
) as ss_client:
res = ss_client.channels.targets.list(page=0, limit=25, search_fields=[
syllable_sdk.ChannelTargetProperties.AGENT_ID,
], search_field_values=[
"Some Object Name",
], start_datetime="2023-01-01T00:00:00Z", end_datetime="2024-01-01T00:00:00Z")
# Handle response
print(res)
{
"items": [
{
"agent_id": 1,
"channel_id": 1,
"target": "+19995551234",
"target_mode": "voice",
"fallback_target": "+19995551235",
"is_test": true,
"id": 1,
"channel_name": "+19995551234",
"updated_at": "2024-01-01T00:00:00Z",
"last_updated_by": "user@email.com",
"agent": {
"name": "Weather agent",
"description": "Agent for answering questions about weather.",
"label": "Information",
"labels": [
"Information",
"Weather"
],
"type": "ca_v1",
"prompt_id": 1,
"custom_message_id": 1,
"language_group_id": 1,
"timezone": "America/New_York",
"prompt_tool_defaults": [
{
"default_values": [
{
"default_value": "fahrenheit",
"field_name": "temperature_unit"
}
],
"tool_name": "get_weather"
}
],
"languages": [
"en-US",
"es-US"
],
"variables": {
"vars.location_name": "Main Street Pizza"
},
"tool_headers": {
"Authorization": "Basic sometoken"
},
"agent_initiated": false,
"stt_provider": "Google STT V1",
"wait_sound": "No Sound",
"id": 1,
"updated_at": "2024-01-01T00:00:00Z",
"last_updated_by": "user@email.com",
"prompt": {
"name": "Weather Agent Prompt",
"description": "Prompt for a weather agent.",
"type": "prompt_v1",
"context": "You are a weather agent. Answer the user's questions about weather and nothing else.",
"tools": "hangup",
"llm_config": {
"model": "gpt-4o",
"provider": "openai",
"version": "2024-08-06"
},
"id": 1,
"edit_comments": "Updated prompt text to include requirement to not answer questions that aren't about weather.",
"last_updated": "2024-01-01T12:00:00Z",
"last_updated_by": "user@email.com",
"agent_count": 5,
"tools_full": [
{
"name": "Weather Fetcher",
"definition": {
"endpoint": {
"argument_location": "query",
"method": "get",
"url": "https://api.open-meteo.com/v1/forecast"
},
"tool": {
"function": {
"description": "Get the weather for a city",
"name": "get_weather",
"parameters": {
"properties": {
"latitude": {
"description": "Latitude of the city",
"type": "number"
},
"longitude": {
"description": "Longitude of the city",
"type": "number"
},
"current": {
"default": "temperature_2m,relative_humidity_2m,precipitation,rain,showers",
"description": "Information to retrieve from the open-meteo API, comma-separated",
"type": "string"
}
},
"required": [
"latitude",
"longitude",
"current"
],
"type": "object"
}
},
"type": "function"
},
"type": "endpoint"
},
"service_id": 1,
"id": 1,
"last_updated_comments": "Updated to use new API endpoint",
"service_name": "<string>",
"prompts_info": [
{
"id": 1,
"name": "Test Prompt"
}
],
"agents_info": [
{
"id": 1,
"name": "Test Agent"
}
],
"last_updated": "2023-11-07T05:31:56Z",
"last_updated_by": "user@email.com"
}
]
},
"custom_message": {
"name": "Customer service greeting",
"text": "Hello and thank you for calling customer service. How can I help you today?",
"label": "Customer service",
"rules": [
{
"date": "2025-01-01",
"description": "Closed on New Year's Day",
"invert": false,
"text": "Hello, thank you for calling. Sorry, we're closed today.",
"time_range_end": "17:00",
"time_range_start": "09:00"
},
{
"days_of_week": [
"sa",
"su"
],
"description": "Closed on weekends",
"invert": false,
"text": "Hello, thank you for calling. Sorry, we're closed on weekends.",
"time_range_end": "17:00",
"time_range_start": "09:00"
}
],
"id": 1,
"updated_at": "2024-01-01T00:00:00Z",
"agent_count": 1,
"last_updated_by": "user@email.com",
"type": "greeting"
},
"channel_targets": [
{}
],
"tools": [
{
"name": "Weather Fetcher",
"definition": {
"endpoint": {
"argument_location": "query",
"method": "get",
"url": "https://api.open-meteo.com/v1/forecast"
},
"tool": {
"function": {
"description": "Get the weather for a city",
"name": "get_weather",
"parameters": {
"properties": {
"latitude": {
"description": "Latitude of the city",
"type": "number"
},
"longitude": {
"description": "Longitude of the city",
"type": "number"
},
"current": {
"default": "temperature_2m,relative_humidity_2m,precipitation,rain,showers",
"description": "Information to retrieve from the open-meteo API, comma-separated",
"type": "string"
}
},
"required": [
"latitude",
"longitude",
"current"
],
"type": "object"
}
},
"type": "function"
},
"type": "endpoint"
},
"service_id": 1,
"id": 1,
"last_updated_comments": "Updated to use new API endpoint",
"service_name": "<string>",
"prompts_info": [
{
"id": 1,
"name": "Test Prompt"
}
],
"agents_info": [
{
"id": 1,
"name": "Test Agent"
}
],
"last_updated": "2023-11-07T05:31:56Z",
"last_updated_by": "user@email.com"
}
],
"language_group": {
"name": "Call Center 1 Languages",
"description": "Languages spoken by operators at Call Center 1",
"language_configs": [
{
"dtmf_code": 1,
"language_code": "en-US",
"voice_display_name": "Alloy",
"voice_provider": "OpenAI"
},
{
"dtmf_code": 2,
"language_code": "es-US",
"voice_display_name": "es-US-Neural2-B",
"voice_provider": "Google"
}
],
"skip_current_language_in_message": true,
"id": 1,
"edit_comments": "Added Spanish support.",
"agents_info": [
{
"id": 1,
"name": "Test Agent"
}
],
"updated_at": "2024-01-01T00:00:00Z",
"last_updated_by": "user@mail.com"
}
}
}
],
"page": 0,
"page_size": 25,
"total_pages": 4,
"total_count": 100
}
import os
import syllable_sdk
from syllable_sdk import SyllableSDK
with SyllableSDK(
api_key_header=os.getenv("SYLLABLESDK_API_KEY_HEADER", ""),
) as ss_client:
res = ss_client.channels.targets.list(page=0, limit=25, search_fields=[
syllable_sdk.ChannelTargetProperties.AGENT_ID,
], search_field_values=[
"Some Object Name",
], start_datetime="2023-01-01T00:00:00Z", end_datetime="2024-01-01T00:00:00Z")
# Handle response
print(res)
{
"items": [
{
"agent_id": 1,
"channel_id": 1,
"target": "+19995551234",
"target_mode": "voice",
"fallback_target": "+19995551235",
"is_test": true,
"id": 1,
"channel_name": "+19995551234",
"updated_at": "2024-01-01T00:00:00Z",
"last_updated_by": "user@email.com",
"agent": {
"name": "Weather agent",
"description": "Agent for answering questions about weather.",
"label": "Information",
"labels": [
"Information",
"Weather"
],
"type": "ca_v1",
"prompt_id": 1,
"custom_message_id": 1,
"language_group_id": 1,
"timezone": "America/New_York",
"prompt_tool_defaults": [
{
"default_values": [
{
"default_value": "fahrenheit",
"field_name": "temperature_unit"
}
],
"tool_name": "get_weather"
}
],
"languages": [
"en-US",
"es-US"
],
"variables": {
"vars.location_name": "Main Street Pizza"
},
"tool_headers": {
"Authorization": "Basic sometoken"
},
"agent_initiated": false,
"stt_provider": "Google STT V1",
"wait_sound": "No Sound",
"id": 1,
"updated_at": "2024-01-01T00:00:00Z",
"last_updated_by": "user@email.com",
"prompt": {
"name": "Weather Agent Prompt",
"description": "Prompt for a weather agent.",
"type": "prompt_v1",
"context": "You are a weather agent. Answer the user's questions about weather and nothing else.",
"tools": "hangup",
"llm_config": {
"model": "gpt-4o",
"provider": "openai",
"version": "2024-08-06"
},
"id": 1,
"edit_comments": "Updated prompt text to include requirement to not answer questions that aren't about weather.",
"last_updated": "2024-01-01T12:00:00Z",
"last_updated_by": "user@email.com",
"agent_count": 5,
"tools_full": [
{
"name": "Weather Fetcher",
"definition": {
"endpoint": {
"argument_location": "query",
"method": "get",
"url": "https://api.open-meteo.com/v1/forecast"
},
"tool": {
"function": {
"description": "Get the weather for a city",
"name": "get_weather",
"parameters": {
"properties": {
"latitude": {
"description": "Latitude of the city",
"type": "number"
},
"longitude": {
"description": "Longitude of the city",
"type": "number"
},
"current": {
"default": "temperature_2m,relative_humidity_2m,precipitation,rain,showers",
"description": "Information to retrieve from the open-meteo API, comma-separated",
"type": "string"
}
},
"required": [
"latitude",
"longitude",
"current"
],
"type": "object"
}
},
"type": "function"
},
"type": "endpoint"
},
"service_id": 1,
"id": 1,
"last_updated_comments": "Updated to use new API endpoint",
"service_name": "<string>",
"prompts_info": [
{
"id": 1,
"name": "Test Prompt"
}
],
"agents_info": [
{
"id": 1,
"name": "Test Agent"
}
],
"last_updated": "2023-11-07T05:31:56Z",
"last_updated_by": "user@email.com"
}
]
},
"custom_message": {
"name": "Customer service greeting",
"text": "Hello and thank you for calling customer service. How can I help you today?",
"label": "Customer service",
"rules": [
{
"date": "2025-01-01",
"description": "Closed on New Year's Day",
"invert": false,
"text": "Hello, thank you for calling. Sorry, we're closed today.",
"time_range_end": "17:00",
"time_range_start": "09:00"
},
{
"days_of_week": [
"sa",
"su"
],
"description": "Closed on weekends",
"invert": false,
"text": "Hello, thank you for calling. Sorry, we're closed on weekends.",
"time_range_end": "17:00",
"time_range_start": "09:00"
}
],
"id": 1,
"updated_at": "2024-01-01T00:00:00Z",
"agent_count": 1,
"last_updated_by": "user@email.com",
"type": "greeting"
},
"channel_targets": [
{}
],
"tools": [
{
"name": "Weather Fetcher",
"definition": {
"endpoint": {
"argument_location": "query",
"method": "get",
"url": "https://api.open-meteo.com/v1/forecast"
},
"tool": {
"function": {
"description": "Get the weather for a city",
"name": "get_weather",
"parameters": {
"properties": {
"latitude": {
"description": "Latitude of the city",
"type": "number"
},
"longitude": {
"description": "Longitude of the city",
"type": "number"
},
"current": {
"default": "temperature_2m,relative_humidity_2m,precipitation,rain,showers",
"description": "Information to retrieve from the open-meteo API, comma-separated",
"type": "string"
}
},
"required": [
"latitude",
"longitude",
"current"
],
"type": "object"
}
},
"type": "function"
},
"type": "endpoint"
},
"service_id": 1,
"id": 1,
"last_updated_comments": "Updated to use new API endpoint",
"service_name": "<string>",
"prompts_info": [
{
"id": 1,
"name": "Test Prompt"
}
],
"agents_info": [
{
"id": 1,
"name": "Test Agent"
}
],
"last_updated": "2023-11-07T05:31:56Z",
"last_updated_by": "user@email.com"
}
],
"language_group": {
"name": "Call Center 1 Languages",
"description": "Languages spoken by operators at Call Center 1",
"language_configs": [
{
"dtmf_code": 1,
"language_code": "en-US",
"voice_display_name": "Alloy",
"voice_provider": "OpenAI"
},
{
"dtmf_code": 2,
"language_code": "es-US",
"voice_display_name": "es-US-Neural2-B",
"voice_provider": "Google"
}
],
"skip_current_language_in_message": true,
"id": 1,
"edit_comments": "Added Spanish support.",
"agents_info": [
{
"id": 1,
"name": "Test Agent"
}
],
"updated_at": "2024-01-01T00:00:00Z",
"last_updated_by": "user@mail.com"
}
}
}
],
"page": 0,
"page_size": 25,
"total_pages": 4,
"total_count": 100
}
The page number from which to start (0-based)
x >= 0
0
The maximum number of items to return
x >= 0
25
String names of fields to search. Correspond by index to search field values
Show child attributes
"name"
Values of fields to search. Correspond by index to search fields. Unless field name contains "list", an individual search field value cannot be a list
"Some Object Name"
The field whose value should be used to order the results Names of channel target fields supported for filtering/sorting on full channel targets list endpoint.
id
, channel_id
, channel_name
, agent_id
, target
, target_mode
, fallback_target
, is_test
, updated_at
"name"
The direction in which to order the results The direction in which to order list results, either ascending or descending.
asc
, desc
The fields to include in the response
Show child attributes
The start datetime for filtering results
"2023-01-01T00:00:00Z"
The end datetime for filtering results
"2024-01-01T00:00:00Z"
Successful Response
The response is of type object
.
import os
import syllable_sdk
from syllable_sdk import SyllableSDK
with SyllableSDK(
api_key_header=os.getenv("SYLLABLESDK_API_KEY_HEADER", ""),
) as ss_client:
res = ss_client.channels.targets.list(page=0, limit=25, search_fields=[
syllable_sdk.ChannelTargetProperties.AGENT_ID,
], search_field_values=[
"Some Object Name",
], start_datetime="2023-01-01T00:00:00Z", end_datetime="2024-01-01T00:00:00Z")
# Handle response
print(res)
{
"items": [
{
"agent_id": 1,
"channel_id": 1,
"target": "+19995551234",
"target_mode": "voice",
"fallback_target": "+19995551235",
"is_test": true,
"id": 1,
"channel_name": "+19995551234",
"updated_at": "2024-01-01T00:00:00Z",
"last_updated_by": "user@email.com",
"agent": {
"name": "Weather agent",
"description": "Agent for answering questions about weather.",
"label": "Information",
"labels": [
"Information",
"Weather"
],
"type": "ca_v1",
"prompt_id": 1,
"custom_message_id": 1,
"language_group_id": 1,
"timezone": "America/New_York",
"prompt_tool_defaults": [
{
"default_values": [
{
"default_value": "fahrenheit",
"field_name": "temperature_unit"
}
],
"tool_name": "get_weather"
}
],
"languages": [
"en-US",
"es-US"
],
"variables": {
"vars.location_name": "Main Street Pizza"
},
"tool_headers": {
"Authorization": "Basic sometoken"
},
"agent_initiated": false,
"stt_provider": "Google STT V1",
"wait_sound": "No Sound",
"id": 1,
"updated_at": "2024-01-01T00:00:00Z",
"last_updated_by": "user@email.com",
"prompt": {
"name": "Weather Agent Prompt",
"description": "Prompt for a weather agent.",
"type": "prompt_v1",
"context": "You are a weather agent. Answer the user's questions about weather and nothing else.",
"tools": "hangup",
"llm_config": {
"model": "gpt-4o",
"provider": "openai",
"version": "2024-08-06"
},
"id": 1,
"edit_comments": "Updated prompt text to include requirement to not answer questions that aren't about weather.",
"last_updated": "2024-01-01T12:00:00Z",
"last_updated_by": "user@email.com",
"agent_count": 5,
"tools_full": [
{
"name": "Weather Fetcher",
"definition": {
"endpoint": {
"argument_location": "query",
"method": "get",
"url": "https://api.open-meteo.com/v1/forecast"
},
"tool": {
"function": {
"description": "Get the weather for a city",
"name": "get_weather",
"parameters": {
"properties": {
"latitude": {
"description": "Latitude of the city",
"type": "number"
},
"longitude": {
"description": "Longitude of the city",
"type": "number"
},
"current": {
"default": "temperature_2m,relative_humidity_2m,precipitation,rain,showers",
"description": "Information to retrieve from the open-meteo API, comma-separated",
"type": "string"
}
},
"required": [
"latitude",
"longitude",
"current"
],
"type": "object"
}
},
"type": "function"
},
"type": "endpoint"
},
"service_id": 1,
"id": 1,
"last_updated_comments": "Updated to use new API endpoint",
"service_name": "<string>",
"prompts_info": [
{
"id": 1,
"name": "Test Prompt"
}
],
"agents_info": [
{
"id": 1,
"name": "Test Agent"
}
],
"last_updated": "2023-11-07T05:31:56Z",
"last_updated_by": "user@email.com"
}
]
},
"custom_message": {
"name": "Customer service greeting",
"text": "Hello and thank you for calling customer service. How can I help you today?",
"label": "Customer service",
"rules": [
{
"date": "2025-01-01",
"description": "Closed on New Year's Day",
"invert": false,
"text": "Hello, thank you for calling. Sorry, we're closed today.",
"time_range_end": "17:00",
"time_range_start": "09:00"
},
{
"days_of_week": [
"sa",
"su"
],
"description": "Closed on weekends",
"invert": false,
"text": "Hello, thank you for calling. Sorry, we're closed on weekends.",
"time_range_end": "17:00",
"time_range_start": "09:00"
}
],
"id": 1,
"updated_at": "2024-01-01T00:00:00Z",
"agent_count": 1,
"last_updated_by": "user@email.com",
"type": "greeting"
},
"channel_targets": [
{}
],
"tools": [
{
"name": "Weather Fetcher",
"definition": {
"endpoint": {
"argument_location": "query",
"method": "get",
"url": "https://api.open-meteo.com/v1/forecast"
},
"tool": {
"function": {
"description": "Get the weather for a city",
"name": "get_weather",
"parameters": {
"properties": {
"latitude": {
"description": "Latitude of the city",
"type": "number"
},
"longitude": {
"description": "Longitude of the city",
"type": "number"
},
"current": {
"default": "temperature_2m,relative_humidity_2m,precipitation,rain,showers",
"description": "Information to retrieve from the open-meteo API, comma-separated",
"type": "string"
}
},
"required": [
"latitude",
"longitude",
"current"
],
"type": "object"
}
},
"type": "function"
},
"type": "endpoint"
},
"service_id": 1,
"id": 1,
"last_updated_comments": "Updated to use new API endpoint",
"service_name": "<string>",
"prompts_info": [
{
"id": 1,
"name": "Test Prompt"
}
],
"agents_info": [
{
"id": 1,
"name": "Test Agent"
}
],
"last_updated": "2023-11-07T05:31:56Z",
"last_updated_by": "user@email.com"
}
],
"language_group": {
"name": "Call Center 1 Languages",
"description": "Languages spoken by operators at Call Center 1",
"language_configs": [
{
"dtmf_code": 1,
"language_code": "en-US",
"voice_display_name": "Alloy",
"voice_provider": "OpenAI"
},
{
"dtmf_code": 2,
"language_code": "es-US",
"voice_display_name": "es-US-Neural2-B",
"voice_provider": "Google"
}
],
"skip_current_language_in_message": true,
"id": 1,
"edit_comments": "Added Spanish support.",
"agents_info": [
{
"id": 1,
"name": "Test Agent"
}
],
"updated_at": "2024-01-01T00:00:00Z",
"last_updated_by": "user@mail.com"
}
}
}
],
"page": 0,
"page_size": 25,
"total_pages": 4,
"total_count": 100
}