Updated on 2026-01-13 GMT+08:00

Obtaining OBS Audit Log Details

Function

This API is used to query details about OBS audit logs based on the abnormal event ID.

Calling Method

For details, see Calling APIs.

URI

GET /v1/{project_id}/sdg/exception/{exception_id}/detail

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

exception_id

Yes

String

Abnormal event ID.

project_id

Yes

String

Unique project ID.

Request Parameters

None

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

confirmed

Boolean

Exception confirmation status. true: confirmed, false: not confirmed.

error_code

String

Error code returned by an abnormal request.

event_name

String

Abnormal event name.

event_source

String

Event source.

event_total_count

Integer

integer

event_type

String

Exception type.

expired

Boolean

Exception expiration status. true: expired, false: not expired.

http_request_id

String

HTTP request ID.

http_status

Integer

HTTP status code returned by an abnormal request.

id

String

Event ID.

instance_name

String

Name of the instance where the abnormal object is located, which can be a bucket name, database name, or data ID.

location

String

Location of the abnormal object.

object_name

String

Abnormal object.

object_size

Integer

Object size (bytes).

operation_type

String

Operation type. The value can be CREATE, DELETE, UPDATE, READ, COPY, DELETE_CONFIG, READ_CONFIG, or UPDATE_CONFIG.

owner_id

String

Owner of the abnormal object.

process_time

Long

Exception handling time.

project_id

String

Tenant ID.

remote_ip

String

IP address of the request source of the abnormal request.

request_uri

String

Request URL.

requester_id

String

Requester of the abnormal request.

resource_type

String

Resource type, which can be BUCKET or OBJECT.

service_type

String

Service type, which can be OBS or RDS.

status

String

Exception status.

time

Long

Exception occurrence time.

total_time

Long

Processing time on the server (ms)

user_agent

String

Request header.

Example Requests

None

Example Responses

None

Status Codes

Status Code

Description

200

Query result.

401

Unauthorized. The user is not logged in or the token is invalid.

403

Unauthorized to access the resource.

404

The specified project or event does not exist.

Error Codes

See Error Codes.