Audit
Workspace audit event discovery.
Operations
Each operation lists its specific responses. See Common error responses for errors shared by every operation on this page.
List workspace audit events
GET /api/v1/workspaces/{workspace}/audit-events
Operation ID: listAuditEvents
Effect: read
Confirmation: never
Required privilege: VIEW_AUDIT
Focused reference: JSON · Markdown
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
workspace |
path | Yes | string | |
actor |
query | No | string | |
action |
query | No | string | |
targetType |
query | No | string | |
targetId |
query | No | string | |
from |
query | No | string | |
to |
query | No | string | |
limit |
query | No | integer | |
pageToken |
query | No | string |
Responses
| Status | Description |
|---|---|
200 |
The request has succeeded. |
List workspace query audit events
GET /api/v1/workspaces/{workspace}/query-events
Operation ID: listQueryEvents
Effect: read
Confirmation: never
Required privilege: VIEW_AUDIT
Focused reference: JSON · Markdown
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
workspace |
path | Yes | string | |
principal |
query | No | string | |
surface |
query | No | string | |
operation |
query | No | string | |
kind |
query | No | string | |
modelId |
query | No | string | |
target |
query | No | string | |
status |
query | No | string | |
search |
query | No | string | |
from |
query | No | string | |
to |
query | No | string | |
limit |
query | No | integer | |
pageToken |
query | No | string |
Responses
| Status | Description |
|---|---|
200 |
The request has succeeded. |
Common error responses
These error responses apply to every operation on this page.
| Status | Description |
|---|---|
400 |
The server could not understand the request due to invalid syntax. |
401 |
Access is unauthorized. |
403 |
Access is forbidden. |
404 |
The server cannot find the requested resource. |
409 |
The request conflicts with the current state of the server. |
412 |
Precondition failed. |
413 |
Client error |
415 |
Client error |
422 |
Client error |
429 |
Client error |
500 |
Server error |
502 |
Server error |
503 |
Service unavailable. |