List user actions
Retrieve user action log for one client or a set of projects
Query parameters
User action type. Several options can be specified.
User action type. Several options can be specified.
[ "activate", "delete" ]
API group that requested action belongs to. Several options can be specified.
API group that requested action belongs to. Several options can be specified.
[ "ai_cluster", "image" ]
ISO formatted datetime string. Starting timestamp from which user actions are requested
ISO formatted datetime string. Starting timestamp from which user actions are requested
Optional. Limit the number of returned items
Optional. Limit the number of returned items
Optional. Offset value is used to exclude the first set of records from the result
Optional. Offset value is used to exclude the first set of records from the result
Sorting by timestamp. Oldest first, or most recent first
Project ID. Several options can be specified.
Project ID. Several options can be specified.
[ 1, 2, 3 ]
Region ID. Several options can be specified.
Region ID. Several options can be specified.
[ 1, 2, 3 ]
Resource ID. Several options can be specified.
Resource ID. Several options can be specified.
Extra search field for common object properties such as name, IP address, or other, depending on the resource_type
Extra search field for common object properties such as name, IP address, or other, depending on the resource_type
(DEPRECATED Use 'order_by' instead) Sorting by timestamp. Oldest first, or most recent first
Originating IP address of the client making the request. Several options can be specified.
Originating IP address of the client making the request. Several options can be specified.
[ "203.0.113.42", "192.168.1.100" ]
ISO formatted datetime string. Ending timestamp until which user actions are requested
ISO formatted datetime string. Ending timestamp until which user actions are requested
User-Agent string identifying the client making the request. Several options can be specified.
User-Agent string identifying the client making the request. Several options can be specified.
[ "Mozilla/5.0", "MyApp/1.0.0" ]
Response
OK
Example response
{
"count": 1,
"results": [
{
"acknowledged": true,
"api_group": "project",
"client_id": 10,
"email": "user@example.com",
"id": "123",
"is_complete": true,
"issued_by_user_id": 222324,
"project_id": 1,
"region_id": 4,
"resources": [
{
"resource_body": {
"key": "value"
},
"resource_id": "1234",
"resource_type": "project",
"search_field": "name"
}
],
"source_user_ip": "1.2.3.4",
"task_id": "1bdcc138-e716-41ff-ad8d-3477a7ac6d14",
"timestamp": "2019-11-14T10:30:32+00:00",
"token_id": 192021,
"total_price": {
"currency_code": "USD",
"price_per_hour": 0.01,
"price_per_month": 7.2
},
"user_agent": "Mozilla/5.0",
"user_id": 789
}
]
}