Skip to content
MUI’s hosted AI Assistant backend shuts down at the end of 2026.Switch in two lines →
  • Products
    • AG Grid AI Toolkit Early accessThe model and the server behind the toolkit.
    • MUI X Data Grid StableThe backend for the Premium AI Assistant.
    • TanStack Table Public alphaA plugin that applies each answer to your table.
    • AG Studio Early accessA hosted backend for its assistant, not built yet.
  • How it works
  • Accuracy
  • Pricing
  • Security
  • Docs
    • Quickstart: server route
    • Quickstart: TanStack Table
    • Browser keys
    • Moving from MUI’s hosted service
    • Guide: when MUI’s service retires
Sign inStart a 7-day trial
Menu
  • Products
    • AG Grid AI Toolkit Early access
    • MUI X Data Grid Stable
    • TanStack Table Public alpha
    • AG Studio Early access
  • How it works
  • Accuracy
  • Pricing
  • Security
  • Docs
    • Quickstart: server route
    • Quickstart: TanStack Table
    • Browser keys
    • Moving from MUI’s hosted service
    • Guide: when MUI’s service retires
  • Sign in

Product

  • How it works
  • Accuracy
  • Pricing
  • Data and security

Grids

  • AG Grid AI ToolkitEarly access
  • MUI X Data Grid PremiumStable
  • TanStack TablePublic alpha
  • AG StudioEarly access

Docs

  • Quickstart: server route
  • Browser keys
  • Guide: when MUI’s service retires

Company

  • Contact
  • Terms
  • Privacy

Not affiliated with or endorsed by MUI or AG Grid. MUI and AG Grid are trademarks of their respective owners.

© 2026 Gridsay

Docs pages
Start
  • Documentation
  • How it works
  • Examples
MUI X Data Grid
  • Quickstart: server route
  • From the browser
  • Using the helper
  • Filtering
  • Sorting
  • Grouping
  • Aggregation
  • Pivoting
  • Charts
  • Row selection
  • Follow-up questions
  • Refusals and errors
  • Moving from MUI’s service
  • Reference
TanStack Table
  • Quickstart
  • Describing columns
  • Filtering
  • Sorting
  • Grouping
  • Row selection
  • Server-side data
  • Controlled state
  • Undo and reset
  • Refusals and errors
  • API reference
Keys and sign-in
  • Secret and publishable keys
  • Browser keys
  • JWT and OIDC
  • Session tokens
  • Identity webhook
  • Per-user limits
  • The console
  • Data and privacy
HTTP API
  • HTTP API
  • Authentication
  • Data Grid endpoint
  • Follow-up questions
  • Private mode
Reference
  • Errors
  • Limits
  • Tiers and credits
  • @gridsay/core
On this page

On this page

  1. Before you start
  2. 1. Set the environment
  3. 2. Change two lines
  4. 3. Check before you deploy
  5. What stays the same
  6. Going back
  7. Optional: the Gridsay helper
  8. What leaves your app
  9. Next
Skip to the article
Start
  • Documentation
  • How it works
  • Examples
MUI X Data Grid
  • Quickstart: server route
  • From the browser
  • Using the helper
  • Filtering
  • Sorting
  • Grouping
  • Aggregation
  • Pivoting
  • Charts
  • Row selection
  • Follow-up questions
  • Refusals and errors
  • Moving from MUI’s service
  • Reference
TanStack Table
  • Quickstart
  • Describing columns
  • Filtering
  • Sorting
  • Grouping
  • Row selection
  • Server-side data
  • Controlled state
  • Undo and reset
  • Refusals and errors
  • API reference
Keys and sign-in
  • Secret and publishable keys
  • Browser keys
  • JWT and OIDC
  • Session tokens
  • Identity webhook
  • Per-user limits
  • The console
  • Data and privacy
HTTP API
  • HTTP API
  • Authentication
  • Data Grid endpoint
  • Follow-up questions
  • Private mode
