Get operation log overview¶
Summarize operation-record counts for the current identity in the current workspace, so you can quickly see the counts of successful and failed operations. This API does not return individual operation records and does not support filters.
GET $CLOUDSIGMA_API_BASE/audit/logs/overview
Before you call this API¶
Configure the regional API endpoint and authentication, and select the target workspace.
Query parameters¶
curl "$CLOUDSIGMA_API_BASE/audit/logs/overview" \
-H "X-API-Key: $CLOUDSIGMA_API_KEY" \
-H "X-Workspace-ID: $WORKSPACE_ID"
This API accepts no additional query parameters.
Success response¶
On success, the API returns a summary of operation records for the current identity.
{
"code": "OK",
"msg": "OK",
"data": {
"total": 3,
"success": 2,
"failed": 1
}
}
Field |
Type |
Description |
|---|---|---|
code |
string |
|
msg |
string |
|
data.total |
integer |
Total number of operation records. |
data.success |
integer |
Number of successful operations. |
data.failed |
integer |
Number of failed operations. |
Error response¶
{
"code": "ErrServer",
"msg": "Internal server error",
"data": null
}
Field |
Type |
Description |
|---|---|---|
code |
string |
Error code. |
msg |
string |
Error message. |
data |
null |
— |
Next steps¶
To inspect individual operations, list operation logs.