AgentQL · JSON Structure

Agentql Create Session Request Structure

Request body for creating a remote browser session.

Type: object Properties: 4
AgentsArtificial IntelligenceWeb ScrapingData ExtractionBrowser AutomationREST API

CreateSessionRequest is a JSON Structure definition published by AgentQL, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

browser_ua_preset browser_profile inactivity_timeout_seconds proxy

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/agentql/refs/heads/main/json-structure/agentql-create-session-request-structure.json",
  "name": "CreateSessionRequest",
  "description": "Request body for creating a remote browser session.",
  "type": "object",
  "properties": {
    "browser_ua_preset": {
      "type": "string",
      "enum": [
        "windows",
        "macos",
        "linux"
      ],
      "description": "Operating system to simulate in the browser user agent.",
      "example": "macos"
    },
    "browser_profile": {
      "type": "string",
      "enum": [
        "light",
        "stealth"
      ],
      "description": "Browser behavior profile.",
      "example": "stealth"
    },
    "inactivity_timeout_seconds": {
      "type": "int32",
      "description": "Seconds of inactivity before the session is automatically terminated.",
      "example": 300
    },
    "proxy": {
      "type": "object",
      "description": "Proxy configuration for the browser session.",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "tetra",
            "custom"
          ],
          "example": "tetra"
        }
      }
    }
  }
}