Reference
  • Errors
  • Limits
  • Tiers and credits
  • @gridsay/core

Moving from MUI’s service

On this page

  1. Before you start
  2. 1. Set the environment
  3. 2. Change two lines
  4. 3. Check before you deploy
  5. What stays the same
  6. Going back
  7. Optional: the Gridsay helper
  8. What leaves your app
  9. Next

MUI's hosted service for the Data Grid Premium AI Assistant shuts down at the end of 2026, as MUI's pull request mui/mui-x #24037 states. The assistant in the grid stays; it needs another backend. Gridsay takes the same request and returns the same answer, so in most apps two lines of one server route change.

Your grid, its onPrompt and the browser code stay as they are. You still need your own MUI X Premium licence.

Before you start#

  • Find the server route that forwards the grid's questions: search your code for backend.mui.com and unstable_gridDefaultPromptResolver. No route yet? Follow the quickstart instead.
  • Create a Gridsay account and a secret key in API keys. Your MUI key does not work with Gridsay. The trial is 7 days on Pro 20, and nothing is charged during it.

1. Set the environment#

Put your Gridsay URL, shown beside your key, and the key, in your server's environment:

.env.local
# Save at your app root, beside package.json. Restart your dev server after saving.GRIDSAY_URL=<your Gridsay URL, from the dashboard>GRIDSAY_SECRET_KEY=<your secret key>

2. Change two lines#

In your route, change the address and the key:

app/api/ai-assistant/route.ts
−Removed: const url = 'https://backend.mui.com/api/v1/datagrid/prompt';+Added: const url = `${GRIDSAY_URL}/api/v1/datagrid/prompt`;−Removed: 'x-api-key': process.env.MUI_DATAGRID_API_KEY,+Added: 'x-api-key': process.env.GRIDSAY_SECRET_KEY,

The path stays /api/v1/datagrid/prompt and the header stays x-api-key. Keep everything else your route does: the sign-in check, forwarding the body unchanged, returning the status and body as they came. If your route follows redirects, stop it: a redirect would send your key to another address. The quickstart's route does all of this, if you would rather replace yours.

3. Check before you deploy#

Ask your own grid:

  • a filter with two values, such as "customers in Germany or France";
  • a relative date, such as "orders from last month";
  • "the five largest deals": the grid sorts and selects five rows, and keeps the rest;
  • a group with a total, such as "revenue by region";
  • a follow-up, such as "only the open ones";
  • something your table cannot answer, such as a column it does not have: the panel shows a sentence and the grid stays as it was.

Each answered or declined question appears on the Usage page. A question refused before it reaches a model, such as with a mistyped key, does not: check its status and code against Refusals and errors.

What stays the same#

PartWith Gridsay
The address pathWith Gridsay/api/v1/datagrid/prompt
The key headerWith Gridsayx-api-key, with your Gridsay key
The requestWith GridsayThe question, the column context as a JSON string, the conversation id, the options
An answerWith Gridsayok: true and data with the filters, sorting, grouping, totals, pivot, chart, selection and conversation id
A refusalWith Gridsayok: false and a message for your user. Gridsay adds code, statusCode and a detail for you
Follow-upsWith GridsayCarried by the conversation id, as before

Gridsay also returns meta with the tier that answered and your usage. MUI's stock resolver ignores it.

Going back#

Until MUI's service closes, going back is the same two lines, reversed. Keep your MUI key in your environment until your checks pass in production, then remove it.

Optional: the Gridsay helper#

The two-line change keeps MUI's stock resolver. Separately, you can swap it for createPromptResolver from @gridsay/mui-x-data-grid, which sends the grid's switches and current view and checks every answer: see Using the helper.

What leaves your app#

The same as before: the question and your column definitions, with example values only if you turn on allowAiAssistantDataSampling or write them into your columns. Switching backends does not change what the grid sends. What Gridsay keeps: Data and security.

Next#

  • Quickstart: server route
  • Refusals and errors
  • Using the helper