New to Telerik ReportingStart a free 30-day trial

Create AI Thread Overview

The Create AI Thread endpoint initializes a new AI interaction session for the Telerik Reporting REST Service. It provides a unique thread identifier, available AI prompts, and consent requirements.

Request

POST /api/reports/clients/{clientId}/instances/{instanceId}/ai

Path parameters

NameTypeDescription
clientIdStringThe ID of the service client that started the AI thread. Returned by Register Client.
instanceIdStringThe ID of the report instance used for the AI thread. Returned by Resolve Report Instance.

Request Body

ReportSource object identifying the report instance.

Response

HTTP Status CodeDescription
201 CreatedA new AI thread is created and its details are returned.

Response Body

AiThread object that can be used to start a conversation with an AI assistant.

Sample

  • Request

      POST /api/reports/clients/4476c114dbb/instances/99834da5858/ai HTTP/1.1
  • Response

      HTTP/1.1 201 Created
    
      {
      	"threadId": "57fc76d2cf8",
      	"predefinedPrompts": [
      		"Generate an executive summary of this report.",
      		"Translate the document in German."
      	],
      	"requireConsent": true,
      	"consentMessage": "By using this AI functionality, you authorize the processing of any data you provide, including your prompt, for the purposes of delivering the service to you. Your use of this functionality is governed by the Progress privacy policy, available at: <a href='https://www.progress.com/legal/privacy-policy'>Privacy Policy - Progress</a>",
      	"allowCustomPrompts": true
      }
In this article
RequestResponseSample
Not finding the help you need?
Contact Support