Skip to main content
Return a workspace’s operation audit log, newest first, up to 200 entries. Key actions such as KB creation and document upload are recorded.

Endpoint

Authentication

Authorization: Bearer <jwt> or X-API-Key <sk_...>. Minimum role: admin.

Path parameters

string
required
Workspace id.

Response

The response is an array; each element is an audit record:
string
Record id (aud_...).
string
Owning workspace id.
string
Actor user id.
string
Action type (e.g. create_kb, upload_document).
string
Id of the object the action targeted.
string
Action detail (JSON string).
string
Occurred time (RFC3339).

Example