{
  "opencollection": "1.0.0",
  "info": {
    "name": "Unleash Admin Addons Events API",
    "version": "7.4.1"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Events",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get the Most Recent Events From the Unleash Instance or All Events Related to a Project.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.unleash-instance.example.com/api/admin/events",
            "params": [
              {
                "name": "project",
                "value": "",
                "type": "query",
                "description": "The name of the project whose events you want to retrieve"
              }
            ]
          },
          "docs": "Returns **the last 100** events from the Unleash instance when called without a query parameter. When called with a `project` parameter, returns **all events** for the specified project.\n\nIf the provided project does not exist, the list of events will be empty."
        },
        {
          "info": {
            "name": "Get All Events Related to a Specific Feature Flag.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.unleash-instance.example.com/api/admin/events/:featureName",
            "params": [
              {
                "name": "featureName",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Returns all events related to the specified feature flag. If the feature flag does not exist, the list of events will be empty."
        },
        {
          "info": {
            "name": "Get a List of All Users That Have Created Events",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.unleash-instance.example.com/api/admin/event-creators"
          },
          "docs": "Returns a list of all users that have created events in the system."
        },
        {
          "info": {
            "name": "Search for Events",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.unleash-instance.example.com/api/admin/search/events",
            "params": [
              {
                "name": "query",
                "value": "",
                "type": "query",
                "description": "Find events by a free-text search query. The query will be matched against the event data payload (if any)."
              },
              {
                "name": "id",
                "value": "",
                "type": "query",
                "description": "Filter by event ID using supported operators: IS, IS_ANY_OF."
              },
              {
                "name": "groupId",
                "value": "",
                "type": "query",
                "description": "Filter by group ID using supported operators: IS, IS_ANY_OF."
              },
              {
                "name": "feature",
                "value": "",
                "type": "query",
                "description": "Filter by feature name using supported operators: IS, IS_ANY_OF"
              },
              {
                "name": "project",
                "value": "",
                "type": "query",
                "description": "Filter by projects ID using supported operators: IS, IS_ANY_OF."
              },
              {
                "name": "type",
                "value": "",
                "type": "query",
                "description": "Filter by event type using supported operators: IS, IS_ANY_OF."
              },
              {
                "name": "createdBy",
                "value": "",
                "type": "query",
                "description": "Filter by the ID of the event creator, using supported operators: IS, IS_ANY_OF."
              },
              {
                "name": "from",
                "value": "",
                "type": "query",
                "description": "The starting date of the creation date range in IS:yyyy-MM-dd format"
              },
              {
                "name": "to",
                "value": "",
                "type": "query",
                "description": "The ending date of the creation date range in IS:yyyy-MM-dd format"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "The number of features to skip when returning a page. By default it is set to 0."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The number of feature environments to return in a page. By default it is set to 50. The maximum is 1000."
              },
              {
                "name": "environment",
                "value": "",
                "type": "query",
                "description": "Filter by environment name using supported operators: IS, IS_ANY_OF."
              }
            ]
          },
          "docs": "Allows searching for events that match the query parameter criteria."
        }
      ]
    }
  ],
  "bundled": true
}