---
title: "GET /private/get_access_log"
method: GET
path: "/private/get_access_log"
tags: ["Account Management", "Private"]
---

# GET /private/get_access_log

`GET /private/get_access_log`

Retrieves a log of API access attempts and authentication events for the authenticated account. The log includes information such as IP addresses, timestamps, API methods called, and authentication status.

Use this method to monitor account security, review API usage patterns, and identify unauthorized access attempts. Results can be paginated using the `offset` and `count` parameters.

**Scope:** `account:read`

[Try in API console](https://test.deribit.com/api_console?method=%2Fprivate%2Fget_access_log)

## Query parameters

- `offset` integer
- `count` integer

## Response `200`

Success response

- PrivateGetAccessLogResponse
  - `jsonrpc` '2.0', required — The JSON-RPC version (2.0)
  - `id` integer — The id that was sent in the request
  - `result` AccessLog[], required
    - `id` integer, required — Unique identifier
    - `ip` string, required — IP address of source that generated action
    - `timestamp` integer, required — The timestamp (milliseconds since the Unix epoch)
    - `country` string, required — Country where the IP address is registered (estimated)
    - `city` string, required — City where the IP address is registered (estimated)
    - `log` string, required — Action description. Possible values: - ``changed_email`` - email was changed - ``changed_password`` - password was changed - ``disabled_tfa`` - TFA was disabled - ``enabled_tfa`` - TFA was enabled - ``success`` - successful login - ``failure`` - login failure - ``enabled_subaccount_login`` - login was enabled for subaccount (in `data` - subaccount uid) - ``disabled_subaccount_login`` - login was disabled for subaccount (in `data` - subaccount uid) - ``new_api_key`` - API key was created (in `data` key client id) - ``removed_api_key`` - API key was removed (in `data` key client id) - ``changed_scope`` - scope of API key was changed (in `data` key client id) - ``changed_whitelist`` - whitelist of API key was edited (in `data` key client id) - ``disabled_api_key`` - API key was disabled (in `data` key client id) - ``enabled_api_key`` - API key was enabled (in `data` key client id) - ``reset_api_key`` - API key was reset (in `data` key client id)
    - `data` union — Optional, additional information about action, type depends on `log` value
      - object
      - string

---

[API](https://skmtc.net/deribit/apis/deribit-api-2.md) · [All operations](https://skmtc.net/deribit/apis/deribit-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deribit/deribit-api-2/versions/430b3f0bc67c/schema)
