List audit events
Changed onList the organization's audit events, newest first, within a range of at most 90 days.
No 404 gate here: JWTAuth._finish_auth already rejects (401) any token whose organization_id doesn't resolve via the same TenantInfoCache lookup, so by the time this view runs the org is guaranteed to exist.
Required OAuth scope: audit:read
Request
- Base URLhttps://api.skilljar.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Source channel, e.g. "mcp".
Opaque dashboard user id.
Action type, e.g. "update".
Target object type.
API request id.
Created on or after this timestamp. Defaults to 90 days before created_lte.
Created on or before this timestamp. Defaults to now. The range may span at most 90 days.
Maximum number of records to return.
Opaque cursor from the previous page's links.next.
Response
OK
Changes
- breaking
removed the required property
from the response with the status - warning
removed the optional property
from the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
removed the non-success response with the status
- info
added to the
response propertyanyOflist for the response status - info
removed
subschema #1from theresponse propertyanyOflist for the response status
- breaking
- info
endpoint added
- info