curl --request GET \
--url https://{host}/v2/workspaces/slug:ai-governance-v2/webhooks/v1/orgs/{orgSlug}/audit \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{host}/v2/workspaces/slug:ai-governance-v2/webhooks/v1/orgs/{orgSlug}/audit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{host}/v2/workspaces/slug:ai-governance-v2/webhooks/v1/orgs/{orgSlug}/audit"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"orgSlug": "<string>",
"period": {
"start": 123,
"end": 123
},
"pagination": {
"page": 123,
"limit": 123,
"total": 123
},
"count": 123,
"logs": [
{
"timestamp": "2023-11-07T05:31:56Z",
"category": "<string>",
"action": "<string>",
"actor": {},
"target": {},
"changes": {},
"reason": "<string>",
"metadata": {},
"correlationId": "<string>"
}
]
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}List audit events for an organization
Returns audit events stored as organizations.audit events on the
platform topic. Filterable by category, action, and date range.
Requires observability:read permission scoped to the path
orgSlug. Rate-limited to 100 calls per minute.
curl --request GET \
--url https://{host}/v2/workspaces/slug:ai-governance-v2/webhooks/v1/orgs/{orgSlug}/audit \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{host}/v2/workspaces/slug:ai-governance-v2/webhooks/v1/orgs/{orgSlug}/audit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{host}/v2/workspaces/slug:ai-governance-v2/webhooks/v1/orgs/{orgSlug}/audit"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"orgSlug": "<string>",
"period": {
"start": 123,
"end": 123
},
"pagination": {
"page": 123,
"limit": 123,
"total": 123
},
"count": 123,
"logs": [
{
"timestamp": "2023-11-07T05:31:56Z",
"category": "<string>",
"action": "<string>",
"actor": {},
"target": {},
"changes": {},
"reason": "<string>",
"metadata": {},
"correlationId": "<string>"
}
]
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}Authorizations
User-bound credential carrying an identity: either a session JWT
or a user access token (at:*) generated from the user settings UI.
Send as Authorization: Bearer <token>.
Org API keys (iak_*) are not accepted here - they carry
no user identity. Use the x-prismeai-api-key header instead
(see OrgApiKeyAuth).
Path Parameters
Organization slug.
64^[a-zA-Z0-9_-]+$Query Parameters
Filter by category.
member, role, org, sso, quota, apikey, auth 32Filter by action (created, updated, deleted, etc.).
32ISO start (default last 7 days).
64ISO end (default now).
64Max results (default 50).
Page number (default 1).
Response
Audit log entries.
Was this page helpful?