Skip to main content

List organization management audit logs

Requirements, permissions, request and response fields, and error handling.

Request and permissions

GET https://openapi.qwenwork.ai/v1/biz/operation-logs Authentication: Authorization: Bearer <access_token>; use an access token obtained through user OAuth authorization. Required business Scope: biz.audit.read Authorization method declared in the contract: Organization authorization (organization) The platform must enable the Scope for the application. The user must have the required business permissions, and the target resource must be within their accessible scope. Availability of personal or organization authorization depends on the application's actual console configuration.

Behavior and limitations

Query administrator operations in the authorized organization to trace who acted on members, permissions, settings, and other organization resources, and when. The application requires biz.audit.read authorization, and the operator requires audit.read permission. Organization owners and super administrators retain their permission exemptions. All parameters may be omitted on the first request; the default window is the last 7 days. start/end require timezone-aware timestamps. The start is inclusive and the end exclusive, with a maximum span of 180 days. Equal start and end values define an empty window. category/action use category and action codes from the audit catalog; unknown values or empty strings return 400. target_type/target_id match raw strings exactly, including empty strings. Filter by actor, operation, outcome, and related target. When target_type, target_id, and team_id are combined, a single related record within the same operation must satisfy all filters. The response returns the operation's primary record and historical name, role, and target name snapshots. Results are ordered by occurred_at and operation_id descending, with microsecond timestamp precision. For the next page, pass next_cursor and repeat the original filters. Omitted times are restored from the cursor; explicitly supplied times must represent the original window. limit may be adjusted. On the last page, next_cursor=null and has_more=false. Every page returns the actual window. Missing keys, null, and 0 in counts have different meanings and are preserved from the original record. settings_type returns publicly available setting categories. Records may change during pagination. Even when no record is found, verify the operation's result on the relevant business page.

Query parameters

ParameterTypeRequiredDescription and constraints
startstringNoInclusive start; timezone required. See the API description for omission rules.
Format: "date-time"
endstringNoExclusive end; timezone required. See the API description for omission rules.
Format: "date-time"
cursorstringNoThe previous page's next_cursor. An empty string starts the first page; whitespace-only, invalid, or mismatched cursors return 400. Repeat the original filters when paging; omitted times are restored from the cursor.
Maximum length: 1024
limitintegerNoAny integer from 1–100 per page; defaults to 50. Values above 100 return 400 from gateway parameter checks or 422 when validated directly by Biz. Values are not capped. May be adjusted between pages.
Default: 50
Format: "int64"
Minimum (inclusive): 1
Maximum (inclusive): 100
actor_idstringNoExact match on the historical actor UUID.
Format: "uuid"
actor_typestringNoActor identity code: administrator for organization administration; console for platform operations.
Allowed values: ["administrator", "console"]
Minimum length: 1
operation_idstringNoExact match on the audit operation UUID; can be used to retrieve the primary operation again.
Format: "uuid"
categorystringNoExact match on an audit catalog category code; unknown or empty values return 400.
Maximum length: 64
actionstringNoExact match on a raw audit action catalog code; unknown or empty values return 400. Pairing with category is not validated.
Maximum length: 128
outcomestringNoExact match on the primary operation's outcome; not recalculated from counts.
Allowed values: ["success", "failed", "unknown"]
Minimum length: 1
target_typestringNoExact match on the related target type; not restricted to the catalog. Empty strings match empty strings.
Maximum length: 64
target_idstringNoExact match on the related target ID; UUID format is not required. Empty strings match empty strings.
Maximum length: 255
team_idstringNoExact match on the historical team UUID; does not switch organizations.
Format: "uuid"

Request body

The public contract does not declare a request body. Do not add identity fields or undeclared business fields.

Success response

Preserve each business API's original response structure. Do not add a common code/msg/data wrapper.

HTTP 200

