{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/unbrowse-ai/json-schema/unbrowse-ai-egress-response-schema.json",
  "title": "EgressResponse",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/unbrowse-ai-openapi.json#/components/schemas/EgressResponse",
  "type": "object",
  "required": [
    "status"
  ],
  "properties": {
    "status": {
      "type": "integer",
      "minimum": 100,
      "maximum": 599
    },
    "headers": {
      "description": "As [name, value] pairs (keeps repeated headers such as set-cookie) or an object.",
      "oneOf": [
        {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "minItems": 2,
            "maxItems": 2
          }
        },
        {
          "type": "object",
          "additionalProperties": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          }
        }
      ]
    },
    "body": {
      "type": "string",
      "description": "The body, decoded (no content-encoding). Up to 10 MB."
    },
    "bodyEncoding": {
      "type": "string",
      "enum": [
        "text",
        "base64"
      ],
      "default": "text"
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "The final URL, when redirects were followed."
    }
  }
}