Gridsay answers from your user's question and a description of the table. 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.
This page is for developers. Data and security and the privacy policy are the policy.
onPrompt function: the question and the column definitions the grid generates. Example values only if you turn on the grid's data sampling (allowAiAssistantDataSampling).With a publishable key, each question also carries your user's sign-in. Gridsay uses it to verify the user and does not store it. With the identity webhook, that value goes on to your own endpoint.
| What | Contents | In private mode |
|---|---|---|
| Request log | The question and the answer; the key, tier, model and the provider that answered; tokens, cost, credits, time taken and outcome; the conversation; a hash of the end user's id, keyed per organization | Everything except the question and the answer |
| Conversation history | Each answered question and its answer, so follow-ups work. With a publishable key, only the user who started a conversation can continue it | Nothing: every question starts fresh |
| Refusals | For a question stopped before the assistant: the key, time, status, code and reason. Never the question | The same |
| Usage totals | Questions and credits per organization and period, by tier | The same |
| Keys and secrets | Keys stored hashed. Secrets for end-user sign-in stored encrypted, and deleted with their key | The same |
Column definitions and example values are not stored in our database. Except in private mode, PostHog, in the EU, keeps a copy of each question, with everything sent with it (column definitions, examples, option lists, grid state, context), and the answer, so we can check quality and cost. The privacy policy lists what PostHog receives.
Limit counts are kept as a plain hash of the user id, and run out when their minute, hour, day or month ends. Answers from your identity webhook are held in memory for as long as you set, at most an hour.
The console shows your plan's period of request history: 30 days on Pro and 90 on Business; on Enterprise, what your contract says. Older questions are hidden from Usage, and older turns are no longer sent with follow-ups. Older entries are not yet deleted automatically: ask us and we delete your organization's request history.
Usage totals are kept for as long as billing and accounting need them. The privacy policy lists how long each kind of data is kept.
Set privateMode on any question that must not be stored:
{ "query": "newest first", "context": "[{\"field\":\"createdAt\",\"type\":\"date\"}]", "options": { "privateMode": true }}Our helper and plugin take the same privateMode: true in their options. In private mode:
The model still reads the question and the table description to answer it. Private mode does not change your own logs or anything stored earlier. Private mode has the request details.
Every member of your organization, whatever their role, can read Usage: the request log with each question's text, and the refusals. A private question shows Private mode, not stored. The privacy policy says who at Gridsay can see it.