Organization management audit logs retrieved successfully. All declared fields are present; empty lists are []. Response type: application/json
{
  "has_more": false,
  "items": [
    {
      "action": "app.enterprise_settings.endpoints.upsert_enterprise_settings",
      "actor_id": "00000000-0000-4000-8000-000000000001",
      "actor_name_snapshot": "历史管理员",
      "actor_role_snapshot": "admin",
      "actor_type": "administrator",
      "category": "settings",
      "counts": {
        "requested": 1,
        "success": 1,
        "unknown": null
      },
      "error_code": null,
      "occurred_at": "2026-11-12T00:00:00.123456Z",
      "operation_id": "00000000-0000-4000-8000-000000000002",
      "outcome": "success",
      "settings_type": "skillhub",
      "target_id": null,
      "target_name_snapshot": null,
      "target_type": "enterprise",
      "team_id": null
    }
  ],
  "next_cursor": null,
  "window": {
    "end": "2026-11-13T00:00:00Z",
    "start": "2026-11-12T00:00:00Z"
  }
}
FieldTypeRequiredDescription and constraints
has_morebooleanYes—
itemsarrayYes—
items[]objectNoAdditional properties: false
items[].actionstringYes—
items[].actor_idstringYes—
items[].actor_name_snapshotstring | nullYes—
items[].actor_role_snapshotstring | nullYesAllowed values: ["member", "admin", "super_admin", "owner", null]
items[].actor_typestringYesAllowed values: ["administrator", "console"]
items[].categorystringYes—
items[].countsobjectYesOnly these six count keys are allowed. Missing keys, null, and 0 are preserved distinctly. No statistics is represented as {}; values are not zero-filled or forcibly summed. omitted_targets is not a failure count.
Additional properties: false
items[].counts.failedinteger | nullNoFormat: "int64"
Minimum (inclusive): -9223372036854775808
Maximum (inclusive): 9223372036854775807
items[].counts.omitted_targetsinteger | nullNoFormat: "int64"
Minimum (inclusive): -9223372036854775808
Maximum (inclusive): 9223372036854775807
items[].counts.requestedinteger | nullNoFormat: "int64"
Minimum (inclusive): -9223372036854775808
Maximum (inclusive): 9223372036854775807
items[].counts.skippedinteger | nullNoFormat: "int64"
Minimum (inclusive): -9223372036854775808
Maximum (inclusive): 9223372036854775807
items[].counts.successinteger | nullNoFormat: "int64"
Minimum (inclusive): -9223372036854775808
Maximum (inclusive): 9223372036854775807
items[].counts.unknowninteger | nullNoFormat: "int64"
Minimum (inclusive): -9223372036854775808
Maximum (inclusive): 9223372036854775807
items[].error_codestring | nullYes—
items[].occurred_atstringYesFormat: "date-time"
items[].operation_idstringYes—
items[].outcomestringYesAllowed values: ["success", "failed", "unknown"]
items[].settings_typestring | nullYesReturned only for the settings category or organization settings update actions when after in the first change item with field=settings_type and value_recorded not false is a known setting code; otherwise null.
Allowed values: ["skillhub", "member_list", "data_sharing_mode", "im_channel", "web_publishing", "industry_access", "security_policy", "ecosystem_market_publish", null]
items[].target_idstring | nullYes—
items[].target_name_snapshotstring | nullYes—
items[].target_typestringYes—
items[].team_idstring | nullYes—
next_cursorstring | nullYes—
windowobjectYesAdditional properties: false
window.endstringYesFormat: "date-time"
window.startstringYesFormat: "date-time"

Error responses

