> ## Documentation Index
> Fetch the complete documentation index at: https://docs.critique-labs.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Critique AI for Google Sheets - Documentation

> Learn how to use the Critique AI Google Sheets add-on to perform agentic search queries within your spreadsheets.

# Critique AI for Google Sheets

Critique AI brings **agentic search** directly into Google Sheets, allowing you to perform **LLM-powered, in-line cited** queries within your spreadsheet using the `CRITIQUE` function. [Add to Google Sheets](https://workspace.google.com/marketplace/app/critique_ai_agentic_search_api/864851643051?flow_type=2)

## **Getting Started**

### **Installation**

1. Install the Critique AI Google Sheets add-on from the Google Workspace Marketplace.
2. Open Google Sheets and navigate to `Extensions > Critique API > Set API Key`.
3. Enter your **Critique AI API Key** (available at [Critique Labs Dashboard](https://critique-labs.ai/en/dashboard)).

### **Basic Usage**

The `CRITIQUE` function fetches deeply researched, in-line cited responses based on a search term.

#### **Function Syntax**

```excel theme={null}
=CRITIQUE(searchTerm, [image_url], [exclude_domains], [show_sources])
```

#### **Parameters**

| Parameter         | Required | Type    | Description                                            |
| ----------------- | -------- | ------- | ------------------------------------------------------ |
| `searchTerm`      | Yes      | String  | The query you want to search.                          |
| `image_url`       | No       | String  | URL of an image to analyze.                            |
| `exclude_domains` | No       | String  | Comma-separated websites you don't want the AI to use. |
| `show_sources`    | No       | Boolean | `TRUE` (default) to include citations.                 |

#### **Example Queries**

```excel theme={null}
=CRITIQUE("What is quantum computing?")
=CRITIQUE("Latest AI research", , "cnn.com,foxnews.com", TRUE)
=CRITIQUE("what is the latest stock price of the company in the image? ", "https://example.com/image.jpg")
=CRITIQUE(CONCATENATE("Find some information for the following company: ",A2))
```

## **Limitations**

* **Rate Limits:** Free tier users can make up to **10 API calls per minute**.
* **Token Limits:** No token limit, but large queries may take longer to process.
* **Dependency on API Key:** Users must set an API key before using the function.
* **Excessive Requests:** Overuse may result in rate-limiting errors (`Rate limited, please try again in a minute`).

## **Privacy Policy**

Critique AI does not share your search queries. **Users must not share their API key** or embed it in shared Google Sheets. Google Workspace APIs themselves are not used to develop, improve, or train AI and/or ML models. However, we may use the search query information as training data to improve our internal non generalized models, this data will be stored securely and will never be shared or otherwise distributed to third parties.
Critique AI does not access or store any other data from your Google Sheets, except the values you provide in the search query. The contents of your spreadsheets will never be used for training or improving any of our models, except when explicitly provided by the user in the search query and never to train generalized models. If you wish to opt out of your data being used in any capacity, please contact us at [support@critique-labs.ai](mailto:support@critique-labs.ai).

### **Data Handling**

* Queries are **processed in real-time** and returned to the user, Information supplied in the search query by the user may stored securely in our database, but it will never be shared or otherwised distributed to third parties.
* API keys are stored **locally within the user's Google Sheets** and are not transmitted elsewhere.
* We do not use the **Google Workspace APIs** to develop, improve, or train generalized AI and/or ML models.

## **Terms of Service**

By using the Critique AI Google Sheets add-on, you agree to the following terms:

* **No Warranty:** The service is provided "as is" without guarantees of uptime or accuracy.
* **Liability Disclaimer:** Critique AI is not responsible for any **financial, legal, or reputational damages** from incorrect or misinterpreted search results.
* **API Key Security:** Users are responsible for keeping their API key private. **DO NOT SHARE API KEYS** or publish sheets containing them.
* **Prohibited Use:** Users must not use the API for illegal activities or misinformation.

For support, visit the [Critique AI Help Center](https://discord.gg/DCpxerTKHm).

***

Start using **Critique AI in Google Sheets today** and streamline your research workflow!
