Skip to content
Documentation
Esc
↑↓navigate↵open⌘Jpreview
On this page

Audit logs

Search and export organization activity by time, action, actor, resource, and outcome.

Organization admins can search and export their organization’s archived activity in the Limrun console. Members, viewers, API keys, and instance tokens cannot access audit logs.

Search activity

Select your organization in the console, then open Audit logs under Access. Choose a start and end time up to 7 days apart and select Search. Times use your browser’s local timezone.

You can filter by action, actor ID, resource ID, and outcome. Text filters match exact values. Results show the matching total and the current record range, newest first. Choose 25, 50, 100, or 200 under Rows per page. The default is 50. Use Next and Previous to browse. Click a row, or use its Details button, to inspect the event’s identifiers, source, HTTP status, duration, and available metadata.

Loaded pages stay available during the search, and the console loads the next page ahead of time. Returning to a loaded page does not run another search. If loading the next page in the background fails, selecting Next retries it.

Refresh clears cached pages and repeats the current search window from the first page. To include activity after its end time, update To and search again. Changing organizations clears the previous organization’s search.

Export activity

To download audit logs, choose Export, select a start and end time up to 30 days apart, and choose CSV or JSON. The export applies the current action, actor, resource, and outcome filters and includes every matching event, not just the visible page. Times in the picker are local; exported timestamps use UTC.

The JSON file is an array of audit events. The CSV file has a header row and stores metadata as JSON in its last column. CSV cells that a spreadsheet could interpret as formulas are prefixed with an apostrophe.

Preparing an export can take up to 120 seconds. If it fails or times out, the console reports an error instead of downloading a partial file; try a shorter range.

Read the results

The Actor column shows the label captured when the event occurred: a member’s email, an API key’s name, or a system label such as Limrun system. For members and API keys, hover over or focus the info icon next to the label to see the user ID or API key ID. Older events without a recorded label show a generic one, such as API key, or Actor unavailable.

Actions use customer-facing names such as instance.create, instance.delete, instance.terminated, asset.upload.request, api_key.create, and member.role.change. Filtering by instance.create matches create events for every instance platform, including historical events. The outcome describes the result: an accepted create request does not prove readiness, and an upload request does not prove that bytes were uploaded.

Instance creation and readiness are separate events. Lifecycle events (instance.assigned, instance.ready, and instance.terminated) show when the transition occurred, even if they arrived later. A download grant records permission to download, not proof that a transfer completed. A successful billing request does not establish payment settlement.

Successful routine reads such as instance polling, metadata lists, analytics, and audit-log searches are excluded from new audit capture. Organization details and members, token and secret lists, audit-log searches, SSO/SCIM configuration, and instance and asset get and list operations retain only HTTP 401, 403, and 429 responses. Health checks, public catalogs, analytics, identity polling, SCIM user and schema lookups, and billing metadata are excluded at every response status.

Secret-value access, invoice links, build logs, session artifacts, authentication events, audit-log exports, and billing-session creation remain recorded. Asset reads also record other outcomes when upload or download URLs are requested. Previously archived read events remain searchable.

Recent events may take about 5 minutes to appear. An empty result means no archived events matched the search; it does not prove an action never happened. Capture is best effort, and activity can be missing. Late arrivals can change results between pages.

If browsing is unavailable, the console displays an error rather than an empty result. Retry a busy search shortly. For a timeout, try a shorter window or more specific filters.

Event metadata

Events can include optional metadata, shown in the expanded console row, the API response, and exports. Metadata describes the event at capture time.

Event Metadata when available
instance.terminated reason: UserRequested, InactivityTimeout, HardTimeout, CapacityTimeout, or Unknown.
instance.create Effective inactivity_timeout and hard_timeout, such as 5m0s and 1h0m0s. Billing or concurrency rejections can include the public error reason.
Membership and invitations Target email, role, previous_role, and a result such as added, unchanged, or removed.
API keys, scoped tokens, CLI approval, and OAuth grants Granted scopes, expires_at, and key name or OAuth client_id where applicable.
Secret reads, writes, and deletion name, secret_type, and result. Secret values are never included.
User, organization, and SSO updates changed_fields. Organization numeric settings include settings entries with field, before, and after. SSO secret changes set secret_rotated.
SCIM changes Credential creation or rotation, policy activated and direct_role_assignments_disabled, or user email, active, and assigned role. User updates can include previous_active and previous_role.
Organization domains added_domains, removed_domains, or verified domain and verification_method.
Asset access and upload requests Asset name and asset_kind for individual assets, and requested access such as upload or download. Signed URLs are never included.
build_cache.update cache_key and result: bound or unchanged.
Checkout and subscription changes plan and a result such as checkout_created, confirmation_requested, cancelled, or unchanged. Opening checkout or confirmation does not prove payment or a completed plan change.

Fields are optional, and older events may lack them. New metadata does not backfill existing events. If details exceed the event size limit, metadata contains only {"truncated":true} and the core event remains available. A failed HTTP response can still include a committed result, for example when an invitation was saved but its email could not be sent.

API endpoints

The console calls two backend endpoints with the signed-in admin’s session. Neither accepts an API key in place of organization admin membership.

GET /organizations/{organizationId}/audit_logs returns one page of events:

Parameter Meaning
start, end Required timestamps with timezone offsets. Start is inclusive and end is exclusive; the range cannot exceed 7 days.
action, actorId, resourceId Optional exact text matches. action takes the customer-facing names above; historical operation names remain accepted as exact aliases for retained events.
outcome Optional success, accepted, denied, failure, or unknown.
limit Optional page size from 1 to 200, default 50.
cursor The previous response’s nextCursor, used with the same organization, filters, and page size.

The response contains an events array, a total matching count after deduplication and before pagination, and an optional nextCursor. The count may change as late events arrive, so it does not provide a fixed snapshot across pages. Each event has an actor label; actorId is present for members, API keys, and other customer credentials. A search times out after 60 seconds.

GET /organizations/{organizationId}/audit_logs/export returns every matching event as a file. It takes start, end, and a required format of csv or json, plus the same optional action, actorId, resourceId, and outcome filters. The range can span up to 30 days, and generation stops after 120 seconds. It does not accept limit or cursor.

Last updated on