Unify and manage your data

Search activity log records

Learn how to search for Activity Log Records by type of activity or by action.

Note: You can search Activity Log Records up to a maximum number of 10,000 items. You may use Search Activities with Cursor API to avoid this limitation. Also, you may use Activities Export API for large amounts of data.

This operation performs a search for Activity Log Records by type of activity (login, logout, search, view, and so on) or by action (creates, edit, merge, delete, set a source update time, and so on). All information for an Activity is stored in Activity Log Items. The maximum number of Items being indexed (thus, the amount of information that is used for searching) is controlled by the maxChangedObjects parameter in the Tenant Storage Configuration. The Activity Log's URIs aren’t updated during an entities merge operation. Therefore, it may occur that an Activity Log holds an old entity URIs and not the golden copy URI.

Request

GET {TenantURL}/activities 
Note: Irrespective of the value that you enter in the filter={Condition Type}(property, value) condition, the search engine considers only the first 256 symbols of the entered value and ignores the rest.
Table 1. Parameters
Name Required Details Examples
Headers Authorization Yes Information about the authentication access token in the format "Bearer <accessToken>" (see details in Authentication API).
Query filter

Enables activities filtering by a condition. For more information, see Filtering activities.

Filter by object type:

filter=(equals(items.objectType,'configuration/entityTypes/Organization'))
hidden No

This flag describes whether the activities of hidden attributes are visible. The Reltio UI doesn’t display those activities unless this parameter is set to true. This flag describes whether the activities of hidden attributes are visible. The Reltio UI doesn’t display those activities unless this parameter is set to true.

Default value is false.

max

Positive Integer value to identify the maximum number of entities to return in a response. Can be used to organize pagination with an "offset" parameter.

Default value depends on the tenant configuration.

Note: The maximum value is 10000.
max=10
offset

Positive Integer value to identify starting what element in a result set must be returned in a response. Can be used to organize pagination with the "max" parameter.

Default value is 0.
Note: The updated maximum value and offset parameters, when combined, must not exceed the value of 10,000. Some examples of valid combinations are:
  • offset=9900 and max=100
  • offset=9800 and max=200
offset=120
sort Activity objects property that must be used for sorting. Can be used in the combination with the "order" parameter to have reverse order. Default sorting is by timestamp in descending order. sort=user
order Order of sorting. Can be used in combination with the "sort" parameter to have the reverse order.

Possible values:

  • asc: The results are shown in ascending order
  • desc: results are shown in descending order

Default sorting is by entity asc.

order=desc
Important: Only If the indexActivityDelta parameter is set to true in the Tenant Storage Configuration, the items.delta.attributeType, items.delta.newValue, items.delta.oldValue, and items.delta.sources filters are available.

Response

JSON array of Activity Log Record objects from tenant matching filter request in format, the order that is defined by query parameters.

Find activities for "user1"

GET {TenantURL}/activities?filter=(equals(user,'user1'))&max=2
Headers: Authorization: Bearer 204938ca-2cf7-44b0-b11a-1b4c59984512

Response

[
   {
      "URI":"activities/20",
     ...
   },
   {
      "URI":"activities/142",
     ...
   }
]