> For the complete documentation index, see [llms.txt](https://docs.appfarm.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.appfarm.io/reference/appfarm-ai/ask.md).

# Ask

Ask is a feature in Appfarm AI for you to ask questions directly to the documentation and your Solution. Access Ask by opening the Appfarm AI sidebar and toggling the **Ask** mode.

<figure><img src="https://29237295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MiLU-xcHu0eLZiTxcmZ%2Fuploads%2F8YFq1vZ2r0RUgEmpKrv1%2Fimage.png?alt=media&amp;token=6c2d8bbe-4dd8-4213-bc53-d45bc209c59a" alt=""><figcaption></figcaption></figure>

<figure><img src="https://29237295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MiLU-xcHu0eLZiTxcmZ%2Fuploads%2FyxtX3TLZnWG4fZn2U5z3%2Fimage.png?alt=media&amp;token=c50c91fa-a830-43c3-ae56-a9265cd2aa46" alt=""><figcaption></figcaption></figure>

Ask has access to the complete Appfarm [Documentation](https://docs.appfarm.io/) and [Policies](https://policies.appfarm.io/), providing it with technical, legal, and commercial knowledge. It can also read your Solution model, such as your apps, actions, data sources, and object classes, to answer questions about how your Solution is built. It doesn't have access to the data stored in your Solution. Unlike [Agent mode](/reference/appfarm-ai/build.md), Ask isn't limited to specific parts of Appfarm Create–it can answer questions about anything covered in the documentation or policies.

Ask doesn't make changes to your Solution. If you ask it to change something, it explains how you can make the change. To have Appfarm AI make changes for you, use Agent mode.

Using Ask does not consume [AI credits](/reference/appfarm-ai/ai-credits.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.appfarm.io/reference/appfarm-ai/ask.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
