組織のアクティビティフィード(組織のプロジェクト全体で実行されたアクション)を返します。最新のものから順に表示されます。キーセット/カーソルでページ分けされている。
クエリ パラメータ
-
プロジェクトでフィルター
-
ページごとのイベント数の最大値 (デフォルト 50、最大 200)
-
次のページ用の不透明なキーセット カーソル
-
アクションでフィルター(例:エージェント.配置する)
-
カテゴリーでフィルター: アクセスまたはミューテーション
-
アクター メールでフィルター
-
結果でフィルター: 成功または失敗
-
範囲の開始 (RFC3339)
-
時間範囲の終了 (RFC3339)
-
管理者イベント (演算子のアクションと GSA ランタイム イベント) を含める; デフォルトでは非表示になります
GET /API/v1/組織ID/監査するイベント
curl \
--request GET 'https://agentengine.mongodb.com/api/v1/organizations/{id}/audit-events' \
--header "Authorization: $API_KEY"
応答の例(406)
操作は利用できません
{
"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"
}
応答の例(406)
{
"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"
}
応答の例(200)
{
"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"
}
応答の例(200)
{
"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"
}
応答の例(400)
{
"code": "string",
"error": "string",
"success": true
}
応答の例(400)
{
"code": "string",
"error": "string",
"success": true
}
応答の例(401)
{
"code": "string",
"error": "string",
"success": true
}
応答の例(401)
{
"code": "string",
"error": "string",
"success": true
}
応答の例(403)
{
"code": "string",
"error": "string",
"success": true
}
応答の例(403)
{
"code": "string",
"error": "string",
"success": true
}
応答の例(500)
{
"code": "string",
"error": "string",
"success": true
}
応答の例(500)
{
"code": "string",
"error": "string",
"success": true
}