Authorizations
Body
Request model to create an agent.
The agent name
"Weather agent"
The agent type. Must be "ca_v1" currently.
"ca_v1"
ID of the prompt associated with the agent
1
Internal ID of the custom message that should be delivered at the beginning of a conversation with the agent
1
The time zone in which the agent operates
"America/New_York"
"America/Chicago"
Custom context variables for the conversation session. Keys should be prefixed with "vars.".
{ "vars.location_name": "Main Street Pizza" }
Optional headers to include in tool calls for agent. (It is discouraged to use this field for "Authorization" headers, as values here are not encrypted. Instead, set up a service with either basic, bearer, or custom header auth; attach the appropriate tools to that service, and the attached tools will automatically use the auth configured on the service.)
{ "some-header": "some-value" }
The agent description
"Agent for answering questions about weather."
The agent label (DEPRECATED - use labels instead.)
"Information"
The agent labels
["Information", "Weather"]
Internal ID of the language group associated with the agent
1
Agent-level static parameter values for the agent's tools, overriding any tool-level defaults
[
{
"default_values": [
{
"default_value": "fahrenheit",
"field_name": "temperature_unit"
}
],
"tool_name": "get_weather"
}
]
BCP 47 codes of languages the agent supports. (DEPRECATED - pass an empty list here and use language group ID to link agent to a language group instead.)
["en-US", "es-US"]
Whether the agent initiates conversation with a user after the custom message is delivered
false
Speech-to-text provider for the agent. Speech-to-text providers supported by agents.
Google STT V2 (Chirp 2)
, Deepgram Nova 3
, Google STT V2
, Google STT V1
, Deepgram Nova 2
"Google STT V2 (Chirp 2)"
"Deepgram Nova 3"
"Google STT V2"
"Google STT V1"
"Deepgram Nova 2"
Sound to play while waiting for a response from the LLM. Wait sounds supported by agents.
No Sound
, Keyboard 1
, Keyboard 2
, Call Center
"No Sound"
"Keyboard 1"
"Keyboard 2"
"Call Center"
Response
Successful Response
Response model for agent operations. When a user interacts with the Syllable system, they do so by communicating with an agent. An agent is linked to a prompt, a custom message, and one or more channel targets to define its behavior and capabilities. For more information, see Console docs.
The agent name
"Weather agent"
The agent type. Must be "ca_v1" currently.
"ca_v1"
ID of the prompt associated with the agent
1
Internal ID of the custom message that should be delivered at the beginning of a conversation with the agent
1
The time zone in which the agent operates
"America/New_York"
"America/Chicago"
Custom context variables for the conversation session. Keys should be prefixed with "vars.".
{ "vars.location_name": "Main Street Pizza" }
Optional headers to include in tool calls for agent. (It is discouraged to use this field for "Authorization" headers, as values here are not encrypted. Instead, set up a service with either basic, bearer, or custom header auth; attach the appropriate tools to that service, and the attached tools will automatically use the auth configured on the service.)
{ "some-header": "some-value" }
Internal ID of the agent
1
Timestamp of most recent update
"2024-01-01T00:00:00Z"
Email of the user who last updated the agent
"user@email.com"
The agent description
"Agent for answering questions about weather."
The agent label (DEPRECATED - use labels instead.)
"Information"
The agent labels
["Information", "Weather"]
Internal ID of the language group associated with the agent
1
Agent-level static parameter values for the agent's tools, overriding any tool-level defaults
[
{
"default_values": [
{
"default_value": "fahrenheit",
"field_name": "temperature_unit"
}
],
"tool_name": "get_weather"
}
]
BCP 47 codes of languages the agent supports. (DEPRECATED - pass an empty list here and use language group ID to link agent to a language group instead.)
["en-US", "es-US"]
Whether the agent initiates conversation with a user after the custom_message is delivered
false
Speech-to-text provider for the agent.
"Google STT V2 (Chirp 2)"
"Deepgram Nova 3"
"Google STT V2"
"Google STT V1"
"Deepgram Nova 2"
Sound to play while waiting for a response from the LLM.
"No Sound"
"Keyboard 1"
"Keyboard 2"
"Call Center"
The prompt associated with the agent. Response model for prompt operations. A prompt defines the behavior of an agent by delivering instructions to the LLM about how the agent should behave. A prompt can be linked to one or more agents. A prompt can also be linked to tools to allow an agent using it to use those tools. For more information, see Console docs.
The message associated with the agent. Will be delivered as a greeting at the beginning of a conversation. Response model for custom message operations. A custom message is a pre-configured message delivered by an agent as a greeting at the beginning of a conversation. Multiple agents can use the same custom mesasage. A custom message has one or more rules defined, which allow for different messages to be dynamically selected and delivered at runtime based on the current time and either date or day of the week. For more information, see Console docs.
Channel targets associated with the agent
Tools associated with the agent
The language group associated with the agent Response model for language group operations. A language group is a collection of language, voice, and DTMF configuration that can be linked to an agent to define the languages and voices it supports. For more information, see Console docs.