---
title: "Search Audit Logs"
method: POST
path: "/v0/platform/audit-logs/search"
tags: ["Audit Logs"]
---

# Search Audit Logs

`POST /v0/platform/audit-logs/search`

Returns audit events for the organization. Dates are interpreted in UTC. Request/response enums are aligned so values returned can be reused as filters.

## Request body

- AuditLogSearchRequest — Request body for searching audit logs. Dates are interpreted in UTC.
  - `start_date` string, date-time, required — Start of the date range (UTC, inclusive).
  - `end_date` string, date-time, required — End of the date range (UTC, inclusive).
  - `sort` 'asc' | 'desc' — Sort order for results by timestamp.
  - `actor_types` AuditActorType[] — Filter results to events performed by these actor types.
  - `actor_names` string[] — Filter results to events performed by these actor names.
  - `actions` AuditActionType[] — Filter results to these action types.
  - `entity_types` AuditEntityType[] — Filter results to events affecting these entity types.
  - `entity_ids` string[] — Filter results to events affecting these entity IDs.
  - `chains` string[] — Filter results to events associated with these chain names.
  - `search_text` string — Free-text search across audit log fields.
  - `page` integer — Page number to return (1-indexed).
  - `page_size` integer — Number of results per page.

## Response `200`

- AuditLogSearchResponse — Paginated list of audit log events matching the search criteria.
  - `items` AuditLogItem[], required — Audit log events returned for this page.
    - `id` string, required — Unique identifier of the audit log entry.
    - `actor` string — Identifier of the actor that performed the action (e.g. email address or API key ID).
    - `entity_id` string — Identifier of the entity affected by the action.
    - `chain` string — Blockchain network associated with the event, if applicable.
    - `summary` string — Human-readable description of the event.
    - `timestamp` string, date-time, required — UTC timestamp of when the event occurred.
    - `actor_type` 'user' | 'system' | 'API', required — The type of actor that performed the audited action.
    - `action` 'create' | 'edit' | 'delete' | 'info', required — The type of action recorded in the audit log.
    - `entity_type` 'cosigner' | 'cosigner_policy' | 'cosigner_transaction' | 'cosigner_manual_action' | 'label' | 'asset' | 'monitor' | 'api_key' | 'user_session' | 'audit_export' | 'metric' | 'response_wallet' | 'rpc_gateway_rule' | 'settings' | 'endpoint' | 'feature' | 'backoffice_api_key' | 'organization' | 'organization_extended', required — The type of entity affected by the audited action.
  - `total` integer, required — Total number of matching audit log events.
  - `page` integer, required — Current page number.
  - `pages` integer, required — Total number of pages available.
  - `size` integer, required — Number of events returned in this page.

---

[API](https://skmtc.net/blockaid-official/apis/blockaid-api.md) · [All operations](https://skmtc.net/blockaid-official/apis/blockaid-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blockaid-official/blockaid-api/revisions/17c41f337b2e/schema)
