client.auditEventsOperation methods
Parameter declarations below are taken from the pinned TypeScript source. Request fields and responses are summarized from the matching OpenAPI operation; follow the API link for every field, constraint, example, and error description.
/audit-eventsauditEvents.list
Use this operation to list developer audit events. It returns only resources visible to the credential and applies the documented filters before producing a bounded, stable page. Required scopes, product permissions, sharing rules, workspace locks, and regional cell ownership are enforced for every request. Returned events are privacy-reduced and never include credentials, raw secrets, or unrestricted request bodies.
client.auditEvents.list(options?: AuditEventListOptions)- Return form
Promise- Operation ID
listAuditEvents- Required scopes
audit:read- SDK parameters
options: AuditEventListOptions- Query request fields
cursor?: stringlimit?: integeractorId?: stringactorType?: stringcreatedAtFrom?: stringcreatedAtTo?: stringcredentialId?: stringeventType?: stringoutcome?: stringrequestId?: stringsource?: stringtargetId?: stringtargetType?: string- Success
200 Array<AuditEvent> envelope
Convenience helpers
These typed helpers compose mapped operations. They do not grant scopes or bypass API limits.
auditEvents.pages
Iterate cursor pages with a bounded PaginationOptions policy.
client.auditEvents.pages(options?: AuditEventListOptions, pagination?: PaginationOptions)Returns AsyncGeneratorErrors and transport metadata
HTTP failures reject with TeamGridApiError, including the status, stable error documents, request ID, optional retry delay, and transport metadata. Local validation, routing, timeout, response-size, and pagination failures reject withTeamGridClientError and a stable client error code. Successful envelopes expose non-enumerable transport metadata.
See pagination and errors andclient configuration for handling guidance.