---
title: "List Api Logs"
method: GET
path: "/api_logs"
tags: ["Api Logs"]
---

# List Api Logs

`GET /api_logs`

Lists the requests served by Whop's API with the account's API keys, newest first — every surface (GraphQL, REST, and native /api/v1), reads and failed requests included.

## Query parameters

- `account_id` string
- `created_after` string
- `created_before` string
- `operation_name` string
- `http_method` 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE'
- `status` 'success' | 'error'
- `api_key_id` string
- `min_duration_ms` integer
- `max_duration_ms` integer
- `first` integer
- `after` string

## Response `200`

api logs listed

- object
  - `data` object[], required
    - `api_key_id` string, nullable
    - `created_at` string, required
    - `duration_ms` integer, nullable
    - `http_method` 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'null', nullable
    - `http_path` string, nullable
    - `id` string, required
    - `ip_address` string, nullable
    - `operation_name` string, nullable
    - `resource_id` string, nullable
    - `status` 'success' | 'error' | 'null', nullable
    - `status_code` integer, nullable
    - `user_agent` string, nullable
  - `page_info` object, required
    - `end_cursor` string, nullable, required
    - `has_next_page` boolean, required
    - `has_previous_page` boolean, required
    - `start_cursor` string, nullable, required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `429` — Too Many Requests

## Changes

- **2026-08-29** `1b5d50d09479` — 1 info
  - added the optional property `data/items/resource_id` to the response with the `200` status
- **2026-08-28** `4da7133b2de7` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/whop/apis/whop-api/changes/api_logs/get.md)

---

[API](https://skmtc.dev/whop/apis/whop-api.md) · [All operations](https://skmtc.dev/whop/apis/whop-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/whop/whop-api/revisions/1b5d50d09479/schema)
