{
  "opencollection": "1.0.0",
  "info": {
    "name": "PostHog actions event_filter API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "event_filter",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "event_filter_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/environments/:project_id/event_filter/",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Returns the event filter config for the team, or null if not yet created."
        },
        {
          "info": {
            "name": "event_filter_create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/environments/:project_id/event_filter/",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create or update the event filter config."
        },
        {
          "info": {
            "name": "event_filter_metrics_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/environments/:project_id/event_filter/metrics/",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Single event filter per team.\nGET  /event_filter/ — returns the config (or null if not yet created)\nPOST /event_filter/ — creates or updates the config (upsert)\nGET  /event_filter/metrics/ — time-series metrics\nGET  /event_filter/metrics/totals/ — aggregate totals"
        },
        {
          "info": {
            "name": "event_filter_metrics_totals_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/environments/:project_id/event_filter/metrics/totals/",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Single event filter per team.\nGET  /event_filter/ — returns the config (or null if not yet created)\nPOST /event_filter/ — creates or updates the config (upsert)\nGET  /event_filter/metrics/ — time-series metrics\nGET  /event_filter/metrics/totals/ — aggregate totals"
        }
      ]
    }
  ],
  "bundled": true
}