# Using the Swagger Docs page

Assuming that you have been able to successfully start the Docker and access the **Swagger Docs** page via:

```
http://localhost:7777/docs
```

The following describes how to use the **Swagger Docs** page.  The **Swagger Docs** page makes http(s) calls via your browser. Hence, everything detailed below can also be accomplished using an http library in a programming language of your choice.

The page also provides cURL commands that you can execute from the command line to send requests and receive responses.

### Authorization

Each API end-point in the **Swagger Docs** page requires an `x-api-key` header for authorisation.

For your convenience, the **Swagger Docs** page allows you to authorise via the UI in a browser.

This is demonstrated in the next section.


---

# 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.sensecrypt.com/sensecrypt-v3.1.1/sensecrypt-server/using-the-swagger-docs-page.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.
