# Api Requests

## Authenticating requests <a href="#authenticating-requests" id="authenticating-requests"></a>

To authenticate requests, include an **`Authorization`** header with the value **`"Bearer {YOUR_ACCESS_KEY}"`**.

## Get access info

Request:\
`GET` <https://tinyinstaller.top/api/v1/my/info\\>
Headers:\
`Authorization`: `Bearer {YOUR_ACCESS_KEY}`

### Get images

`GET` <https://tinyinstaller.top/api/v1/my/images\\>
Headers:\
`Authorization`: `Bearer {YOUR_ACCESS_KEY}`\
Body Parameters:\
`q`  Search keyword. Example win2012\
`page` Pagination page. Example: 2

### Get instances

`GET`  <https://tinyinstaller.top/api/v1/my/instances\\>
Headers:\
`Authorization`: `Bearer {YOUR_ACCESS_KEY}` \
Body Parameters:\
`ip_address` Filter by ip address. Example 123.123.123.123\
`status` Filter by status, available statuses: new, wait\_for\_tiny, installing, installed, error, timed\_out, done\
`page` Pagination page. Example 2\
&#x20;

### Get instance detail

`GET` <https://tinyinstaller.top/api/v1/my/instances/{id}\\>
Headers:\
`Authorization`: `Bearer {YOUR_ACCESS_KEY}` \
Url parameters:\
`id` Instance id from list. Example: 22353604-ae4a-47b3-8d70-ef919a9445e2

### Regenerate setup key

`POST` <https://tinyinstaller.top/api/v1/my/key/regenerate\\>
Headers:\
`Authorization`: `Bearer {YOUR_ACCESS_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://docs.tinyinstaller.top/api/api-requests.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.
