Skip to main content
GET
/
audit_log_entries
/
sparkline
Time-series event counts for sparkline charts
curl --request GET \
  --url https://api.arcuserp.com/v1/audit_log_entries/sparkline \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "data": [
    {
      "date": "<string>",
      "count": 123
    }
  ],
  "granularity": "<string>"
}

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>
granularity
enum<string>
default:day
Available options:
hour,
day,
week,
month
resource_type
string
severity
string

Response

Array of time-bucketed counts

object
enum<string>
Available options:
list
data
object[]
granularity
string