Skip to content

Audit Log

Query mutating API operations and auth lifecycle events for your organization. Entries are ordered newest-first and clamped to the per-tier retention window.

Retention windows

PlanRetention
Free3 days
Pro90 days
CustomPer contract
GET /v1/audit-log
ParameterTypeDescription
fromISO-8601 datetimeLower bound (inclusive). Silently clamped to the retention window if older.
toISO-8601 datetimeUpper bound (inclusive). Defaults to now.
actionstringFilter by exact action (see Action types).
actor_key_prefixstringFilter by the first 20 chars of the actor API key.
cursorstringOpaque pagination cursor from a previous response.
limitinteger (1–200)Page size. Defaults to 50.
ActionTrigger
auth.signupOrganization registered
auth.signinSuccessful sign-in
auth.signoutSign-out
auth.failureInvalid API key on an authenticated route
key.createAgent-scoped key created
key.deleteAgent-scoped key revoked
key.regenerateOrg key regenerated
org.updateOrg name or settings changed
account.deleteAccount deleted
agent.create / .update / .deleteAgent CRUD
calendar.create / .update / .deleteCalendar CRUD
event.create / .update / .deleteEvent CRUD
webhook.create / .update / .deleteWebhook subscription CRUD
ical_subscription.create / .update / .deleteiCal subscription CRUD
rate_limit.exceededRequest throttled (429)
Terminal window
curl "https://api.chronary.ai/v1/audit-log?limit=20" \
-H "Authorization: Bearer chr_sk_your_key_here"
{
"data": [
{
"id": "aud_abc123def456",
"action": "agent.create",
"actor_key_prefix": "chr_sk_abcdef12345678",
"agent_id": null,
"resource": "",
"ip": "203.0.113.10",
"status": 201,
"method": "POST",
"path": "/v1/agents",
"duration_ms": 42,
"request_id": "req_8e9f...",
"created_at": "2026-05-10T10:00:00.000Z"
}
],
"pagination": {
"next_cursor": null
},
"retention_days": 90,
"range_clamped": false
}
FieldTypeDescription
dataarrayArray of audit entries, newest first.
pagination.next_cursorstring | nullPass this as cursor to fetch the next page. null = no more results.
retention_daysinteger | nullYour plan’s retention window (days). null = unlimited.
range_clampedbooleantrue when the requested from was outside the retention window and was automatically clamped.