| GET | /api/audit |
| GET | /api/audit/export |
Audit log list
GET/api/audit
Paginated list with filters.
Authentication: bearer token.
Permission: audit.view.
Query parameters
| Name | Type | Required | Notes |
|---|---|---|---|
action | string | No | At most 100 characters. |
actorId | string | No | |
resourceType | string | No | At most 100 characters. |
resourceId | string | No | |
startDate | string | No | ISO 8601. |
endDate | string | No | ISO 8601. |
search | string | No | At most 200 characters. |
page | number | No | Default 1. At least 1. |
limit | number | No | Default 25. 1–100. |
bash
curl -X GET "https://shellius.example.com/api/audit" \
-H "Authorization: Bearer $SHELLIUS_TOKEN"200 OK
json
{ "success": true, "data": { … } }Audit export CSV/JSON
GET/api/audit/export
CSV or JSON download.
Authentication: bearer token.
Permission: audit.export.
Query parameters
| Name | Type | Required | Notes |
|---|---|---|---|
action | string | No | At most 100 characters. |
actorId | string | No | |
resourceType | string | No | At most 100 characters. |
resourceId | string | No | |
startDate | string | No | ISO 8601. |
endDate | string | No | ISO 8601. |
format | string | No | One of csv, json. Default json. |
bash
curl -X GET "https://shellius.example.com/api/audit/export" \
-H "Authorization: Bearer $SHELLIUS_TOKEN"200 OK
json
{ "success": true, "data": { … } }