Skip to main content

Get Canary Deploy

GET 
/ai/assistants/:assistant_id/canary-deploys

Endpoint to get a canary deploy configuration for an assistant.

Retrieves the current canary deploy configuration with all version IDs and their traffic percentages for the specified assistant.

Request

Path Parameters

    assistant_id Assistant Idrequired

Responses

200: Successful Response

422: Validation Error

Request samples


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

Response samples


{
"assistant_id": "string",
"versions": [
{
"version_id": "string",
"percentage": 0
}
],
"created_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z"
}