Audit events
Set up
Section titled “Set up”npm install @limitry/sdkimport { createClient } from "@limitry/sdk";
const limitry = createClient(); // reads LIMITRY_API_KEYpip install limitryfrom limitry import Limitry
limitry = Limitry() # reads LIMITRY_API_KEYnpm install -g @limitry/clilimitry loginexport LIMITRY_API_KEY="lim_test_…"List workspace audit events
Section titled “List workspace audit events”GET /v1/workspace/audit-events
The workspace’s audit trail, newest first.
await limitry.workspace.auditEvents.list();limitry.workspace.audit_events.list()limitry workspace audit-events listcurl -X GET "https://api.limitry.com/v1/workspace/audit-events" \ -H "Authorization: Bearer $LIMITRY_API_KEY"| Field | Description |
|---|---|
limit | Items per page, 1–100 (default 25). |
cursor | Opaque token from a previous page's nextCursor. |
More about this endpoint
Paginate with the opaque nextCursor token; limit is clamped to 1–100 (default 25). Owner-only for personal access tokens, like the audit page in the application; a Workspace API key is its workspace and always passes.