activityLogFacets
Requires permission audit:activity_log:read.
Lists the actions and record types the activity log records, for filtering it. Requires permission to read the activity log.
Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.
Example:
- GraphQL
- cURL
query ActivityLogFacets {
activityLogFacets {
actions
entityTypes
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query ActivityLogFacets {\n activityLogFacets {\n actions\n entityTypes\n }\n}"
}
EOF
Response:
{
"data": {
"activityLogFacets": {
"actions": [
"string"
],
"entityTypes": [
"string"
]
}
}
}
activityLogFacets: ActivityLogFacets!
Type
ActivityLogFacets object
The values the activity log can be filtered by.