SpecStream · Schema

BrowserSession

A session as every route answers it: create (201), read, list items and release.

DataArtificial IntelligenceSearchExtractionMonitoring

Properties

Name Type Description
id string
status object
ended_reason object
connect_url object A WebSocket that speaks the Chrome DevTools Protocol: Playwright connect_over_cdp, Puppeteer connect, browser-use cdp_url and Stagehand drive it as it is. Its token belongs to this session alone and l
actions_url string
live_url object A page that shows the browser's screen as it changes. null once the session ended.
created_at string
started_at object
ended_at object
expires_at string
timeout_s integer
idle_timeout_s integer
keep_alive boolean
headless boolean
viewport object
allowed_domains array
block_media boolean
metadata object
seconds integer Seconds the browser ran, as charged.
actions integer Steps counted for the session.
bytes integer Bytes the browser read from the web.
charged_usd number What the session has cost so far.
limits object
price object
View JSON Schema on GitHub

JSON Schema

specstream-ai-browser-session-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/specstream-ai/json-schema/specstream-ai-browser-session-schema.json",
  "title": "BrowserSession",
  "description": "A session as every route answers it: create (201), read, list items and release.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/specstream-ai-openapi.json#/components/schemas/BrowserSession",
  "additionalProperties": false,
  "properties": {
    "id": {
      "title": "Id",
      "type": "string"
    },
    "status": {
      "$ref": "#/$defs/SessionStatus"
    },
    "ended_reason": {
      "anyOf": [
        {
          "$ref": "#/$defs/EndedReason"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    },
    "connect_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "A WebSocket that speaks the Chrome DevTools Protocol: Playwright connect_over_cdp, Puppeteer connect, browser-use cdp_url and Stagehand drive it as it is. Its token belongs to this session alone and lapses when the session ends, so it can be handed to a sandbox without your API key. null once the session ended.",
      "title": "Connect Url"
    },
    "actions_url": {
      "title": "Actions Url",
      "type": "string"
    },
    "live_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "A page that shows the browser's screen as it changes. null once the session ended.",
      "title": "Live Url"
    },
    "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
    },
    "started_at": {
      "anyOf": [
        {
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Started At"
    },
    "ended_at": {
      "anyOf": [
        {
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Ended At"
    },
    "expires_at": {
      "format": "date-time",
      "title": "Expires At",
      "type": "string"
    },
    "timeout_s": {
      "title": "Timeout S",
      "type": "integer"
    },
    "idle_timeout_s": {
      "title": "Idle Timeout S",
      "type": "integer"
    },
    "keep_alive": {
      "title": "Keep Alive",
      "type": "boolean"
    },
    "headless": {
      "title": "Headless",
      "type": "boolean"
    },
    "viewport": {
      "$ref": "#/$defs/Viewport"
    },
    "allowed_domains": {
      "items": {
        "type": "string"
      },
      "title": "Allowed Domains",
      "type": "array"
    },
    "block_media": {
      "title": "Block Media",
      "type": "boolean"
    },
    "metadata": {
      "additionalProperties": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "integer"
          },
          {
            "type": "number"
          },
          {
            "type": "boolean"
          }
        ]
      },
      "title": "Metadata",
      "type": "object"
    },
    "seconds": {
      "description": "Seconds the browser ran, as charged.",
      "minimum": 0,
      "title": "Seconds",
      "type": "integer"
    },
    "actions": {
      "description": "Steps counted for the session.",
      "minimum": 0,
      "title": "Actions",
      "type": "integer"
    },
    "bytes": {
      "description": "Bytes the browser read from the web.",
      "minimum": 0,
      "title": "Bytes",
      "type": "integer"
    },
    "charged_usd": {
      "description": "What the session has cost so far.",
      "minimum": 0,
      "title": "Charged Usd",
      "type": "number"
    },
    "limits": {
      "$ref": "#/$defs/SessionLimits"
    },
    "price": {
      "$ref": "#/$defs/SessionPrice"
    }
  },
  "required": [
    "id",
    "status",
    "connect_url",
    "actions_url",
    "live_url",
    "created_at",
    "expires_at",
    "timeout_s",
    "idle_timeout_s",
    "keep_alive",
    "headless",
    "viewport",
    "allowed_domains",
    "block_media",
    "metadata",
    "seconds",
    "actions",
    "bytes",
    "charged_usd",
    "limits",
    "price"
  ],
  "type": "object",
  "$defs": {
    "EndedReason": {
      "enum": [
        "released",
        "timeout",
        "idle",
        "disconnected",
        "balance",
        "host_pressure",
        "crashed",
        "start_failed"
      ],
      "title": "EndedReason",
      "type": "string"
    },
    "SessionLimits": {
      "additionalProperties": false,
      "properties": {
        "concurrent": {
          "description": "Sessions this account may hold open at once.",
          "title": "Concurrent",
          "type": "integer"
        },
        "max_timeout_s": {
          "default": 3600,
          "title": "Max Timeout S",
          "type": "integer"
        }
      },
      "required": [
        "concurrent"
      ],
      "title": "SessionLimits",
      "type": "object"
    },
    "SessionPrice": {
      "additionalProperties": false,
      "properties": {
        "per_second_usd": {
          "title": "Per Second Usd",
          "type": "number"
        },
        "per_action_usd": {
          "title": "Per Action Usd",
          "type": "number"
        }
      },
      "required": [
        "per_second_usd",
        "per_action_usd"
      ],
      "title": "SessionPrice",
      "type": "object"
    },
    "SessionStatus": {
      "enum": [
        "starting",
        "running",
        "ended"
      ],
      "title": "SessionStatus",
      "type": "string"
    },
    "Viewport": {
      "additionalProperties": false,
      "properties": {
        "width": {
          "default": 1280,
          "maximum": 7680,
          "minimum": 200,
          "title": "Width",
          "type": "integer"
        },
        "height": {
          "default": 720,
          "maximum": 4320,
          "minimum": 200,
          "title": "Height",
          "type": "integer"
        }
      },
      "title": "Viewport",
      "type": "object"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/specstream-ai-browser-session"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.