---
title: "Count audit logs"
method: GET
path: "/audit-log/count"
tags: ["accounts"]
---

# Count audit logs

`GET /audit-log/count`

## Query parameters

- `actor_type` 'api_key' | 'app_user' | 'stripe_app' | 'system' | 'temporary_access_token'
- `end_time` string, date-time
- `environment_id` string
- `q` string
- `start_time` string, date-time
- `limit` integer — Page limit (default 100)
- `offset` integer — Page offset (default 0)

## Response `200`

OK

- object
  - `data` CountResponse, required
    - `count` integer — The number of resources
  - `params` object, required — Input parameters
    - `actor_type` 'api_key' | 'app_user' | 'stripe_app' | 'system' | 'temporary_access_token'
    - `end_time` string, date-time
    - `environment_id` string
    - `limit` integer — Page limit (default 100)
    - `offset` integer — Page offset (default 0)
    - `q` string
    - `start_time` string, date-time

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `500` — Server error

## Changes

> 125 revisions in range; 61 could not be searched.

- **2026-07-15** `3baa54bf8b3f` — 2 warning
  - for the `query` request parameter `limit`, the max was set to `250.00`
  - for the `query` request parameter `limit`, the min was set to `0.00`

[Change history](https://skmtc.dev/schematichq/apis/schematic-api/changes/audit-log/count/get.md)

---

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