> For the complete documentation index, see [llms.txt](https://docs.predicthq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.predicthq.com/api/loop.md).

# Loop

- [Overview](https://docs.predicthq.com/api/loop/overview.md)
- [Loop Links](https://docs.predicthq.com/api/loop/loop-links.md)
- [Create a Loop Link](https://docs.predicthq.com/api/loop/loop-links/create-a-loop-link.md): Create a new Loop Link to begin submitting events and feedback.
- [Search Loop Links](https://docs.predicthq.com/api/loop/loop-links/search-loop-links.md): Search existing Loop Links.
- [Get a Loop Link](https://docs.predicthq.com/api/loop/loop-links/get-a-loop-link.md): Get an existing Loop Link.
- [Update a Loop Link](https://docs.predicthq.com/api/loop/loop-links/update-a-loop-link.md): Update (replace) an existing Loop Link.
- [Delete a Loop Link](https://docs.predicthq.com/api/loop/loop-links/delete-a-loop-link.md): Delete an existing Loop Link.
- [Loop settings](https://docs.predicthq.com/api/loop/loop-settings.md)
- [Get Loop settings](https://docs.predicthq.com/api/loop/loop-settings/get-loop-settings.md): Loop settings control how the Loop UI displays certain elements.
- [Update Loop settings](https://docs.predicthq.com/api/loop/loop-settings/update-loop-settings.md): Update your Loop Settings.
- [Loop submissions](https://docs.predicthq.com/api/loop/loop-submissions.md)
- [Search submitted events](https://docs.predicthq.com/api/loop/loop-submissions/search-submitted-events.md): Search events submitted by your organization.
- [Loop feedback](https://docs.predicthq.com/api/loop/loop-feedback.md)
- [Search feedback](https://docs.predicthq.com/api/loop/loop-feedback/search-feedback.md): Search feedback conversations submitted by your organization.


---

# 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.predicthq.com/api/loop.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.
