--- title: GridAIRequestData description: "Learn how to build custom functionality when working with the React Grid by Kendo UI with the help of the GridAIRequestData." api_reference: true type: inner_api slug: api_grid_gridairequestdata --- # GridAIRequestData Represents the request data structure for the Grid AI request.
Name Type Default Description
#### columns { field: string; id?: string; values?: any[]; }[] The array of column definitions with their field names.
#### headers Record<string> The headers object containing key-value pairs for the request.
#### promptMessage string The prompt message sent to the AI assistant.
#### requestOptions [GridAIRequestConfig]({% slug api_grid_gridairequestconfig %}) [intersected](https://www.typescriptlang.org/docs/handbook/advanced-types.html#intersection-types) with { cancelToken?: unknown; url?: string; } The request configuration options for the HTTP request.
#### role string The role or context for the AI request.