String · Schema

BrowserSession

Web ScrapingData ExtractionMarkdownJSON

Properties

Name Type Description
id string
status string `expired` is a created session that was never connected within its ten minutes.
connectUrl string Present while `pending`: the `/wss` URL that connects this session, once. Send the API key as the `Authorization` header.
connectBy string Present while `pending`: the session expires unconnected after this.
contextId stringnull
persist booleannull
proxy object
record boolean Whether a screencast replay is recorded.
frameCount integer Replay frames stored so far.
attempts integer Browser launches it took to connect; capacity retries add one each.
closeCode integernull
closeReason stringnull
createdAt string
startedAt stringnull
endedAt stringnull
View JSON Schema on GitHub

JSON Schema

usestring-ai-browser-session-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/usestring-ai/json-schema/usestring-ai-browser-session-schema.json",
  "title": "BrowserSession",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/usestring-ai-sessions-api-openapi.yml#/components/schemas/BrowserSession",
  "type": "object",
  "required": [
    "id",
    "status",
    "contextId",
    "persist",
    "proxy",
    "record",
    "frameCount",
    "attempts",
    "closeCode",
    "closeReason",
    "createdAt",
    "startedAt",
    "endedAt"
  ],
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^ses_[0-9a-f]{32}$"
    },
    "status": {
      "type": "string",
      "enum": [
        "pending",
        "connecting",
        "running",
        "ended",
        "failed",
        "expired"
      ],
      "description": "`expired` is a created session that was never connected within its ten minutes."
    },
    "connectUrl": {
      "type": "string",
      "description": "Present while `pending`: the `/wss` URL that connects this session, once. Send the API key as the `Authorization` header."
    },
    "connectBy": {
      "type": "string",
      "format": "date-time",
      "description": "Present while `pending`: the session expires unconnected after this."
    },
    "contextId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "persist": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "proxy": {
      "type": "object",
      "required": [
        "tier",
        "countryCode",
        "provider",
        "zone"
      ],
      "properties": {
        "tier": {
          "type": "string",
          "enum": [
            "standard",
            "premium"
          ]
        },
        "countryCode": {
          "type": [
            "string",
            "null"
          ]
        },
        "provider": {
          "type": [
            "string",
            "null"
          ],
          "description": "The exit provider the session was routed through, once it connected."
        },
        "zone": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "record": {
      "type": "boolean",
      "description": "Whether a screencast replay is recorded."
    },
    "frameCount": {
      "type": "integer",
      "description": "Replay frames stored so far."
    },
    "attempts": {
      "type": "integer",
      "description": "Browser launches it took to connect; capacity retries add one each."
    },
    "closeCode": {
      "type": [
        "integer",
        "null"
      ]
    },
    "closeReason": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "startedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "endedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  }
}

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/usestring-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.