Invocations

List browsers for an invocation

Changed on

Returns all active browser sessions created within the specified invocation.

get/invocations/{id}/browsers

Request

  • Base URL
    https://api.onkernel.com
  • URL
    https://api.onkernel.com/invocations/{id}/browsers
  • Auth
    HTTP bearer

Path parameters

idstring required

Invocation ID

Response

List of browsers for this invocation

Example response

{
  "browsers": [
    {
      "base_url": "https://proxy.yul-upbeat-herschel.onkernel.com:8443/browser/kernel",
      "browser_live_view_url": "https://proxy.yul-upbeat-herschel.onkernel.com:8443/browser/live?jwt=eyJ0eXAi...",
      "cdp_ws_url": "wss://proxy.yul-upbeat-herschel.onkernel.com:8443/browser/cdp?jwt=eyJ0eXAi...",
      "location": {
        "locale": "en-US",
        "timezone": "America/Los_Angeles"
      },
      "memory": "8GiB",
      "name": "checkout-flow-1",
      "network": {
        "allowed_hosts": [
          "example.com",
          "*.example.com"
        ],
        "private_hosts": [
          "*.example.ts.net",
          "100.64.0.0/10"
        ]
      },
      "session_id": "htzv5orfit78e1m2biiifpbv",
      "start_url": "https://example.com",
      "tags": {
        "env": "staging",
        "team": "backend"
      },
      "video_memory": "2GiB",
      "viewport": {
        "height": 800,
        "refresh_rate": 60,
        "width": 1280
      },
      "webdriver_ws_url": "wss://proxy.yul-upbeat-herschel.onkernel.com:8443/browser/webdriver/session?jwt=eyJ0eXAi..."
    }
  ]
}

Changes

    • info

      added the optional property // to the response with the status

    • warning

      added the new default enum value to the /// response property for the response status

    • warning

      added the new default enum value to the /// response property for the response status

    • info

      removed the metro enum value from the /// response property for the response status

    • info

      removed the metro enum value from the /// response property for the response status