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

# Pro API

### Setup

To enable the Pro API: Got to your brewerys admin page (<https://bricks.bierbot.com/#/brewery/admin>), locate the "Pro-API" section and toggle the enable toggle to on. The Pro-API key and API key become available. The latter is the normal API key you've used for setting up all your Brick. The first one is an additional API key we need for communicating with the API.

<figure><img src="/files/3KA3BCwx3gYPt1LaNTxS" alt=""><figcaption><p>Pro-API config menu</p></figcaption></figure>

### Usage

Note: This requires at least a PRO membership.

If you're missing an endpoint, please reach out using the blue feedback button, the [contact form](https://bierbot.com/contact/) or the [forum](https://forum.bierbot.com).

{% openapi src="/files/FfGzYLLZ4DmuZUGP50CY" path="/api/devices" method="get" %}
[My Project.openapi.json](https://972345729-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mb-yazhyh6RzCW1gcvw%2Fuploads%2Ft4H4asf7ILS2fpktQWy0%2FMy%20Project.openapi.json?alt=media\&token=5914dead-4226-4d38-bc7c-59b3b3f729ee)
{% endopenapi %}

{% openapi src="/files/FfGzYLLZ4DmuZUGP50CY" path="/api/device" method="get" %}
[My Project.openapi.json](https://972345729-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mb-yazhyh6RzCW1gcvw%2Fuploads%2Ft4H4asf7ILS2fpktQWy0%2FMy%20Project.openapi.json?alt=media\&token=5914dead-4226-4d38-bc7c-59b3b3f729ee)
{% endopenapi %}


---

# 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 dynamically by asking a question.

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

```
GET https://docs.bierbot.com/developer-section/pro-api.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
