---
title: "Get CDN activity logs"
method: GET
path: "/cdn/activity_log/requests"
tags: ["CDN activity logs"]
---

# Get CDN activity logs

`GET /cdn/activity_log/requests`

Get information about all CDN activity logs records.

## Query parameters

- `path` string
- `user_id` integer
- `token_id` integer
- `client_id` integer
- `method` string
- `min_requested_at` string
- `max_requested_at` string
- `remote_ip_address` string
- `status_code` integer
- `limit` integer
- `offset` integer

## Response `200`

Successful.

- ActivityLogsPaginatedList
  - `count` integer — Total number of activity logs records.
  - `next` string — URL to the next activity logs records slice.
  - `previous` string — URL to the previous activity logs records slice.
  - `results` ActivityLogsDetails[] — Activity logs records.
    - `id` integer — Activity logs record ID.
    - `user_id` integer — ID of the user who made the request.
    - `token_id` integer — Permanent API token ID with which the request was made.
    - `client_id` integer — ID of the client who made the request.
    - `requested_at` string — Date and time when the request was made.
    - `path` string — Request URL.
    - `remote_ip_address` string — IP address from which the request was made.
    - `host` string — Host from which the request was made.
    - `method` string — Request HTTP method.
    - `query_params` string — Request parameters.
    - `data` Data — Request body.
    - `status_code` integer — Status code that is returned in the response.
    - `actions` object[] — State of a requested object before and after the request.
      - `action_type` string — Type of change. Possible values: - **D** - Object is deleted. - **C** - Object is created. - **U** - Object is updated.
      - `state_before_request` StateBeforeRequest — JSON representation of object before the request.
      - `state_after_request` StateAfterRequest — JSON representation of object after the request.

## Other responses

- `401` — Authentication credentials were not provided or the given token is not valid for any token type.

---

[API](https://skmtc.dev/g-core/apis/gcore-openapi.md) · [All operations](https://skmtc.dev/g-core/apis/gcore-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/g-core/gcore-openapi/revisions/09e652815095/schema)
