# Login History

## Login History

<mark style="color:blue;">`GET`</mark> `https://api.vaultoro.com/v1/private/history/logins`

#### Query Parameters

| Name          | Type    | Description                                                        |
| ------------- | ------- | ------------------------------------------------------------------ |
| until         | number  | Timestamp for the end date of the results                          |
| limit         | number  | Number of results per page                                         |
| page          | number  | The number of requested page.                                      |
| sortDirection | integer | The direction to sort by createdAt field. It can be either 1 or -1 |
| since         | number  | Timestamp for the beginning date of the results                    |

#### Headers

| Name   | Type   | Description   |
| ------ | ------ | ------------- |
| VTOKEN | string | The API token |

{% tabs %}
{% tab title="200 " %}

```
{
    "data": {
        "results": [
            {
                "ts": 1618570442,
                "ip": "::ffff:127.0.0.1",
                "createdAt": "2021-04-16T10:54:02.000Z"
            },
            {
                "ts": 1618781118,
                "ip": "::ffff:127.0.0.1",
                "createdAt": "2021-04-18T21:25:18.000Z"
            },
            {
                "ts": 1618781546,
                "ip": "::ffff:127.0.0.1",
                "createdAt": "2021-04-18T21:32:26.000Z"
            },
            {
                "ts": 1618842209,
                "ip": "::ffff:127.0.0.1",
                "createdAt": "2021-04-19T14:23:29.000Z"
            },
            {
                "ts": 1618844021,
                "ip": "::ffff:127.0.0.1",
                "createdAt": "2021-04-19T14:53:41.000Z"
            }
        ]
    }
}
```

{% endtab %}
{% endtabs %}


---

# 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://api-docs.vaultoro.com/login-history.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.
