Your app sends Gridsay a user's question with a description of the table. Gridsay answers with changes, and the table applies them to the rows it already has.
people in Germany or France earning over 100k
filter country is any of Germany, Francefilter salary is greater than 100000Gridsay never returns rows and never queries your data. The table filters and sorts the rows it already has. If it loads rows from your server, your server does.
Gridsay does not need your rows to answer. This is everything that leaves your app with a question:
| What is sent | When |
|---|---|
| The question, as typed | Always |
| Column definitions: field name, type, description, allowed operators | Always |
| Switched-off features, single-select option lists (up to 500 per column), and the table's current filters, sorting and grouping (on MUI X Data Grid also totals and pivot) | With our MUI X Data Grid helper or our TanStack Table plugin. MUI's stock resolver does not send them |
| Example values for each column, taken from your rows | Only if you turn them on: allowAiAssistantDataSampling on MUI X Data Grid, meta.assistant.examples on a TanStack Table column |
Extra text about your table (additionalContext) | If you set it |
No whole rows are uploaded. The question, your current filters and option lists can contain values. Example values from your rows go only if you turn them on. What is sent and kept says what Gridsay stores and for how long.
When the assistant cannot do what the user asked, it answers with a sentence instead of changes. Typical reasons: the table has no such column, the feature is switched off, or the table cannot express the question. The response is a 422 with the code query_not_understood, and its message is the sentence. Show it to the user. The table stays as it was.
departments with more than 100 people
I can't filter on counts of people per department, since that would be a condition on an aggregate.
Your user reads this sentence. The table stays as it was.A delivered refusal is charged, like an answer. A question stopped before the model is not charged, such as a wrong key, a limit or a request that is too large. Nor is a model failure or an unusable answer (502). Errors lists every code.
Every question is answered on one tier: fast (1 credit), standard (10) or max (25). A key is set to one tier, or to auto. With auto, Gridsay picks the tier for each question, up to standard, or up to max if you allow it. Tiers and credits.
Each answer carries a conversationId. Send it with the next question, and Gridsay reads the earlier questions and answers. So "only remote ones" narrows the previous answer. Our helpers do this for you. A long conversation drops its oldest turns rather than grow past the size limit. In private mode Gridsay keeps no conversation turns, so each question starts a new conversation. Conversations.
sk_gs_…): for your server only. Your route checks that the user is signed in, adds the key and forwards the question. Never put it in browser code. Keys.pk_gs_…): for browser code. Gridsay accepts it only from the origins you allow, with a signed-in user's token it can verify. You can set limits per user. Browser keys.Terms other pages use without explaining them:
context field. The question endpoint.options.privateMode. Gridsay keeps no question or answer. The usage record still has the conversation id, the user’s hashed id, the model, timing and outcome. Private mode.