Security
List User Actions
Authorization
API Key x-api-key<token>
Authenticate using API Key in request header
In: header
Query Parameters
limit?integer
Default
50Range
1 <= value <= 100environmentName?string
Filter by environment name (e.g. "production", "sandbox")
onlyAccountLevel?boolean
If true, only return account-level actions (where environment is not set)
Default
falsemethods?array<>
Filter by HTTP methods (comma-separated)
Items
1 <= itemssurfaces?array<>
Filter by surface (comma-separated)
Items
1 <= itemshandlers?array<>
Filter by handler names (comma-separated)
Items
1 <= itemsuserIDs?array<>
Filter by user KSUIDs (comma-separated)
Items
1 <= itemsapiKeyNames?array<>
Filter by API key names (comma-separated)
Items
1 <= itemsemailAddresses?array<>
Filter by email addresses (comma-separated)
Items
1 <= itemspaths?array<>
Filter by URL paths (comma-separated)
Items
1 <= itemssortOrder?string
Sort order for results
Default
"desc"Value in
"asc" | "desc"startingAfter?string
Cursor for pagination - return results after this API ID
endingBefore?string
Cursor for pagination - return results before this API ID
Response Body
application/json
curl -X GET "https://api.bem.ai/v2/user-actions"{
"userActions": [
{
"ID": "string",
"userID": "string",
"userEmail": "string",
"apiKeyName": "string",
"emailAddress": "string",
"environment": "string",
"method": "GET",
"path": "string",
"surface": "api",
"handler": "string",
"errorMessage": "string",
"errorType": "string",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
],
"totalCount": 0,
"error": "string"
}