{
  "info": {
    "_postman_id": "006e5d9d-7055-4402-9144-2c61a7698670",
    "name": "SAFE flex Postman Collection",
    "description": "# fiskaly SAFE Postman Collection\n\nThis collection covers the core endpoints of the fiskaly SAFE API \u2014 an archiving solution for fiscal documents.\n\n## Prerequisites\n\n- A fiskaly HUB account with an active SAFE organization\n- API Key and API Secret (set in the Postman environment)\n- A PDF file ready to upload (e.g. a receipt)\n\n## Recommended Usage\n\n**Run each request manually, step by step, in the order listed.**\n\nDo not use the Postman Collection Runner \u2014 the Upload a file request requires a PDF file to be selected manually in the Body tab, which the Runner cannot handle automatically.\n\n## Request Order\n\n1. **Authentication** \u2014 fetches a bearer token (saved automatically)\n2. **Create a configuration** \u2014 one-time setup, run once per environment\n3. **Create a string annotation** \u2014 one-time setup, run once per environment\n4. **Create mix property annotation** \u2014 one-time setup, run once per environment\n5. **Upload a file** \u2014 select your PDF in the Body tab before sending\n6. **Retrieve a file by id** \u2014 uses the file_id saved from the upload\n7. **Retrieve a file by custom id** \u2014 uses the custom_identifier saved from the upload\n8. **Download a file data** \u2014 downloads the raw file bytes\n9. **Create an export** \u2014 packages files into a ZIP\n10. **Retrieve export** \u2014 checks export status\n11. **Download exported file** \u2014 downloads the ZIP\n12. **Search** \u2014 queries files by annotation properties\n13. **Search retrieve** \u2014 checks search status\n14. **Search result** \u2014 retrieves search results\n15. **Get audit log** \u2014 lists all audit events\n\n## Notes\n\n- Requests 2\u20134 only need to be run once. Re-running them will create new annotation schemas with a different random suffix, which is fine but not necessary.\n- All IDs and tokens are saved automatically as environment variables after each request.\n- The custom_identifier and annotation names are generated randomly via pre-request scripts.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "_exporter_id": "11988349"
  },
  "item": [
    {
      "name": "Authentication",
      "event": [
        {
          "listen": "test",
          "script": {
            "exec": [
              "pm.test(\"Status code is 200\", function () {",
              "    pm.response.to.have.status(200);",
              "});",
              "var data = pm.response.json();",
              "pm.environment.set(\"token\", data.content.access_token.bearer);",
              ""
            ],
            "type": "text/javascript",
            "packages": {}
          }
        }
      ],
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "\n{\n  \"content\": {\n\t\"api_key\": \"{{api_key}}\",\n\t\"api_secret\": \"{{api_secret}}\",\n    \"scope_id\": \"{{scope_id}}\"\n  }\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{SERVICE}}/auth",
          "host": [
            "{{SERVICE}}"
          ],
          "path": [
            "auth"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Create a configuration",
      "request": {
        "auth": {
          "type": "bearer",
          "bearer": [
            {
              "key": "token",
              "value": "{{token}}",
              "type": "string"
            }
          ]
        },
        "method": "PUT",
        "header": [
          {
            "key": "X-Idempotency-Key",
            "value": "{{$guid}}",
            "type": "text"
          },
          {
            "key": "X-Scope-Identifier",
            "value": "",
            "type": "text",
            "disabled": true
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"content\": {\n    \"configuration\": {\n      \"country_code\": \"DE\"\n    }\n  }\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{SERVICE}}/configuration",
          "host": [
            "{{SERVICE}}"
          ],
          "path": [
            "configuration"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Retrieve a configuration",
      "protocolProfileBehavior": {
        "disableBodyPruning": true
      },
      "request": {
        "auth": {
          "type": "bearer",
          "bearer": [
            {
              "key": "token",
              "value": "{{token}}",
              "type": "string"
            }
          ]
        },
        "method": "GET",
        "header": [
          {
            "key": "X-Scope-Identifier",
            "value": "",
            "type": "text",
            "disabled": true
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{SERVICE}}/configuration",
          "host": [
            "{{SERVICE}}"
          ],
          "path": [
            "configuration"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Create a string annotation",
      "event": [
        {
          "listen": "prerequest",
          "script": {
            "exec": [
              "var suffix = Math.floor(Math.random() * 90000) + 10000;",
              "var annotationName = \"receipt_store_info_\" + suffix;",
              "pm.environment.set(\"annotation_store_info_name\", annotationName);"
            ],
            "type": "text/javascript",
            "packages": {}
          }
        },
        {
          "listen": "test",
          "script": {
            "exec": [
              "var data = pm.response.json();",
              "var annotationName = data.content.name;",
              "pm.environment.set(\"annotation_store_info_name\", annotationName);",
              "pm.test(\"Status code is 200\", function () {",
              "    pm.response.to.have.status(200);",
              "});"
            ],
            "type": "text/javascript",
            "packages": {}
          }
        }
      ],
      "request": {
        "auth": {
          "type": "bearer",
          "bearer": [
            {
              "key": "token",
              "value": "{{token}}",
              "type": "string"
            }
          ]
        },
        "method": "POST",
        "header": [
          {
            "key": "X-Idempotency-Key",
            "value": "{{$guid}}",
            "type": "text"
          },
          {
            "key": "X-Scope-Identifier",
            "value": "",
            "type": "text",
            "disabled": true
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"content\": {\n    \"name\": \"{{annotation_store_info_name}}\",\n    \"properties\": [\n      {\n        \"name\": \"store_id\",\n        \"type\": \"string\",\n        \"min_length\": 1,\n        \"max_length\": 20,\n        \"required\": true,\n        \"description\": \"Unique identifier for the retail store branch\"\n      }\n    ]\n  }\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{SERVICE}}/annotation",
          "host": [
            "{{SERVICE}}"
          ],
          "path": [
            "annotation"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Create mix property annotation",
      "event": [
        {
          "listen": "prerequest",
          "script": {
            "exec": [
              "var suffix = Math.floor(Math.random() * 90000) + 10000;",
              "var annotationName = \"receipt_metadata_\" + suffix;",
              "pm.environment.set(\"annotation_metadata_name\", annotationName);"
            ],
            "type": "text/javascript",
            "packages": {}
          }
        },
        {
          "listen": "test",
          "script": {
            "exec": [
              "var data = pm.response.json();",
              "var annotationName = data.content.name;",
              "var annotationId = data.content.identifier;",
              "pm.environment.set(\"annotation_metadata_name\", annotationName);",
              "pm.environment.set(\"annotation_id\", annotationId);",
              "pm.test(\"Status code is 200\", function () {",
              "    pm.response.to.have.status(200);",
              "});"
            ],
            "type": "text/javascript",
            "packages": {}
          }
        }
      ],
      "request": {
        "auth": {
          "type": "bearer",
          "bearer": [
            {
              "key": "token",
              "value": "{{token}}",
              "type": "string"
            }
          ]
        },
        "method": "POST",
        "header": [
          {
            "key": "X-Idempotency-Key",
            "value": "{{$guid}}",
            "type": "text"
          },
          {
            "key": "X-Scope-Identifier",
            "value": "",
            "type": "text",
            "disabled": true
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"content\": {\n    \"name\": \"{{annotation_metadata_name}}\",\n    \"properties\": [\n      {\n        \"name\": \"cashier_id\",\n        \"display_name\": \"Cashier ID\",\n        \"type\": \"string\",\n        \"min_length\": 0,\n        \"max_length\": 15,\n        \"required\": false,\n        \"description\": \"ID of the cashier who processed the transaction\"\n      },\n      {\n        \"name\": \"total_amount_cents\",\n        \"display_name\": \"Total Amount (cents)\",\n        \"type\": \"integer\",\n        \"min_value\": 0,\n        \"max_value\": 999999,\n        \"required\": false,\n        \"description\": \"Transaction total in cents (e.g. 4599 = 45.99 EUR)\"\n      },\n      {\n        \"name\": \"payment_methods\",\n        \"display_name\": \"Payment Methods\",\n        \"type\": \"string_array\",\n        \"min_length\": 0,\n        \"max_length\": 5,\n        \"min_element_length\": 0,\n        \"max_element_length\": 20,\n        \"required\": false,\n        \"description\": \"Payment methods used (e.g. cash, visa, mastercard)\"\n      },\n      {\n        \"name\": \"transaction_date\",\n        \"display_name\": \"Transaction Date\",\n        \"type\": \"timestamp\",\n        \"min_value\": \"2021-01-01T00:00:00.000Z\",\n        \"max_value\": \"2030-12-31T23:59:59.999Z\",\n        \"required\": false,\n        \"description\": \"Date and time of the transaction\"\n      }\n    ]\n  }\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{SERVICE}}/annotation",
          "host": [
            "{{SERVICE}}"
          ],
          "path": [
            "annotation"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Retrieve annotations",
      "request": {
        "auth": {
          "type": "bearer",
          "bearer": [
            {
              "key": "token",
              "value": "{{token}}",
              "type": "string"
            }
          ]
        },
        "method": "GET",
        "header": [
          {
            "key": "X-Scope-Identifier",
            "value": "",
            "type": "text",
            "disabled": true
          }
        ],
        "url": {
          "raw": "{{SERVICE}}/annotation",
          "host": [
            "{{SERVICE}}"
          ],
          "path": [
            "annotation"
          ],
          "query": [
            {
              "key": "include_results_from",
              "value": "",
              "disabled": true
            }
          ]
        }
      },
      "response": []
    },
    {
      "name": "Retrieve an annotation",
      "request": {
        "auth": {
          "type": "bearer",
          "bearer": [
            {
              "key": "token",
              "value": "{{token}}",
              "type": "string"
            }
          ]
        },
        "method": "GET",
        "header": [
          {
            "key": "X-Scope-Identifier",
            "value": "",
            "type": "text",
            "disabled": true
          }
        ],
        "url": {
          "raw": "{{SERVICE}}/annotation/{{annotation_id}}",
          "host": [
            "{{SERVICE}}"
          ],
          "path": [
            "annotation",
            "{{annotation_id}}"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Upload a file",
      "event": [
        {
          "listen": "prerequest",
          "script": {
            "exec": [
              "// Generate random custom_identifier",
              "var customId = Math.floor(Math.random() * 88000) + 12000;",
              "pm.environment.set(\"custom_identifier\", customId.toString());",
              "",
              "// Generate random PDF name",
              "var pdfNames = [",
              "    \"receipt_store_berlin_2024.pdf\",",
              "    \"invoice_q3_summary.pdf\",",
              "    \"sales_report_munich.pdf\",",
              "    \"daily_closing_hamburg.pdf\",",
              "    \"transaction_log_vienna.pdf\",",
              "    \"fiscal_doc_cologne.pdf\",",
              "    \"receipt_batch_frankfurt.pdf\",",
              "    \"store_closing_dusseldorf.pdf\"",
              "];",
              "var randomPdf = pdfNames[Math.floor(Math.random() * pdfNames.length)];",
              "pm.environment.set(\"pdf_name\", randomPdf);",
              "",
              "// Build archive_file_request JSON with resolved variable values",
              "var archiveBody = {",
              "    content: {",
              "        created_at: \"2026-02-09T17:46:29.000Z\",",
              "        retention_period_days: 3650,",
              "        name: randomPdf,",
              "        custom_identifier: customId.toString(),",
              "        annotations: [",
              "            {",
              "                name: pm.environment.get(\"annotation_store_info_name\"),",
              "                properties: {",
              "                    store_id: \"STORE-DE-0001\"",
              "                }",
              "            },",
              "            {",
              "                name: pm.environment.get(\"annotation_metadata_name\"),",
              "                properties: {",
              "                    cashier_id: \"C-1001\",",
              "                    total_amount_cents: 450,",
              "                    payment_methods: [\"cash\"],",
              "                    transaction_date: \"2026-02-09T17:46:29.000Z\"",
              "                }",
              "            }",
              "        ]",
              "    }",
              "};",
              "pm.environment.set(\"archive_file_request_body\", JSON.stringify(archiveBody));"
            ],
            "type": "text/javascript",
            "packages": {}
          }
        },
        {
          "listen": "test",
          "script": {
            "exec": [
              "var data = pm.response.json();",
              "var fileId = data.content.identifier;",
              "var customId = pm.environment.get(\"custom_identifier\");",
              "",
              "pm.environment.set(\"file_id\", fileId);",
              "pm.environment.set(\"last_custom_identifier\", customId);",
              "",
              "pm.test(\"Status code is 200\", function () {",
              "    pm.response.to.have.status(200);",
              "});"
            ],
            "type": "text/javascript",
            "packages": {}
          }
        }
      ],
      "request": {
        "auth": {
          "type": "bearer",
          "bearer": [
            {
              "key": "token",
              "value": "{{token}}",
              "type": "string"
            }
          ]
        },
        "method": "POST",
        "header": [
          {
            "key": "X-Scope-Identifier",
            "value": "",
            "type": "text",
            "disabled": true
          }
        ],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "archive_file_request",
              "value": "{{archive_file_request_body}}",
              "contentType": "application/json",
              "type": "text",
              "description": "Metadata for the archived receipt document"
            },
            {
              "key": "file",
              "type": "file",
              "src": ""
            }
          ]
        },
        "url": {
          "raw": "{{SERVICE}}/file",
          "host": [
            "{{SERVICE}}"
          ],
          "path": [
            "file"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Retrieve a file by id",
      "protocolProfileBehavior": {
        "disableBodyPruning": true
      },
      "request": {
        "auth": {
          "type": "bearer",
          "bearer": [
            {
              "key": "token",
              "value": "{{token}}",
              "type": "string"
            }
          ]
        },
        "method": "GET",
        "header": [
          {
            "key": "X-Scope-Identifier",
            "value": "",
            "type": "text",
            "disabled": true
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{SERVICE}}/file/{{file_id}}",
          "host": [
            "{{SERVICE}}"
          ],
          "path": [
            "file",
            "{{file_id}}"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Retrieve a file by custom id",
      "protocolProfileBehavior": {
        "disableBodyPruning": true
      },
      "request": {
        "auth": {
          "type": "bearer",
          "bearer": [
            {
              "key": "token",
              "value": "{{token}}",
              "type": "string"
            }
          ]
        },
        "method": "GET",
        "header": [
          {
            "key": "X-Scope-Identifier",
            "value": "",
            "type": "text",
            "disabled": true
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{SERVICE}}/file?custom_identifier={{custom_identifier_b64}}",
          "host": [
            "{{SERVICE}}"
          ],
          "path": [
            "file"
          ],
          "query": [
            {
              "key": "custom_identifier",
              "value": "{{custom_identifier_b64}}",
              "description": "Base64-encoded custom_identifier from the last uploaded file"
            }
          ]
        }
      },
      "response": [],
      "event": [
        {
          "listen": "prerequest",
          "script": {
            "exec": [
              "var customId = pm.environment.get(\"last_custom_identifier\");",
              "if (customId) {",
              "    var encoded = btoa(customId);",
              "    pm.environment.set(\"custom_identifier_b64\", encoded);",
              "}"
            ],
            "type": "text/javascript",
            "packages": {}
          }
        }
      ]
    },
    {
      "name": "Download a file data",
      "protocolProfileBehavior": {
        "disableBodyPruning": true
      },
      "request": {
        "auth": {
          "type": "bearer",
          "bearer": [
            {
              "key": "token",
              "value": "{{token}}",
              "type": "string"
            }
          ]
        },
        "method": "GET",
        "header": [
          {
            "key": "X-Scope-Identifier",
            "value": "",
            "type": "text",
            "disabled": true
          }
        ],
        "body": {
          "mode": "raw",
          "raw": ""
        },
        "url": {
          "raw": "{{SERVICE}}/file/{{file_id}}/data",
          "host": [
            "{{SERVICE}}"
          ],
          "path": [
            "file",
            "{{file_id}}",
            "data"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Create an export",
      "event": [
        {
          "listen": "test",
          "script": {
            "exec": [
              "var data = pm.response.json();",
              "var exportId  = data.content.identifier;",
              "",
              "pm.environment.set(\"export_id\", exportId);",
              "",
              "",
              "pm.test(\"Status code is 200\", function () {",
              "    pm.response.to.have.status(200);",
              "});"
            ],
            "type": "text/javascript",
            "packages": {}
          }
        }
      ],
      "request": {
        "auth": {
          "type": "bearer",
          "bearer": [
            {
              "key": "token",
              "value": "{{token}}",
              "type": "string"
            }
          ]
        },
        "method": "POST",
        "header": [
          {
            "key": "X-Idempotency-Key",
            "value": "{{$guid}}",
            "type": "text"
          },
          {
            "key": "X-Scope-Identifier",
            "value": "",
            "type": "text",
            "disabled": true
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"content\": {\n    \"file_identifiers\": [\n            \"{{file_id}}\"\n    ],\n    \"archive_type\": \"application/zip\"\n  }\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{SERVICE}}/export",
          "host": [
            "{{SERVICE}}"
          ],
          "path": [
            "export"
          ],
          "query": [
            {
              "key": "include_results_from",
              "value": "",
              "disabled": true
            }
          ]
        }
      },
      "response": []
    },
    {
      "name": "Retrieve export",
      "protocolProfileBehavior": {
        "disableBodyPruning": true
      },
      "request": {
        "auth": {
          "type": "bearer",
          "bearer": [
            {
              "key": "token",
              "value": "{{token}}",
              "type": "string"
            }
          ]
        },
        "method": "GET",
        "header": [
          {
            "key": "X-Scope-Identifier",
            "value": "",
            "type": "text",
            "disabled": true
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{SERVICE}}/export/{{export_id}}",
          "host": [
            "{{SERVICE}}"
          ],
          "path": [
            "export",
            "{{export_id}}"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Download exported file",
      "protocolProfileBehavior": {
        "disableBodyPruning": true
      },
      "request": {
        "auth": {
          "type": "bearer",
          "bearer": [
            {
              "key": "token",
              "value": "{{token}}",
              "type": "string"
            }
          ]
        },
        "method": "GET",
        "header": [
          {
            "key": "X-Scope-Identifier",
            "value": "",
            "type": "text",
            "disabled": true
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{SERVICE}}/export/{{export_id}}/data",
          "host": [
            "{{SERVICE}}"
          ],
          "path": [
            "export",
            "{{export_id}}",
            "data"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Search",
      "event": [
        {
          "listen": "test",
          "script": {
            "exec": [
              "var data = pm.response.json();",
              "var searchId  = data.content.identifier;",
              "",
              "pm.environment.set(\"search_id\", searchId);",
              "",
              "",
              "pm.test(\"Status code is 200\", function () {",
              "    pm.response.to.have.status(200);",
              "});"
            ],
            "type": "text/javascript",
            "packages": {}
          }
        }
      ],
      "request": {
        "auth": {
          "type": "bearer",
          "bearer": [
            {
              "key": "token",
              "value": "{{token}}",
              "type": "string"
            }
          ]
        },
        "method": "POST",
        "header": [
          {
            "key": "X-Idempotency-Key",
            "value": "{{$guid}}",
            "type": "text"
          },
          {
            "key": "X-Scope-Identifier",
            "value": "",
            "type": "text",
            "disabled": true
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"content\": {\n    \"query\": [\n      {\n        \"a\": \"{{annotation_metadata_name}}.cashier_id\",\n        \"operator\": \"=\",\n        \"b\": \"C-1001\",\n        \"logical_operator\": \"AND\"\n      },\n      {\n        \"a\": \"{{annotation_metadata_name}}.payment_methods\",\n        \"operator\": \"CONTAINS\",\n        \"b\": [\n          \"cash\"\n        ]\n      }\n    ]\n  }\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{SERVICE}}/search",
          "host": [
            "{{SERVICE}}"
          ],
          "path": [
            "search"
          ],
          "query": [
            {
              "key": "",
              "value": "",
              "disabled": true
            }
          ]
        }
      },
      "response": []
    },
    {
      "name": "Search retrieve",
      "event": [
        {
          "listen": "test",
          "script": {
            "exec": [
              "pm.test(\"Status code is 200\", function () {",
              "    pm.response.to.have.status(200);",
              "});"
            ],
            "type": "text/javascript",
            "packages": {}
          }
        }
      ],
      "protocolProfileBehavior": {
        "disableBodyPruning": true
      },
      "request": {
        "auth": {
          "type": "bearer",
          "bearer": [
            {
              "key": "token",
              "value": "{{token}}",
              "type": "string"
            }
          ]
        },
        "method": "GET",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{SERVICE}}/search/{{search_id}}",
          "host": [
            "{{SERVICE}}"
          ],
          "path": [
            "search",
            "{{search_id}}"
          ],
          "query": [
            {
              "key": "X-Scope-Identifier",
              "value": null,
              "disabled": true
            }
          ]
        }
      },
      "response": []
    },
    {
      "name": "Search result",
      "event": [
        {
          "listen": "test",
          "script": {
            "exec": [
              "pm.test(\"Status code is 200\", function () {",
              "    pm.response.to.have.status(200);",
              "});"
            ],
            "type": "text/javascript",
            "packages": {}
          }
        }
      ],
      "protocolProfileBehavior": {
        "disableBodyPruning": true
      },
      "request": {
        "auth": {
          "type": "bearer",
          "bearer": [
            {
              "key": "token",
              "value": "{{token}}",
              "type": "string"
            }
          ]
        },
        "method": "GET",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{SERVICE}}/search/{{search_id}}/result",
          "host": [
            "{{SERVICE}}"
          ],
          "path": [
            "search",
            "{{search_id}}",
            "result"
          ],
          "query": [
            {
              "key": "include_results_from",
              "value": "",
              "disabled": true
            }
          ]
        }
      },
      "response": []
    },
    {
      "name": "Get audit log",
      "event": [
        {
          "listen": "test",
          "script": {
            "exec": [
              "pm.test(\"Status code is 200\", function () {",
              "    pm.response.to.have.status(200);",
              "});"
            ],
            "type": "text/javascript",
            "packages": {}
          }
        }
      ],
      "protocolProfileBehavior": {
        "disableBodyPruning": true
      },
      "request": {
        "auth": {
          "type": "bearer",
          "bearer": [
            {
              "key": "token",
              "value": "{{token}}",
              "type": "string"
            }
          ]
        },
        "method": "GET",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{SERVICE}}/audit-log",
          "host": [
            "{{SERVICE}}"
          ],
          "path": [
            "audit-log"
          ],
          "query": [
            {
              "key": "",
              "value": "",
              "disabled": true
            }
          ]
        }
      },
      "response": []
    }
  ]
}