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
| Plan | Retention |
|---|---|
| Free | 3 days |
| Developer | 30 days |
| Pro | 90 days |
| Custom | No fixed window |
List audit-log entries
Section titled “List audit-log entries”GET /v1/audit-logQuery parameters
Section titled “Query parameters”| Parameter | Type | Description |
|---|---|---|
from | ISO-8601 datetime | Lower bound (inclusive). Silently clamped to the retention window if older. |
to | ISO-8601 datetime | Upper bound (inclusive). Defaults to now. |
action | string | Filter by exact action (see Action types). Older names (key.create, key.delete, key.regenerate) are matched by their current names. |
category | string | Filter by action category: account, keys, agents, calendars, events, scheduling, webhooks, human_calendars, billing or security. |
actor_type | string | Filter by who acted: session, org_key, agent_key, oauth_app or system (see Who acted). |
actor_id | string | Filter by actor id: an API key id, your organization id for console sessions, or the connection id for a connected app (oauth_app). |
actor_key_prefix | string | Filter by the first 20 chars of the actor API key. |
request_id | string | Filter by the request id of the original call (its X-Request-Id response header). |
resource | string | Filter by an entity id the request touched (cal_abc123), or a bare id prefix (cal_) for every entry about that kind of entity. |
status_class | string | Filter by response status class: 2xx, 3xx, 4xx or 5xx. |
cursor | string | Opaque pagination cursor from a previous response. |
limit | integer (1–200) | Page size. Defaults to 50. |
Who acted
Section titled “Who acted”Every entry says who made the change.
actor_type | Meaning | actor_id | actor_label |
|---|---|---|---|
session | Someone signed in to the console | Your organization id | The account email |
org_key | The Organization key (chr_sk_*) | The key id | The key label, or the key prefix |
agent_key | An Agent key (chr_ak_*) | The key id | The key label, or the key prefix |
oauth_app | An app connected to the hosted MCP server by signing in, such as Claude | The connection id | The app’s name |
system | Chronary made the change itself | null | Chronary |
actor_type is null when no credential was presented (for example an agent sign-up) and on some older entries. actor_key_prefix is only set for API keys, never for console sessions.
Changes made over MCP
Section titled “Changes made over MCP”MCP tool calls that change something (create, update, delete, confirm, release, cancel and similar) are logged too, under the same action as the matching REST request. For example, create_event is logged as event.create. These entries have method MCP and path set to the tool name, such as create_event, and the actor_* fields name the key that made the call, as for REST requests. Read-only tools (get_*, list_*, find_meeting_time) are not logged.
Action types
Section titled “Action types”| Action | Trigger |
|---|---|
auth.signup | Organization registered |
auth.signin | Successful sign-in with a password (and the emailed code when two-factor sign-in is on) |
auth.oauth_signin | Successful sign-in with a linked account |
auth.reauth | Console session confirmed again with the account password before a sensitive change |
auth.signout | Sign-out |
session.revoke / session.revoke_others | Another signed-in browser was signed out / all other signed-in browsers were signed out |
auth.password_reset.complete | Password reset with an emailed link |
auth.password_change | Password changed from a signed-in session |
auth.password_set_link | Link to set a password sent to the account email |
auth.signin_locked | Password sign-in locked for 15 minutes after repeated failed attempts |
auth.oauth_link / auth.oauth_unlink | A Google, GitHub or Microsoft sign-in was linked to / removed from the account |
auth.two_factor.enable / auth.two_factor.disable | Two-factor sign-in was turned on / off |
auth.two_factor.recovery_codes | A new set of two-factor recovery codes was created |
auth.agent_signup / auth.agent_verify | Agent sign-up created a new organization / was verified |
auth.failure | Invalid API key on an authenticated route |
org.update / org.preferences_update / org.plan_change / org.onboarding_complete | Organization updated / preferences updated / plan changed / onboarding completed |
terms.accept | Current terms of service accepted |
account.export / account.delete | Account data exported / account deleted |
claim.initiate / .verify / .revoke | Account claim started / verified / revoked |
org_key.create / .roll / .update / .delete | Organization key created / rolled / renamed / deleted |
org_key.regenerate | Organization key regenerated (older entries: key.regenerate) |
agent_key.create | Agent key created (older entries: key.create) |
agent_key.update | Agent key renamed |
agent_key.revoke | Agent key, or all keys of one agent, revoked (older entries: key.delete) |
org_key.expiry_reminder / agent_key.expiry_reminder | Expiry reminder sent for a key that expires within 7 days (actor system) |
org_key.leak_revoke / agent_key.leak_revoke | Key revoked because GitHub secret scanning found it in a public place (actor system) |
agent.create / .update / .delete | Agent CRUD |
calendar.create / .update / .delete | Calendar CRUD |
availability_rules.update / .delete | Availability rules set / removed |
ical_subscription.create / .update / .delete / .sync | iCal subscription CRUD and on-demand sync |
event.create / .update / .delete | Event CRUD |
event.confirm / event.release | Hold confirmed / released |
proposal.create / .respond / .resolve / .cancel | Scheduling proposal lifecycle |
booking_page.create / .update / .delete / .rotate_slug | Booking page CRUD / public link rotated |
webhook.create / .update / .delete | Webhook subscription CRUD |
connection.create | A human calendar connection was completed and access granted |
connection.start / .update / .refresh / .reauthorize / .pause / .resume / .delete | Human calendar connection lifecycle |
availability_grant.create / .update / .delete | Availability grant CRUD |
connection_link.create / .revoke | Connection link created / revoked |
external_destination.set / .remove | External destination set / removed |
billing.checkout / .portal / .upgrade / .cancel / .resume / .sync | Checkout started / billing portal opened / plan upgraded / subscription set to end / subscription resumed / billing synced |
billing.upgrade_request.create / .cancel / .decline | Agent upgrade request lifecycle |
rate_limit.exceeded | Request throttled (429) |
Example
Section titled “Example”curl "https://api.chronary.ai/v1/audit-log?limit=20" \ -H "Authorization: Bearer chr_sk_your_key_here"from chronary import Chronary
client = Chronary(api_key="chr_sk_your_key_here")result = client.audit_log.list(limit=20)
for entry in result.data: print(f"{entry.created_at} {entry.action} {entry.status}")
# Paginateif result.pagination.next_cursor: next_page = client.audit_log.list(cursor=result.pagination.next_cursor)import Chronary from '@chronary/sdk';
const client = new Chronary({ apiKey: 'chr_sk_your_key_here' });const result = await client.auditLog.list({ limit: 20 });
for (const entry of result.data) { console.log(entry.created_at, entry.action, entry.status);}
// Paginateif (result.pagination.next_cursor) { const nextPage = await client.auditLog.list({ cursor: result.pagination.next_cursor });}client, _ := chronary.NewClient(chronary.WithAPIKey("chr_sk_your_key_here"))
result, err := client.AuditLog.List(ctx, &chronary.ListAuditLogParams{ Limit: 20,}, nil)
for _, entry := range result.Data { fmt.Println(entry.CreatedAt, entry.Action, entry.Status)}chronary audit-log list --limit 20chronary audit-log list --action agent.createchronary audit-log list --from 2026-05-01T00:00:00Zchronary audit-log list --actor-type agent_key --status-class 4xxchronary audit-log list --resource cal_ --category calendarsResponse
Section titled “Response”{ "data": [ { "id": "aud_abc123def456", "action": "agent.create", "actor_key_prefix": "chr_sk_abcdef1234567", "actor_type": "org_key", "actor_id": "0b6f8c1e-3d2a-4c55-9f7e-1a2b3c4d5e6f", "actor_label": "Production key", "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}Response fields
Section titled “Response fields”| Field | Type | Description |
|---|---|---|
data | array | Array of audit entries, newest first. |
data[].actor_type | string | null | session, org_key, agent_key, oauth_app or system. See Who acted. |
data[].actor_id | string | null | API key id, your organization id for a console session, or the connection id for a connected app. |
data[].actor_label | string | null | Key label (or key prefix), account email, the connected app’s name, or Chronary. |
data[].actor_key_prefix | string | null | First 20 characters of the API key that acted. Never the full key. |
pagination.next_cursor | string | null | Pass this as cursor to fetch the next page. null = no more results. |
retention_days | integer | null | Your plan’s retention window (days). null = no fixed window (Custom plan: per contract). |
range_clamped | boolean | true when the requested from was outside the retention window and was automatically clamped. |