# Authentication

## Root URL

```
http://cache-api-lb-794313801.us-east-1.elb.amazonaws.com/
```

To authenticate and use the API, first request an API key from Breakout Bro.&#x20;

## Usage

Attach the header `x-api-key` to your GET requests containing the API key.&#x20;

### Javascript Fetch Example

```javascript
const res = await fetch(
    'API_ENDPOINT', 
    {
        headers: { 'x-api-key': 'API_KEY' }
    }
)
```


---

# 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://breakout-bro.gitbook.io/breakout-bro-api/authentication.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.
