---
title: "Get Audits"
method: GET
path: "/api/v1/audits"
tags: ["Audit"]
---

# Get Audits

`GET /api/v1/audits`

Get Audits

## Query parameters

- `page` integer, required
- `per_page` integer, required

## Response `200`

OK

- D7yIoDragonflyV2ManagerModelsAudit[]
  - `actor_name` string — ActorName represents the actor name, it can be the username or token name.
  - `actor_type` string — ActorType represents the actor type, which can be one of the following: - UNKNOWN: Represents an unknown actor such as not authenticated. - USER: Represents a user. - PAT: Represents a personal access token.
  - `created_at` string
  - `detail` D7yIoDragonflyV2ManagerModelsJSONMap
  - `event_type` string — EventType represents the event type, indicates the type of event, API for http request, can expand to other types such as SYSTEM for internal system events in future.
  - `id` integer
  - `is_del` integer
  - `operated_at` string — OperatedAt represents the operation time.
  - `operation` string — Operation represents the operation, it will be the HTTP method for API events.
  - `path` string — Path represents the request path, it will be the URL path for API events.
  - `state` string — State represents the state, it indicates the state of the operation, e.g SUCCESS for API status code >= 200 & < 300.
  - `status_code` integer — StatusCode represents the status code, can be ignored for non-API events.
  - `updated_at` string

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/dragonflyoss/apis/dragonfly-manager.md) · [All operations](https://skmtc.net/dragonflyoss/apis/dragonfly-manager/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dragonflyoss/dragonfly-manager/revisions/d9b0d442c9f4/schema)
