Get workspace logs
Changed onRetrieve a paginated list of audit logs for your workspace.
This endpoint allows you to:
- Get all audit logs in your workspace
- Filter logs by user, action, operation, or date range
- Paginate through large sets of logs using cursor-based or offset-based pagination
**Use cases:**
- Building an audit log viewer or dashboard
- Monitoring workspace activity
- Compliance and security auditing
- Tracking user actions and changes
**Available log actions:**
- workspace, workspace:team, workspace:invite, workspace:invite:redeem, workspace:preferences, workspace:avatar, workspace:rename, workspace:user, workspace:user:role
- collection
- scene, scene:readonly-link, scene:readonly-links, scene:link-sharing, scene:collection, scene:upload, scene:image-upload, scene:slides, scene:comment
- user:signup
- ai:diagram-to-code, ai:text-to-diagram, ai:text-to-drawing
Request
- Base URLhttps://api.excalidraw.com
- URLhttps://api.excalidraw.com/api/v1/logs
- AuthHTTP bearer
Query parameters
The number of items to return per page.
The number of items to skip before starting to collect the result set.
Cursor for pagination (sequence number). Use nextCursor from previous response.
Page number for offset-based pagination. Cannot be used with cursor.
Filter logs by user ID
Filter logs by action type
Filter logs by operation type
Filter logs from this date (ISO 8601 format)
Filter logs to this date (ISO 8601 format)
Response
This response returns a paginated list of workspace audit logs.
Changes
- breaking
the response property
////became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
became nullable for the status - info
response property
logs/items/details/anyOf[subschema #1]/anyOf[subschema #1]/list-of-types was narrowed by removing typesbooleannull and numberfrom media typeapplication/jsonof response200 - info
response property
logs/items/ip_addresslist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
response property
logs/items/source_idlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
response property
logs/items/user_idlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
response property
logs/items/user_picturelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
response property
logs/items/workspace_idlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
response property
nextCursorlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200
- breaking