Skip to main content
GET /audit returns a chronological log of every memory operation performed for a given user. Each entry records what action was taken, which app triggered it, which memory was affected, and a request_id you can use to correlate the entry with server-side logs.
Audit log availability depends on the provider. Check capabilities().features.supports_audit before calling this endpoint. Providers that do not support auditing will return an unsupported_capability error.

Query parameters

string
required
Return only audit entries for this user.
string
Filter entries to a specific application (e.g. cursor, chatgpt). Matches the app field from the memory’s source metadata.
string
ISO 8601 datetime. Return only entries at or after this timestamp.
integer
default:"100"
Maximum number of entries to return.

Response — 200 OK

AuditEntry[]
List of audit log entries, most recent first.

Example

Filter by app

Use request_id to match an audit entry to the corresponding line in your server’s access log. This is the fastest way to debug unexpected reads or writes to a user’s memory.