Get Agent Widget Config
Retrieve the widget configuration for an agent
Path parameters
The id of an agent. This is returned on agent creation.
The id of an agent. This is returned on agent creation.
Query parameters
An expiring token that enables a websocket conversation to start. These can be generated for an agent using the /v1/convai/conversation/get_signed_url endpoint
An expiring token that enables a websocket conversation to start. These can be generated for an agent using the /v1/convai/conversation/get_signed_url endpoint
Headers
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Response
Successful Response
Example response
{
"widget_config": {
"file_input_config": {
"enabled": false,
"max_files_in_memory": 10,
"max_files_per_conversation": 10
},
"first_message": "Hello! How can I help you today?",
"language": "en",
"language_presets": {},
"supported_language_overrides": [
"es",
"fr"
],
"supports_text_only": true,
"text_only": false,
"use_rtc": false
}
}Changes
Changed in 3 of the 31 revisions of this API.18
- ○
the
response's property default value changed fromfalsetotruefor the statusresponse-property-default-value-changed
- ○
the
response's property default value changed fromfalsetotruefor the statusresponse-property-default-value-changed
- ○
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the optional property
/////to the response with the statusresponse-optional-property-added
- ○
added the optional property
/////to the response with the statusresponse-optional-property-added
- ○
added the optional property
/////to the response with the statusresponse-optional-property-added
- ○
added the optional property
/////to the response with the statusresponse-optional-property-added
- ○
added the optional property
/////to the response with the statusresponse-optional-property-added
- ○
added the optional property
/////to the response with the statusresponse-optional-property-added
- ○
added the optional property
/////to the response with the statusresponse-optional-property-added
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○