{
  "info": {
    "_postman_id": "c6d44785-afaa-4c5e-b16d-f05ea998a083",
    "name": "Atlassian wiki/rest/api/audit/",
    "description": "Needs description.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-06-05T15:06:01.000Z",
    "updatedAt": "2026-06-05T15:06:01.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-c6d44785-afaa-4c5e-b16d-f05ea998a083"
  },
  "item": [
    {
      "name": "wiki",
      "item": [
        {
          "name": "rest",
          "item": [
            {
              "name": "api",
              "item": [
                {
                  "name": "audit",
                  "item": [
                    {
                      "name": "export",
                      "item": [
                        {
                          "name": "Atlassian Export Audit Records",
                          "id": "5567b4ca-9185-4c06-99a8-32f3d0a8a6a8",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/zip"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/wiki/rest/api/audit/export?startDate=<string>&endDate=<string>&searchString=<string>&format=csv",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "wiki",
                                "rest",
                                "api",
                                "audit",
                                "export"
                              ],
                              "query": [
                                {
                                  "description": "Filters the exported results to the records on or after the `startDate`.\nThe `startDate` must be specified as [epoch time](https://www.epochconverter.com/) in milliseconds.",
                                  "key": "startDate",
                                  "value": "<string>"
                                },
                                {
                                  "description": "Filters the exported results to the records on or before the `endDate`.\nThe `endDate` must be specified as [epoch time](https://www.epochconverter.com/) in milliseconds.",
                                  "key": "endDate",
                                  "value": "<string>"
                                },
                                {
                                  "description": "Filters the exported results to records that have string property values\nmatching the `searchString`.",
                                  "key": "searchString",
                                  "value": "<string>"
                                },
                                {
                                  "description": "The format of the export file for the audit records.",
                                  "key": "format",
                                  "value": "csv"
                                }
                              ]
                            },
                            "description": "Exports audit records as a CSV file or ZIP file.<br><br>**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:<br>'Confluence Administrator' global permission."
                          },
                          "response": [
                            {
                              "id": "cc2d69af-c07d-485b-99f6-0f44351ffc29",
                              "name": "Returned if the requested export of the audit records is returned.",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/zip"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/wiki/rest/api/audit/export?startDate=<string>&endDate=<string>&searchString=<string>&format=csv",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "wiki",
                                    "rest",
                                    "api",
                                    "audit",
                                    "export"
                                  ],
                                  "query": [
                                    {
                                      "description": "Filters the exported results to the records on or after the `startDate`.\nThe `startDate` must be specified as [epoch time](https://www.epochconverter.com/) in milliseconds.",
                                      "key": "startDate",
                                      "value": "<string>"
                                    },
                                    {
                                      "description": "Filters the exported results to the records on or before the `endDate`.\nThe `endDate` must be specified as [epoch time](https://www.epochconverter.com/) in milliseconds.",
                                      "key": "endDate",
                                      "value": "<string>"
                                    },
                                    {
                                      "description": "Filters the exported results to records that have string property values\nmatching the `searchString`.",
                                      "key": "searchString",
                                      "value": "<string>"
                                    },
                                    {
                                      "description": "The format of the export file for the audit records.",
                                      "key": "format",
                                      "value": "csv"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "text",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/zip"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "<binary>",
                              "createdAt": "2026-06-05T15:06:01.000Z",
                              "updatedAt": "2026-06-05T15:06:01.000Z",
                              "uid": "35240-cc2d69af-c07d-485b-99f6-0f44351ffc29"
                            },
                            {
                              "id": "b5ff23e6-8881-4b40-8697-5593cb597432",
                              "name": "Returned if the calling user does not have permission to view the audit\nlog.",
                              "originalRequest": {
                                "method": "GET",
                                "header": [],
                                "url": {
                                  "raw": "{{baseUrl}}/wiki/rest/api/audit/export?startDate=<string>&endDate=<string>&searchString=<string>&format=csv",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "wiki",
                                    "rest",
                                    "api",
                                    "audit",
                                    "export"
                                  ],
                                  "query": [
                                    {
                                      "description": "Filters the exported results to the records on or after the `startDate`.\nThe `startDate` must be specified as [epoch time](https://www.epochconverter.com/) in milliseconds.",
                                      "key": "startDate",
                                      "value": "<string>"
                                    },
                                    {
                                      "description": "Filters the exported results to the records on or before the `endDate`.\nThe `endDate` must be specified as [epoch time](https://www.epochconverter.com/) in milliseconds.",
                                      "key": "endDate",
                                      "value": "<string>"
                                    },
                                    {
                                      "description": "Filters the exported results to records that have string property values\nmatching the `searchString`.",
                                      "key": "searchString",
                                      "value": "<string>"
                                    },
                                    {
                                      "description": "The format of the export file for the audit records.",
                                      "key": "format",
                                      "value": "csv"
                                    }
                                  ]
                                }
                              },
                              "status": "Forbidden",
                              "code": 403,
                              "_postman_previewlanguage": "text",
                              "header": [],
                              "cookie": [],
                              "responseTime": null,
                              "body": null,
                              "createdAt": "2026-06-05T15:06:01.000Z",
                              "updatedAt": "2026-06-05T15:06:01.000Z",
                              "uid": "35240-b5ff23e6-8881-4b40-8697-5593cb597432"
                            }
                          ],
                          "createdAt": "2026-06-05T15:06:01.000Z",
                          "updatedAt": "2026-06-05T15:06:01.000Z",
                          "uid": "35240-5567b4ca-9185-4c06-99a8-32f3d0a8a6a8"
                        }
                      ],
                      "id": "a3cb84fd-281e-4857-bfa6-6ea0a0558d39",
                      "createdAt": "2026-06-05T15:06:01.000Z",
                      "updatedAt": "2026-06-05T15:06:01.000Z",
                      "uid": "35240-a3cb84fd-281e-4857-bfa6-6ea0a0558d39"
                    },
                    {
                      "name": "retention",
                      "item": [
                        {
                          "name": "Atlassian Get Retention Period",
                          "id": "4fa0a252-6d20-449c-8ce6-4f1dab73373c",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/wiki/rest/api/audit/retention",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "wiki",
                                "rest",
                                "api",
                                "audit",
                                "retention"
                              ]
                            },
                            "description": "Returns the retention period for records in the audit log. The retention<br>period is how long an audit record is kept for, from creation date until<br>it is deleted.<br><br>**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:<br>'Confluence Administrator' global permission."
                          },
                          "response": [
                            {
                              "id": "3d44ee04-dc48-43d9-b5ec-a351ab7debd1",
                              "name": "Returned if the requested retention period is returned.",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/wiki/rest/api/audit/retention",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "wiki",
                                    "rest",
                                    "api",
                                    "audit",
                                    "retention"
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"number\": \"<integer>\",\n  \"units\": \"HALF_DAYS\"\n}",
                              "createdAt": "2026-06-05T15:06:01.000Z",
                              "updatedAt": "2026-06-05T15:06:01.000Z",
                              "uid": "35240-3d44ee04-dc48-43d9-b5ec-a351ab7debd1"
                            },
                            {
                              "id": "e0adf1a7-1f98-4909-836b-a0a02ae35c9a",
                              "name": "Returned if the calling user does not have permission to view the audit\nlog.",
                              "originalRequest": {
                                "method": "GET",
                                "header": [],
                                "url": {
                                  "raw": "{{baseUrl}}/wiki/rest/api/audit/retention",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "wiki",
                                    "rest",
                                    "api",
                                    "audit",
                                    "retention"
                                  ]
                                }
                              },
                              "status": "Forbidden",
                              "code": 403,
                              "_postman_previewlanguage": "text",
                              "header": [],
                              "cookie": [],
                              "responseTime": null,
                              "body": null,
                              "createdAt": "2026-06-05T15:06:01.000Z",
                              "updatedAt": "2026-06-05T15:06:01.000Z",
                              "uid": "35240-e0adf1a7-1f98-4909-836b-a0a02ae35c9a"
                            }
                          ],
                          "createdAt": "2026-06-05T15:06:01.000Z",
                          "updatedAt": "2026-06-05T15:06:01.000Z",
                          "uid": "35240-4fa0a252-6d20-449c-8ce6-4f1dab73373c"
                        },
                        {
                          "name": "Atlassian Set Retention Period",
                          "id": "b2bba089-4d58-4380-a1cc-a53b6c31e839",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "PUT",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"number\": \"<integer>\",\n  \"units\": \"HALF_DAYS\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/wiki/rest/api/audit/retention",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "wiki",
                                "rest",
                                "api",
                                "audit",
                                "retention"
                              ]
                            },
                            "description": "Sets the retention period for records in the audit log. The retention period<br>can be set to a maximum of 1 year.<br><br>**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:<br>'Confluence Administrator' global permission."
                          },
                          "response": [
                            {
                              "id": "bc9b2658-2a5a-4645-81db-a6d370869d07",
                              "name": "Returned if the retention period is updated.",
                              "originalRequest": {
                                "method": "PUT",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"number\": \"<integer>\",\n  \"units\": \"HALF_DAYS\"\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/wiki/rest/api/audit/retention",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "wiki",
                                    "rest",
                                    "api",
                                    "audit",
                                    "retention"
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"number\": \"<integer>\",\n  \"units\": \"HALF_DAYS\"\n}",
                              "createdAt": "2026-06-05T15:06:01.000Z",
                              "updatedAt": "2026-06-05T15:06:01.000Z",
                              "uid": "35240-bc9b2658-2a5a-4645-81db-a6d370869d07"
                            },
                            {
                              "id": "f3aaecf7-2cdf-40a1-a61f-8699e58755c9",
                              "name": "Returned if the calling user does not have permission to view the audit\nlog.",
                              "originalRequest": {
                                "method": "PUT",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"number\": \"<integer>\",\n  \"units\": \"HALF_DAYS\"\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/wiki/rest/api/audit/retention",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "wiki",
                                    "rest",
                                    "api",
                                    "audit",
                                    "retention"
                                  ]
                                }
                              },
                              "status": "Forbidden",
                              "code": 403,
                              "_postman_previewlanguage": "text",
                              "header": [],
                              "cookie": [],
                              "responseTime": null,
                              "body": null,
                              "createdAt": "2026-06-05T15:06:01.000Z",
                              "updatedAt": "2026-06-05T15:06:01.000Z",
                              "uid": "35240-f3aaecf7-2cdf-40a1-a61f-8699e58755c9"
                            }
                          ],
                          "createdAt": "2026-06-05T15:06:01.000Z",
                          "updatedAt": "2026-06-05T15:06:01.000Z",
                          "uid": "35240-b2bba089-4d58-4380-a1cc-a53b6c31e839"
                        }
                      ],
                      "id": "48450b0c-e63d-4272-bec5-217a93baab2a",
                      "createdAt": "2026-06-05T15:06:01.000Z",
                      "updatedAt": "2026-06-05T15:06:01.000Z",
                      "uid": "35240-48450b0c-e63d-4272-bec5-217a93baab2a"
                    },
                    {
                      "name": "since",
                      "item": [
                        {
                          "name": "Atlassian Get Audit Records For Time Period",
                          "id": "a3c7e733-1431-4a6f-a57d-51b541c30b12",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/wiki/rest/api/audit/since?number=3&units=MONTHS&searchString=<string>&start=0&limit=1000",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "wiki",
                                "rest",
                                "api",
                                "audit",
                                "since"
                              ],
                              "query": [
                                {
                                  "description": "The number of units for the time period.",
                                  "key": "number",
                                  "value": "3"
                                },
                                {
                                  "description": "The unit of time that the time period is measured in.",
                                  "key": "units",
                                  "value": "MONTHS"
                                },
                                {
                                  "description": "Filters the results to records that have string property values\nmatching the `searchString`.",
                                  "key": "searchString",
                                  "value": "<string>"
                                },
                                {
                                  "description": "The starting index of the returned records.",
                                  "key": "start",
                                  "value": "0"
                                },
                                {
                                  "description": "The maximum number of records to return per page.\nNote, this may be restricted by fixed system limits.",
                                  "key": "limit",
                                  "value": "1000"
                                }
                              ]
                            },
                            "description": "Returns records from the audit log, for a time period back from the current<br>date. For example, you can use this method to get the last 3 months of records.<br><br>This contains information about events like space exports, group membership<br>changes, app installations, etc. For more information, see<br>[Audit log](https://confluence.atlassian.com/confcloud/audit-log-802164269.html)<br>in the Confluence administrator's guide.<br><br>**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:<br>'Confluence Administrator' global permission."
                          },
                          "response": [
                            {
                              "id": "8c5fb0b2-8099-4646-bd7a-14632bde31da",
                              "name": "Returned if the requested records are returned.",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/wiki/rest/api/audit/since?number=3&units=MONTHS&searchString=<string>&start=0&limit=1000",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "wiki",
                                    "rest",
                                    "api",
                                    "audit",
                                    "since"
                                  ],
                                  "query": [
                                    {
                                      "description": "The number of units for the time period.",
                                      "key": "number",
                                      "value": "3"
                                    },
                                    {
                                      "description": "The unit of time that the time period is measured in.",
                                      "key": "units",
                                      "value": "MONTHS"
                                    },
                                    {
                                      "description": "Filters the results to records that have string property values\nmatching the `searchString`.",
                                      "key": "searchString",
                                      "value": "<string>"
                                    },
                                    {
                                      "description": "The starting index of the returned records.",
                                      "key": "start",
                                      "value": "0"
                                    },
                                    {
                                      "description": "The maximum number of records to return per page.\nNote, this may be restricted by fixed system limits.",
                                      "key": "limit",
                                      "value": "1000"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"_links\": {\n    \"value\": \"reference #/components/schemas/GenericLinks not found in the OpenAPI spec\"\n  },\n  \"limit\": \"<integer>\",\n  \"results\": [\n    {\n      \"value\": \"reference #/components/schemas/AuditRecord not found in the OpenAPI spec\"\n    },\n    {\n      \"value\": \"reference #/components/schemas/AuditRecord not found in the OpenAPI spec\"\n    }\n  ],\n  \"size\": \"<integer>\",\n  \"start\": \"<integer>\"\n}",
                              "createdAt": "2026-06-05T15:06:01.000Z",
                              "updatedAt": "2026-06-05T15:06:01.000Z",
                              "uid": "35240-8c5fb0b2-8099-4646-bd7a-14632bde31da"
                            },
                            {
                              "id": "8fbe9079-4e96-47e2-a178-0dc86f839cca",
                              "name": "Returned if the calling user does not have permission to view the audit\nlog.",
                              "originalRequest": {
                                "method": "GET",
                                "header": [],
                                "url": {
                                  "raw": "{{baseUrl}}/wiki/rest/api/audit/since?number=3&units=MONTHS&searchString=<string>&start=0&limit=1000",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "wiki",
                                    "rest",
                                    "api",
                                    "audit",
                                    "since"
                                  ],
                                  "query": [
                                    {
                                      "description": "The number of units for the time period.",
                                      "key": "number",
                                      "value": "3"
                                    },
                                    {
                                      "description": "The unit of time that the time period is measured in.",
                                      "key": "units",
                                      "value": "MONTHS"
                                    },
                                    {
                                      "description": "Filters the results to records that have string property values\nmatching the `searchString`.",
                                      "key": "searchString",
                                      "value": "<string>"
                                    },
                                    {
                                      "description": "The starting index of the returned records.",
                                      "key": "start",
                                      "value": "0"
                                    },
                                    {
                                      "description": "The maximum number of records to return per page.\nNote, this may be restricted by fixed system limits.",
                                      "key": "limit",
                                      "value": "1000"
                                    }
                                  ]
                                }
                              },
                              "status": "Forbidden",
                              "code": 403,
                              "_postman_previewlanguage": "text",
                              "header": [],
                              "cookie": [],
                              "responseTime": null,
                              "body": null,
                              "createdAt": "2026-06-05T15:06:01.000Z",
                              "updatedAt": "2026-06-05T15:06:01.000Z",
                              "uid": "35240-8fbe9079-4e96-47e2-a178-0dc86f839cca"
                            }
                          ],
                          "createdAt": "2026-06-05T15:06:01.000Z",
                          "updatedAt": "2026-06-05T15:06:01.000Z",
                          "uid": "35240-a3c7e733-1431-4a6f-a57d-51b541c30b12"
                        }
                      ],
                      "id": "0fb48d52-95d2-4d01-b4bf-6f30e542f10a",
                      "createdAt": "2026-06-05T15:06:01.000Z",
                      "updatedAt": "2026-06-05T15:06:01.000Z",
                      "uid": "35240-0fb48d52-95d2-4d01-b4bf-6f30e542f10a"
                    }
                  ],
                  "id": "8c208162-f736-4277-9105-c706468eaf6b",
                  "createdAt": "2026-06-05T15:06:01.000Z",
                  "updatedAt": "2026-06-05T15:06:01.000Z",
                  "uid": "35240-8c208162-f736-4277-9105-c706468eaf6b"
                }
              ],
              "id": "5d61b54b-d1a4-413d-966d-ab59fa18210f",
              "createdAt": "2026-06-05T15:06:01.000Z",
              "updatedAt": "2026-06-05T15:06:01.000Z",
              "uid": "35240-5d61b54b-d1a4-413d-966d-ab59fa18210f"
            }
          ],
          "id": "f5040508-4abd-471c-a6ce-ad0b46684257",
          "createdAt": "2026-06-05T15:06:01.000Z",
          "updatedAt": "2026-06-05T15:06:01.000Z",
          "uid": "35240-f5040508-4abd-471c-a6ce-ad0b46684257"
        }
      ],
      "id": "6a0cd645-15d3-4698-8e7b-350e1469dd2d",
      "createdAt": "2026-06-05T15:06:01.000Z",
      "updatedAt": "2026-06-05T15:06:01.000Z",
      "uid": "35240-6a0cd645-15d3-4698-8e7b-350e1469dd2d"
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "//your-domain.atlassian.net"
    }
  ]
}