Skip to content
For AI agents: the complete documentation index is available at llms.txt; this page is also available as Markdown at index.md.

Activity Log Search Criteria reference

Activity Log Search Criteria filter the activity log groups returned by activity log search.

You use them over the REST API, in the criteria element of the payload of the POST /activity-log-group/list request. Each criterion is an object with a type property that selects the criterion, and its own arguments.

Criteria are applied to log entry groups. For example, with the action criterion, you get log entry groups that have at least one entry with this action (and possibly other actions as well).

For more information about the activity log itself, see Recent activity.

Value-based criteria

Search Criterion Search based on
action Performed action name(s)
logged_at Before, after or at a given date and time
object_class Manipulated object's class name, and optionally objects' IDs
user User performing the action

Logical criteria

Search Criterion Description
not Logical NOT criterion that matches if the provided criteria don't match.
and Logical AND criterion that matches if all the provided criteria match.
or Logical OR criterion that matches if at least one of the provided criteria matches.

Logical criteria take a criteria element with the criteria to combine:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
{
    "ActivityLogGroupListInput": {
        "criteria": [
            {
                "type": "or",
                "criteria": [
                    { "type": "action", "value": ["create"] },
                    { "type": "action", "value": ["publish"] }
                ]
            }
        ]
    }
}