HTTPDescription and handling
400log_invalid_query: Invalid time window, timezone, or business filters. For L03, this also includes unknown catalog values and invalid or mismatched cursors. Correct the window/filters before retrying. The gateway first validates parameters against the public schema. Invalid types, ranges, or enums return OPENAPI_PARAMETER_INVALID; unknown/duplicate parameters return OPENAPI_QUERY_PARAMETER_UNKNOWN / OPENAPI_PARAMETER_DUPLICATED, respectively; invalid encoding returns OPENAPI_QUERY_INVALID. All return 400 and do not reach Biz.
401OPENAPI_TOKEN_MISSING, OPENAPI_TOKEN_INVALID, or OPENAPI_TOKEN_EXPIRED: The access token is missing, invalid, or expired. Use a valid organization-authorized access token.
403openapi_permission_denied: Missing organization authorization, current identity permissions, or enabled Scope. Even owner/super administrators cannot bypass organization authorization and Scope requirements. Verify the authorized organization and current identity.
405Method Not Allowed
413Request Entity Too Large
415Unsupported Media Type
422RequestValidationError: Raw parameter parsing or validation failed after the request reached Biz. Gateway and Biz validation are not fully equivalent. For example, page=1e1 in L01/L02 and limit=1e1 in L03 can pass gateway numeric validation, but Biz integer text parsing returns 422. When accessing Biz directly, unknown/duplicate parameters, invalid encoding, and format/type/length/enum or page size errors also return 422. Correct the parameters indicated in detail before retrying. Page sizes are not capped.
429audit_log_read_limited: Audit query concurrency, waiting, or rate budgets are exhausted. Retry after Retry-After seconds. Gateway rate limiting may return OPENAPI_RATE_LIMITED.
500Internal Biz processing failed. Retain the request ID and contact support. Do not interpret the error as an absence of logs.
502biz_openapi_unavailable: The read was cancelled. The gateway also returns 502 if it does not receive a valid response or the content exceeds the API response budget (OPENAPI_UPSTREAM_RESPONSE_TOO_LARGE). Reduce the page size and retry. If the failure persists, retain the request ID and contact support. Responses are not truncated and partial pages are not returned.
503log_unavailable: A log dependency is unavailable, records are missing during lookup, returned data is invalid, or the read is incomplete. Retry later. If the failure persists, retain the request ID and contact support. Do not interpret this as an absence of logs.
504biz_openapi_unavailable or gateway OPENAPI_TIMEOUT: The read timed out. Narrow the query range or retry later.
Retain the request ID and error fields from the response for troubleshooting. A write operation may have taken effect even after a timeout or disconnection. Do not automatically retry solely because no success response was received.

Complete field contract

