---
title: "Get recent audit log entries"
method: GET
path: "/v1/audit/recent"
tags: ["Audit"]
---

# Get recent audit log entries

`GET /v1/audit/recent`

## Request

- Base URL: `https://api.agentry.sh`
- URL: `https://api.agentry.sh/v1/audit/recent`
- Auth: HTTP bearer

## Query parameters

- `hours` integer

## Response `200`

OK

- object
  - `hours` number, required
  - `since` integer, required
  - `count` integer, required
  - `actions` object[], required
    - `id` string
    - `at` integer
    - `action` string
    - `resource_type` string
    - `resource_id` string, nullable
    - `project_id` string, nullable
    - `summary` string, nullable
    - `ip` string, nullable
    - `ua` string, nullable
    - `metadata` object
  - `next_action` string

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/agentry/apis/agentry-api.md) · [All operations](https://skmtc.dev/agentry/apis/agentry-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agentry/apis/agentry-api/revisions/abdecddf009f?raw)
