ai.service.headersObject

The headers to send with the AI service request.

Example - configure AI service headers

<div id="grid"></div>
<script>
$("#grid").kendoGrid({
   columns: [{ field: "name" }],
   dataSource: [{ name: "Jane Doe" }],
   toolbar: ["aiAssistant"],
   ai: {
     service: {
       url: "https://demos.telerik.com/service/v2/ai/grid/smart-state",
       headers: {
         "Content-Type": "application/json"
       }
     }
   }
});
</script>
In this article
ai.service.headers
Not finding the help you need?
Contact Support