The JSON below contains this API's complete request, response, and error schemas, nested constraints, and public extension definitions. Copy it for reference. No success examples are inferred where none are declared.
{
  "components": {
    "schemas": {
      "BizDomainErrorResponse": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "error": {
            "type": "string"
          },
          "org_status_reason": {
            "description": "Raw JSON value of the organization status reason; may be null"
          },
          "request_id": {
            "type": "string"
          },
          "seat_count": {
            "description": "Configured organization seat count, returned when provided by the domain error",
            "format": "int64",
            "type": "integer"
          },
          "seat_used": {
            "description": "Used organization seat count, returned when provided by the domain error",
            "format": "int64",
            "type": "integer"
          },
          "trace_id": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "error",
          "detail",
          "request_id",
          "trace_id"
        ],
        "type": "object"
      },
      "BizGatewayErrorResponse": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "integer"
          },
          "data": {
            "type": "null"
          },
          "error_code": {
            "type": "string"
          },
          "msg": {
            "type": "string"
          },
          "request_id": {
            "type": "string"
          },
          "trace_id": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "msg",
          "data",
          "error_code"
        ],
        "type": "object"
      },
      "OperationLog": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "type": "string"
          },
          "actor_id": {
            "type": "string"
          },
          "actor_name_snapshot": {
            "type": [
              "string",
              "null"
            ]
          },
          "actor_role_snapshot": {
            "enum": [
              "member",
              "admin",
              "super_admin",
              "owner",
              null
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "actor_type": {
            "enum": [
              "administrator",
              "console"
            ],
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "counts": {
            "additionalProperties": false,
            "description": "Only these six count keys are allowed. Missing keys, null, and 0 are preserved distinctly. No statistics is represented as {}; values are not zero-filled or forcibly summed. omitted_targets is not a failure count.",
            "properties": {
              "failed": {
                "format": "int64",
                "maximum": 9223372036854775807,
                "minimum": -9223372036854775808,
                "type": [
                  "integer",
                  "null"
                ]
              },
              "omitted_targets": {
                "format": "int64",
                "maximum": 9223372036854775807,
                "minimum": -9223372036854775808,
                "type": [
                  "integer",
                  "null"
                ]
              },
              "requested": {
                "format": "int64",
                "maximum": 9223372036854775807,
                "minimum": -9223372036854775808,
                "type": [
                  "integer",
                  "null"
                ]
              },
              "skipped": {
                "format": "int64",
                "maximum": 9223372036854775807,
                "minimum": -9223372036854775808,
                "type": [
                  "integer",
                  "null"
                ]
              },
              "success": {
                "format": "int64",
                "maximum": 9223372036854775807,
                "minimum": -9223372036854775808,
                "type": [
                  "integer",
                  "null"
                ]
              },
              "unknown": {
                "format": "int64",
                "maximum": 9223372036854775807,
                "minimum": -9223372036854775808,
                "type": [
                  "integer",
                  "null"
                ]
              }
            },
            "type": "object"
          },
          "error_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "occurred_at": {
            "format": "date-time",
            "type": "string"
          },
          "operation_id": {
            "type": "string"
          },
          "outcome": {
            "enum": [
              "success",
              "failed",
              "unknown"
            ],
            "type": "string"
          },
          "settings_type": {
            "description": "Returned only for the settings category or organization settings update actions when after in the first change item with field=settings_type and value_recorded not false is a known setting code; otherwise null.",
            "enum": [
              "skillhub",
              "member_list",
              "data_sharing_mode",
              "im_channel",
              "web_publishing",
              "industry_access",
              "security_policy",
              "ecosystem_market_publish",
              null
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "target_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "target_name_snapshot": {
            "type": [
              "string",
              "null"
            ]
          },
          "target_type": {
            "type": "string"
          },
          "team_id": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "operation_id",
          "occurred_at",
          "actor_id",
          "actor_name_snapshot",
          "actor_role_snapshot",
          "actor_type",
          "action",
          "category",
          "target_type",
          "target_id",
          "target_name_snapshot",
          "team_id",
          "settings_type",
          "outcome",
          "counts",
          "error_code"
        ],
        "type": "object"
      },
      "OperationLogPage": {
        "additionalProperties": false,
        "properties": {
          "has_more": {
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/OperationLog"
            },
            "type": "array"
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "window": {
            "$ref": "#/components/schemas/OperationLogWindow"
          }
        },
        "required": [
          "items",
          "next_cursor",
          "has_more",
          "window"
        ],
        "type": "object"
      },
      "OperationLogWindow": {
        "additionalProperties": false,
        "properties": {
          "end": {
            "format": "date-time",
            "type": "string"
          },
          "start": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "start",
          "end"
        ],
        "type": "object"
      },
      "ValidationErrorResponse": {
        "additionalProperties": false,
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationIssue"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "error": {
            "type": "string"
          },
          "request_id": {
            "type": "string"
          },
          "trace_id": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "error",
          "detail",
          "request_id",
          "trace_id"
        ],
        "type": "object"
      },
      "ValidationIssue": {
        "additionalProperties": false,
        "properties": {
          "ctx": {
            "additionalProperties": {},
            "type": "object"
          },
          "input": {},
          "loc": {
            "items": {},
            "type": [
              "array",
              "null"
            ]
          },
          "msg": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "loc",
          "msg",
          "input"
        ],
        "type": "object"
      }
    },
    "securitySchemes": {
      "OpenPlatformBearer": {
        "description": "Organization-authorized application access token; Scope does not replace operator permissions or resource isolation",
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "openapi": "3.1.0",
  "paths": {
    "/v1/biz/operation-logs": {
      "get": {
        "description": "Query administrator operations in the authorized organization to trace who acted on members, permissions, settings, and other organization resources, and when. The application requires biz.audit.read authorization, and the operator requires audit.read permission. Organization owners and super administrators retain their permission exemptions.\n\nAll parameters may be omitted on the first request; the default window is the last 7 days. start/end require timezone-aware timestamps. The start is inclusive and the end exclusive, with a maximum span of 180 days. Equal start and end values define an empty window. category/action use category and action codes from the audit catalog; unknown values or empty strings return 400. target_type/target_id match raw strings exactly, including empty strings.\n\nFilter by actor, operation, outcome, and related target. When target_type, target_id, and team_id are combined, a single related record within the same operation must satisfy all filters. The response returns the operation's primary record and historical name, role, and target name snapshots.\n\nResults are ordered by occurred_at and operation_id descending, with microsecond timestamp precision. For the next page, pass next_cursor and repeat the original filters. Omitted times are restored from the cursor; explicitly supplied times must represent the original window. limit may be adjusted. On the last page, next_cursor=null and has_more=false. Every page returns the actual window.\n\nMissing keys, null, and 0 in counts have different meanings and are preserved from the original record. settings_type returns publicly available setting categories. Records may change during pagination. Even when no record is found, verify the operation's result on the relevant business page.",
        "operationId": "biz-list-operation-logs",
        "parameters": [
          {
            "description": "Inclusive start; timezone required. See the API description for omission rules.",
            "in": "query",
            "name": "start",
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "description": "Exclusive end; timezone required. See the API description for omission rules.",
            "in": "query",
            "name": "end",
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "description": "The previous page's next_cursor. An empty string starts the first page; whitespace-only, invalid, or mismatched cursors return 400. Repeat the original filters when paging; omitted times are restored from the cursor.",
            "in": "query",
            "name": "cursor",
            "schema": {
              "maxLength": 1024,
              "type": "string"
            }
          },
          {
            "description": "Any integer from 1–100 per page; defaults to 50. Values above 100 return 400 from gateway parameter checks or 422 when validated directly by Biz. Values are not capped. May be adjusted between pages.",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 50,
              "format": "int64",
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "Exact match on the historical actor UUID.",
            "in": "query",
            "name": "actor_id",
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "Actor identity code: administrator for organization administration; console for platform operations.",
            "in": "query",
            "name": "actor_type",
            "schema": {
              "enum": [
                "administrator",
                "console"
              ],
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "description": "Exact match on the audit operation UUID; can be used to retrieve the primary operation again.",
            "in": "query",
            "name": "operation_id",
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "Exact match on an audit catalog category code; unknown or empty values return 400.",
            "in": "query",
            "name": "category",
            "schema": {
              "maxLength": 64,
              "type": "string"
            }
          },
          {
            "description": "Exact match on a raw audit action catalog code; unknown or empty values return 400. Pairing with category is not validated.",
            "in": "query",
            "name": "action",
            "schema": {
              "maxLength": 128,
              "type": "string"
            }
          },
          {
            "description": "Exact match on the primary operation's outcome; not recalculated from counts.",
            "in": "query",
            "name": "outcome",
            "schema": {
              "enum": [
                "success",
                "failed",
                "unknown"
              ],
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "description": "Exact match on the related target type; not restricted to the catalog. Empty strings match empty strings.",
            "in": "query",
            "name": "target_type",
            "schema": {
              "maxLength": 64,
              "type": "string"
            }
          },
          {
            "description": "Exact match on the related target ID; UUID format is not required. Empty strings match empty strings.",
            "in": "query",
            "name": "target_id",
            "schema": {
              "maxLength": 255,
              "type": "string"
            }
          },
          {
            "description": "Exact match on the historical team UUID; does not switch organizations.",
            "in": "query",
            "name": "team_id",
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "has_more": false,
                  "items": [
                    {
                      "action": "app.enterprise_settings.endpoints.upsert_enterprise_settings",
                      "actor_id": "00000000-0000-4000-8000-000000000001",
                      "actor_name_snapshot": "历史管理员",
                      "actor_role_snapshot": "admin",
                      "actor_type": "administrator",
                      "category": "settings",
                      "counts": {
                        "requested": 1,
                        "success": 1,
                        "unknown": null
                      },
                      "error_code": null,
                      "occurred_at": "2026-11-12T00:00:00.123456Z",
                      "operation_id": "00000000-0000-4000-8000-000000000002",
                      "outcome": "success",
                      "settings_type": "skillhub",
                      "target_id": null,
                      "target_name_snapshot": null,
                      "target_type": "enterprise",
                      "team_id": null
                    }
                  ],
                  "next_cursor": null,
                  "window": {
                    "end": "2026-11-13T00:00:00Z",
                    "start": "2026-11-12T00:00:00Z"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/OperationLogPage"
                }
              }
            },
            "description": "Organization management audit logs retrieved successfully. All declared fields are present; empty lists are [].",
            "headers": {
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "example": {
                  "code": "log_invalid_query",
                  "detail": "Invalid log query window, filter or cursor",
                  "error": "BadRequest",
                  "request_id": "example-request",
                  "trace_id": null
                },
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/BizDomainErrorResponse"
                    },
                    {
                      "$ref": "#/components/schemas/BizGatewayErrorResponse"
                    }
                  ]
                }
              }
            },
            "description": "log_invalid_query: Invalid time window, timezone, or business filters. For L03, this also includes unknown catalog values and invalid or mismatched cursors. Correct the window/filters before retrying. The gateway first validates parameters against the public schema. Invalid types, ranges, or enums return OPENAPI_PARAMETER_INVALID; unknown/duplicate parameters return OPENAPI_QUERY_PARAMETER_UNKNOWN / OPENAPI_PARAMETER_DUPLICATED, respectively; invalid encoding returns OPENAPI_QUERY_INVALID. All return 400 and do not reach Biz.",
            "headers": {
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "example": {
                  "code": 401,
                  "data": null,
                  "error_code": "OPENAPI_TOKEN_INVALID",
                  "msg": "Unauthorized"
                },
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/BizDomainErrorResponse"
                    },
                    {
                      "$ref": "#/components/schemas/BizGatewayErrorResponse"
                    }
                  ]
                }
              }
            },
            "description": "OPENAPI_TOKEN_MISSING, OPENAPI_TOKEN_INVALID, or OPENAPI_TOKEN_EXPIRED: The access token is missing, invalid, or expired. Use a valid organization-authorized access token.",
            "headers": {
              "WWW-Authenticate": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "example": {
                  "code": "openapi_permission_denied",
                  "detail": "Organization authorization and operator permissions are required",
                  "error": "Forbidden",
                  "request_id": "example-request",
                  "trace_id": null
                },
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/BizDomainErrorResponse"
                    },
                    {
                      "$ref": "#/components/schemas/BizGatewayErrorResponse"
                    }
                  ]
                }
              }
            },
            "description": "openapi_permission_denied: Missing organization authorization, current identity permissions, or enabled Scope. Even owner/super administrators cannot bypass organization authorization and Scope requirements. Verify the authorized organization and current identity.",
            "headers": {
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "405": {
            "content": {
              "application/json": {
                "example": {
                  "code": 405,
                  "data": null,
                  "error_code": "OPENAPI_METHOD_NOT_ALLOWED",
                  "msg": "Method Not Allowed"
                },
                "schema": {
                  "$ref": "#/components/schemas/BizGatewayErrorResponse"
                }
              }
            },
            "description": "Method Not Allowed",
            "headers": {
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "413": {
            "content": {
              "application/json": {
                "example": {
                  "code": 413,
                  "data": null,
                  "error_code": "OPENAPI_REQUEST_TOO_LARGE",
                  "msg": "Request Entity Too Large"
                },
                "schema": {
                  "$ref": "#/components/schemas/BizGatewayErrorResponse"
                }
              }
            },
            "description": "Request Entity Too Large",
            "headers": {
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "415": {
            "content": {
              "application/json": {
                "example": {
                  "code": 415,
                  "data": null,
                  "error_code": "OPENAPI_UNSUPPORTED_MEDIA_TYPE",
                  "msg": "Unsupported Media Type"
                },
                "schema": {
                  "$ref": "#/components/schemas/BizGatewayErrorResponse"
                }
              }
            },
            "description": "Unsupported Media Type",
            "headers": {
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "example": {
                  "detail": [
                    {
                      "input": null,
                      "loc": [
                        "query",
                        "limit"
                      ],
                      "msg": "Invalid pagination parameters",
                      "type": "value_error"
                    }
                  ],
                  "error": "RequestValidationError",
                  "request_id": "example-request",
                  "trace_id": null
                },
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ValidationErrorResponse"
                    },
                    {
                      "$ref": "#/components/schemas/BizGatewayErrorResponse"
                    }
                  ]
                }
              }
            },
            "description": "RequestValidationError: Raw parameter parsing or validation failed after the request reached Biz. Gateway and Biz validation are not fully equivalent. For example, page=1e1 in L01/L02 and limit=1e1 in L03 can pass gateway numeric validation, but Biz integer text parsing returns 422. When accessing Biz directly, unknown/duplicate parameters, invalid encoding, and format/type/length/enum or page size errors also return 422. Correct the parameters indicated in detail before retrying. Page sizes are not capped.",
            "headers": {
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "example": {
                  "code": "audit_log_read_limited",
                  "detail": "Audit log reader is busy",
                  "error": "TooManyRequests",
                  "request_id": "example-request",
                  "trace_id": null
                },
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/BizDomainErrorResponse"
                    },
                    {
                      "$ref": "#/components/schemas/BizGatewayErrorResponse"
                    }
                  ]
                }
              }
            },
            "description": "audit_log_read_limited: Audit query concurrency, waiting, or rate budgets are exhausted. Retry after Retry-After seconds. Gateway rate limiting may return OPENAPI_RATE_LIMITED.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "string"
                }
              },
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "example": {
                  "detail": "An internal error occurred.",
                  "error": "InternalServerError",
                  "request_id": "example-request",
                  "trace_id": null
                },
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/BizDomainErrorResponse"
                    },
                    {
                      "$ref": "#/components/schemas/BizGatewayErrorResponse"
                    }
                  ]
                }
              }
            },
            "description": "Internal Biz processing failed. Retain the request ID and contact support. Do not interpret the error as an absence of logs.",
            "headers": {
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "502": {
            "content": {
              "application/json": {
                "example": {
                  "code": "biz_openapi_unavailable",
                  "detail": "Biz service is unavailable",
                  "error": "BizUnavailable",
                  "request_id": "example-request",
                  "trace_id": null
                },
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/BizDomainErrorResponse"
                    },
                    {
                      "$ref": "#/components/schemas/BizGatewayErrorResponse"
                    }
                  ]
                }
              }
            },
            "description": "biz_openapi_unavailable: The read was cancelled. The gateway also returns 502 if it does not receive a valid response or the content exceeds the API response budget (OPENAPI_UPSTREAM_RESPONSE_TOO_LARGE). Reduce the page size and retry. If the failure persists, retain the request ID and contact support. Responses are not truncated and partial pages are not returned.",
            "headers": {
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "content": {
              "application/json": {
                "example": {
                  "code": "log_unavailable",
                  "detail": "Log records are unavailable",
                  "error": "ServiceUnavailable",
                  "request_id": "example-request",
                  "trace_id": null
                },
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/BizDomainErrorResponse"
                    },
                    {
                      "$ref": "#/components/schemas/BizGatewayErrorResponse"
                    }
                  ]
                }
              }
            },
            "description": "log_unavailable: A log dependency is unavailable, records are missing during lookup, returned data is invalid, or the read is incomplete. Retry later. If the failure persists, retain the request ID and contact support. Do not interpret this as an absence of logs.",
            "headers": {
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "504": {
            "content": {
              "application/json": {
                "example": {
                  "code": "biz_openapi_unavailable",
                  "detail": "Biz service is unavailable",
                  "error": "BizUnavailable",
                  "request_id": "example-request",
                  "trace_id": null
                },
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/BizDomainErrorResponse"
                    },
                    {
                      "$ref": "#/components/schemas/BizGatewayErrorResponse"
                    }
                  ]
                }
              }
            },
            "description": "biz_openapi_unavailable or gateway OPENAPI_TIMEOUT: The read timed out. Narrow the query range or retry later.",
            "headers": {
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          }
        },
        "security": [
          {
            "OpenPlatformBearer": []
          }
        ],
        "summary": "List organization management audit logs",
        "tags": [
          "日志与审计"
        ]
      }
    }
  },
  "info": {
    "title": "List organization management audit logs",
    "version": "2026-11-24"
  },
  "servers": [
    {
      "url": "https://openapi.qwenwork.ai"
    }
  ]
}
Back to the OpenAPI overview.