Skip to main content

Managing security with Assist

When working with an LLM, you may want to be aware of how Retool and LLM providers use your data. This page outlines how your data is handled when you use Assist.

For more information, refer to the Assist Beta Terms.

What Retool sends to LLMs

In order to create and edit apps that securely use your real data, Retool sends your resource schemas (such as table names and column names) to LLM providers to help Assist understand the available data, and generate resource queries.

The outputs of your queries are also sent to LLMs. Assist needs this information to understand data, format responses, and construct transformers or JavaScript queries. Humans often use the same process, by using read or GET requests to understand the structure of their data.

Assist only has access to the resources that you explicitly provide access to through the Resource Access list, and Assist will always ask you for permission before writing a query against a resource.

Data storage, routing, and training

The following tables outline key details of Retool’s AI data storage and usage policies and practices based on your hosting option and API key strategy.

API keyInternal database storageObservabilityAPI call routingTraining LLM models
Retool-managed keyRetool securely stores your prompts in an internal database, which is required for the feature to function.Retool securely stores your prompts with a third-party observability provider for QA and debugging.API calls are routed through Retool’s managed infrastructure.Retool does not use prompts to train or fine-tune internal models and does not permit external LLM providers to do so. More information.
Bring your own key (Enterprise only)Retool securely stores your prompts in an internal database, which is required for the feature to function.Retool does not store prompts from Enterprise organizations with an observability provider.API calls are routed through Retool’s managed infrastructure, but are sent to the LLM provider with your own key.Usage of your data depends on your negotiated agreement with the LLM provider.

API key permission level

If you are using your own key with Assist, Retool requires the following permission levels, depending on your provider.

OpenAI

For more information, refer to the OpenAI documentation.

CapabilityPermission level
List modelsRead
Model capabilitiesRequest
ResponsesWrite
Text-to-speechRequest
RealtimeRequest
Chat completionsRequest
ImagesRequest

Anthropic

Anthropic keys don’t have fine-grained scopes, so Retool has no additional requirements.

Limiting Assist usage

Organizations on the Free plan do not support enabling Assist for only a subset of users. You can toggle Assist on or off for everyone in Settings > AI.

Organizations on the Business and Enterprise plans support role-based access control, which enables you to configure which roles have permission to use Assist. Admins can also control which roles have access to Build mode. Learn how to configure roles for Assist permissions in the configuration guide.