---
title: "List Api Events"
method: GET
path: "/v2/deprecated/history"
deprecated: true
---

# List Api Events

`GET /v2/deprecated/history`

> **Deprecated.**

Fetches all API History events for given filters.

## Query parameters

- `method` string[] — HTTP methods to include in search
- `path` string[] — API paths to include in search
- `success` boolean — Filter by API request success/failure
- `status_code` integer[] — HTTP status codes to include in search
- `client_ip` string[] — IPs of clients to include in search
- `actor_type` string[] — Actor type to search (member, user, api_key)
- `actor_id` string[] — Actor ID to search
- `actor_display_name` string — Actor display name to search
- `project_id` string[] — Projects to include in search
- `env_id` string[] — Environments to include in search
- `timestamp_from` integer — Retrieve only events after this timestamp (seconds since epoch)
- `timestamp_until` integer — Retrieve only events before this timestamp (seconds since epoch)
- `page` integer — Page number of the results to fetch, starting at 1.
- `per_page` integer — The number of results per page (max 100).

## Response `200`

Successful Response

- PaginatedResultAPIHistoryEventRead
  - `data` APIHistoryEventRead[], required — List of Api History Events
    - `timestamp` string, date-time, required
    - `timestamp_utc` string, date-time
    - `method` string, required
    - `path` string, required
    - `success` boolean, required
    - `status` integer, required
    - `request_id` string, uuid
    - `client_ip` string, required
    - `actor_type` string, required
    - `actor_id` string, uuid, required
    - `actor_display_name` string
    - `org_id` string, uuid
    - `project_key` string
    - `project_id` string, uuid
    - `env_key` string
    - `env_id` string, uuid
    - `id` string, uuid, required
  - `total_count` integer, required
  - `page_count` integer

## Other responses

- `422` — Validation Error

---

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