{
  "opencollection": "1.0.0",
  "info": {
    "name": "E2B Sandbox Events and Webhooks API",
    "version": "0.1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-API-Key",
      "value": "{{X-API-Key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "events",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List team sandbox lifecycle events",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.e2b.app/events/sandboxes",
            "params": [
              {
                "name": "offset",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "orderAsc",
                "value": "",
                "type": "query"
              },
              {
                "name": "types",
                "value": "",
                "type": "query",
                "description": "Filter by event type. Repeatable."
              }
            ]
          },
          "docs": "Returns sandbox lifecycle events across the entire team. Supports\npagination via offset/limit and filtering by event type.\n"
        },
        {
          "info": {
            "name": "List events for a single sandbox",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.e2b.app/events/sandboxes/:sandboxID",
            "params": [
              {
                "name": "sandboxID",
                "value": "",
                "type": "path"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "orderAsc",
                "value": "",
                "type": "query"
              },
              {
                "name": "types",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List events for a single sandbox"
        }
      ]
    },
    {
      "info": {
        "name": "webhooks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List webhook subscriptions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.e2b.app/events/webhooks"
          },
          "docs": "List webhook subscriptions"
        },
        {
          "info": {
            "name": "Register a webhook subscription",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.e2b.app/events/webhooks",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Register a webhook subscription"
        },
        {
          "info": {
            "name": "Get a webhook subscription",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.e2b.app/events/webhooks/:webhookID",
            "params": [
              {
                "name": "webhookID",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a webhook subscription"
        },
        {
          "info": {
            "name": "Update a webhook subscription",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.e2b.app/events/webhooks/:webhookID",
            "params": [
              {
                "name": "webhookID",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a webhook subscription"
        },
        {
          "info": {
            "name": "Delete a webhook subscription",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.e2b.app/events/webhooks/:webhookID",
            "params": [
              {
                "name": "webhookID",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a webhook subscription"
        }
      ]
    }
  ],
  "bundled": true
}