{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/superdocs-app/json-schema/superdocs-app-limit-increase-request-schema.json",
  "title": "LimitIncreaseRequest",
  "description": "Body for request_limit_increase — the one-call limit-expansion request.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/superdocs-app-account-api-openapi.yml#/components/schemas/LimitIncreaseRequest",
  "properties": {
    "kind": {
      "type": "string",
      "enum": [
        "document_scale",
        "session_scale",
        "other"
      ],
      "title": "Kind",
      "description": "What you hit: 'document_scale' = a single document crossed the per-document page limit (413 DOCUMENT_TOO_COMPLEX); 'session_scale' = the documents open in one chat crossed the per-chat limit (413 SESSION_TOO_FULL); 'other' = anything else (explain in note).",
      "default": "document_scale"
    },
    "attempted_pages": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 10000000.0,
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Attempted Pages",
      "description": "Approximate page count you were trying to work with (from the 413 message)."
    },
    "attempted_sections": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 10000000.0,
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Attempted Sections",
      "description": "Exact section count from the 413 detail (section_count / document_section_count), if you have it."
    },
    "filename": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 255
        },
        {
          "type": "null"
        }
      ],
      "title": "Filename",
      "description": "The file that hit the limit, if any."
    },
    "note": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2000
        },
        {
          "type": "null"
        }
      ],
      "title": "Note",
      "description": "Anything else that helps us size your limits (workload, cadence, deadline)."
    }
  },
  "type": "object"
}