Skip to main content

Get Insight Templates

GET 
/ai/conversations/insights

Get all insights

Request

Query Parameters

    page[number] Page[Number]

    Possible values: >= 1

    Default value: 1

    Page number (0-based)

    page[size] Page[Size]

    Possible values: <= 100

    Default value: 20

    Number of items per page

Responses

200: Successful Response

422: Validation Error

Request samples


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

Response samples


{
"data": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"instructions": "string",
"created_at": "2024-07-29T15:51:28.071Z",
"insight_type": "custom",
"name": "string",
"webhook": "string",
"json_schema": "string"
}
],
"meta": {
"total_pages": 0,
"total_results": 0,
"page_number": 0,
"page_size": 0
}
}