Skip to main content

Get an assistant

GET 
/ai/assistants/:assistant_id

Retrieve an AI Assistant configuration by assistant_id.

Request

Path Parameters

    assistant_id Assistant Idrequired

Query Parameters

    fetch_dynamic_variables_from_webhook Fetch Dynamic Variables From Webhook
    from From
    to To
    call_control_id Call Control Id

Responses

200: Successful Response

422: Validation Error

Request samples


curl -L 'https://api.telnyx.com/v2/ai/assistants/:assistant_id' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'

Response samples


{
"id": "string",
"name": "string",
"created_at": "2024-07-29T15:51:28.071Z",
"description": "string",
"model": "string",
"instructions": "string",
"tools": [
{},
{},
{},
{},
{},
{}
],
"greeting": "string",
"llm_api_key_ref": "string",
"voice_settings": {
"voice": "string",
"api_key_ref": "string"
},
"transcription": {
"model": "string"
},
"telephony_settings": {
"default_texml_app_id": "string"
},
"messaging_settings": {
"default_messaging_profile_id": "string",
"delivery_status_webhook_url": "string"
},
"enabled_features": [
"telephony"
],
"insight_settings": {
"insight_group_id": "string"
},
"dynamic_variables_webhook_url": "string",
"dynamic_variables": {}
}