# Knowledge

Spara agents are trained on your company's knowledge base — product information, marketing content, and key talking points. The [Knowledge page](https://app.spara.co/knowledge) is where you manage all of the sources your agents use to answer lead questions accurately.

<figure><img src="/files/qP6UwL1BWsiVrYAhMyjL" alt=""><figcaption><p>The Knowledge page showing indexed webpages, documents, and key questions.</p></figcaption></figure>

Knowledge is different from your agent's prompt. The prompt defines *how* the agent behaves; knowledge defines *what* the agent knows.

## Knowledge Sources

### Webpages

Spara indexes your publicly available marketing website, including multiple subdomains (e.g., your product documentation site). This is where agents learn the bulk of information about your company.

The Webpages tab shows a domain hierarchy of all indexed pages. You can:

* **Toggle training** — Enable or disable individual pages or entire domains
* **Search** — Find specific pages by URL or content
* **Review content** — View what Spara has indexed from each page

### Documents

Upload files for Spara to learn from. Supported formats:

* PDF
* DOCX
* Markdown

Maximum file size is 25MB. Documents can be uploaded via drag-and-drop or file picker.

Each document can be set to **For training** (active) or **Archived** (excluded from agent knowledge). Use filters to find documents by file type, status, or last updated date.

Spara also supports syncing documents from external platforms:

* [Google Drive](/integrations/document-sync-integrations/google-drive.md)
* [Confluence](/integrations/document-sync-integrations/confluence.md)
* [Notion](/integrations/document-sync-integrations/notion.md)
* [Sharepoint](/integrations/document-sync-integrations/sharepoint.md)

### Key Questions

Key Questions are the most important questions your leads will ask. Each question has:

* **Current Response** — How Spara currently answers this question
* **Ideal Response** — The best possible answer, written by you

When you edit an Ideal Response, Spara recalculates its Current Response to incorporate your guidance. The agent won't copy your answer word-for-word — it uses the key information naturally within conversations.

Key Questions are categorized as: Value Prop, Product, Sales & Process, Competitive, Sensitive, or Misc. Each can be marked as "Reviewed" or "To review" to track your progress.

{% hint style="info" %}
Key Questions are the fastest way to improve agent accuracy on specific topics. If a lead asks something and the agent gets it wrong, add it as a Key Question with the ideal response.
{% endhint %}

## How Agents Use Knowledge

When a lead asks a question, Spara searches across all enabled knowledge sources — webpages, documents, and key questions — to find relevant information. The agent then incorporates that information into its response, following the tone and rules defined in its prompt.

Knowledge is shared across all agents in your organization. Any change to your knowledge base takes effect immediately for all agents.

## FAQ

### How often are webpages re-indexed?

Spara periodically re-crawls your website to keep the knowledge base current. If you need an immediate refresh after a website update, contact your Spara representative.

### Can I see what the agent knows about a topic?

Yes. Use the Key Questions tab to review how the agent responds to specific topics. You can also test your agents on the [Testing](/platform/testing.md) page to verify responses in real time.

### What if I upload conflicting information?

Spara uses the most recently updated information and gives priority to Key Questions over webpages. If you notice conflicting answers, update the relevant Key Question with the correct Ideal Response.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.spara.com/platform/knowledge.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
