Returns the organization activity feed (actions taken across the org's projects), newest first. Keyset/cursor paginated.
Query parameters
-
Filter by project
-
Max events per page (default 50, max 200)
-
Opaque keyset cursor for the next page
-
Filter by action (e.g. agent.deploy)
-
Filter by category: access or mutation
-
Filter by actor email
-
Filter by outcome: success or failure
-
Start of time range (RFC3339)
-
End of time range (RFC3339)
-
Include admin events (operator actions and GSA runtime events); default false hides them
Responses
-
Unsupported or malformed API version, an operation unavailable in the selected published contract, or an unacceptable representation (including unsupported media-type parameters or excluded SSE). Existing authentication, authorization, and rate-limit failures take precedence.
-
OK
-
Bad Request
-
Unauthorized
-
Forbidden
-
Internal Server Error
curl \
--request GET 'https://agentengine.mongodb.com/api/v1/organizations/{id}/audit-events' \
--header "Authorization: $API_KEY"
{
"detail": "This operation is not available in API version 2026-09-20-preview.",
"error": 406,
"errorCode": "OPERATION_NOT_IN_API_VERSION",
"parameters": [
"Accept"
],
"reason": "Not Acceptable"
}
{
"detail": "This operation supports text/event-stream, which the Accept header excludes. Remove unsupported media-type parameters or accept this type with a positive q value.",
"error": 406,
"errorCode": "UNACCEPTABLE_MEDIA_TYPE",
"parameters": [
"Accept"
],
"reason": "Not Acceptable"
}
{
"detail": "The requested API version is not supported. Supported versions: 2026-09-20-preview.",
"error": 406,
"errorCode": "UNSUPPORTED_API_VERSION",
"parameters": [
"Accept"
],
"reason": "Not Acceptable"
}
{
"detail": "This operation is not available in API version 2026-09-20-preview.",
"error": 406,
"errorCode": "OPERATION_NOT_IN_API_VERSION",
"parameters": [
"Accept"
],
"reason": "Not Acceptable"
}
{
"audit_events": [
{
"action": "agent.deploy",
"actor": {
"client_id": "string",
"email": "string",
"roles": [
"string"
],
"type": "string",
"user_id": "string"
},
"category": "access",
"failure_reason": "string",
"id": "string",
"metadata": {},
"outcome": "success",
"scope": {
"org_id": "string",
"project_id": "string",
"workspace_id": "string"
},
"source_ip": "string",
"target": {
"id": "string",
"name": "string",
"type": "string"
},
"timestamp": "string"
}
],
"has_more": true,
"next_cursor": "string"
}
{
"audit_events": [
{
"action": "agent.deploy",
"actor": {
"client_id": "string",
"email": "string",
"roles": [
"string"
],
"type": "string",
"user_id": "string"
},
"category": "access",
"failure_reason": "string",
"id": "string",
"metadata": {},
"outcome": "success",
"scope": {
"org_id": "string",
"project_id": "string",
"workspace_id": "string"
},
"source_ip": "string",
"target": {
"id": "string",
"name": "string",
"type": "string"
},
"timestamp": "string"
}
],
"has_more": true,
"next_cursor": "string"
}
{
"code": "string",
"error": "string",
"success": true
}
{
"code": "string",
"error": "string",
"success": true
}
{
"code": "string",
"error": "string",
"success": true
}
{
"code": "string",
"error": "string",
"success": true
}
{
"code": "string",
"error": "string",
"success": true
}
{
"code": "string",
"error": "string",
"success": true
}
{
"code": "string",
"error": "string",
"success": true
}
{
"code": "string",
"error": "string",
"success": true
}