Skip to main content
GET
/
audit_log_entries
/
stats
Aggregate counts for audit log dashboard
curl --request GET \
  --url https://api.arcuserp.com/v1/audit_log_entries/stats \
  --header 'Authorization: Bearer <token>'
{
  "object": "audit_stats",
  "total": 123,
  "by_action": {},
  "by_resource_type": {},
  "by_severity": {},
  "by_outcome": {},
  "from_date": "2023-11-07T05:31:56Z",
  "to_date": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.arcuserp.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key issued per entity via Settings > Developers > API Keys. Each key carries scopes (e.g. orders:read, products:write). Bearer token format: Authorization: Bearer ark_live_ent_Test keys use ark_test_ent_. Both are issued per entity
via Settings > Developers > API Keys.

Query Parameters

from_date
string<date-time>
to_date
string<date-time>
resource_type
string
actor_type
string
severity
string

Response

Aggregate stats

Aggregate counts for the audit log dashboard widget.

object
enum<string>
Available options:
audit_stats
total
integer
by_action
object

Count per action slug, e.g. {"order.created": 12, "payment.received": 5}.

by_resource_type
object
by_severity
object
by_outcome
object
from_date
string<date-time> | null
to_date
string<date-time> | null