Get audit records for time period
GET {{baseUrl}}/api/audit/since?number=3&units=MONTHS&searchString=<string>&start=0&limit=1000
Returns records from the audit log, for a time period back from the current date. For example, you can use this method to get the last 3 months of records.
This contains information about events like space exports, group membership changes, app installations, etc. For more information, see Audit log in the Confluence administrator's guide.
Permissions required: 'Confluence Administrator' global permission.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
number | number | The number of units for the time period. | |
units | string | The unit of time that the time period is measured in. | |
searchString | string | Filters the results to records that have string property values | |
matching the searchString . | |||
start | number | The starting index of the returned records. | |
limit | number | The maximum number of records to return per page. | |
Note, this may be restricted by fixed system limits. |
RESPONSES
status: OK
{"results":[{"author":{"type":"user","displayName":"eu qui amet","operations":null,"username":"ut","userKey":"amet ut eu Ut"},"remoteAddress":"irure sed commodo tempor","creationDate":-28489517,"summary":"reprehenderit occaecat","description":"sed in occaecat","category":"magna qui Lorem","sysAdmin":false,"affectedObject":{"name":"Ut est ad eu anim","objectType":"tempor Excepteur"},"changedValues":[{"name":"non anim sint qui","oldValue":"amet est qui esse","newValue":"tempor quis"},{"name":"sed ipsum aut","oldValue":"culpa","newValue":"occaecat ad"}],"associatedObjects":[{"name":"Excepteur fugiat","objectType":"aute sint quis eiusmod qui"},{"name":"esse laborum in","objectType":"magna irure"}]},{"author":{"type":"user","displayName":"anim nisi occaecat ipsum","operations":null,"username":"anim in proident ex et","userKey":"dolore sunt"},"remoteAddress":"ipsum mollit est","creationDate":-68787259,"summary":"labore cupidatat amet laborum","description":"et ea dolore","category":"consequat ex enim occaecat","sysAdmin":true,"affectedObject":{"name":"irure occaecat proident dolor id","objectType":"veniam Ut in magna"},"changedValues":[{"name":"proident sunt laboris","oldValue":"ut sunt dolore ullamco","newValue":"enim adipisicing"},{"name":"non cillum laborum reprehenderit","oldValue":"in mollit consectetur","newValue":"fugiat ut anim pariatur"}],"associatedObjects":[{"name":"qui anim dolore","objectType":""},{"name":"enim pariatur in ut sed","objectType":"nostrud"}]}],"start":-42437008,"limit":95954729,"size":-54456786,"_links":{}}