OWASP ZAP Hud API

The hud API from OWASP ZAP — 37 operation(s) for hud.

Operations 37

GET /JSON/hud/action/log/ Hud action log #
GET /JSON/hud/action/recordRequest/ Hud action record request #
GET /JSON/hud/action/resetTutorialTasks/ Hud action reset tutorial tasks #
GET /JSON/hud/action/setOptionBaseDirectory/ Hud action set option base directory #
GET /JSON/hud/action/setOptionDevelopmentMode/ Hud action set option development mode #
GET /JSON/hud/action/setOptionEnableOnDomainMsgs/ Hud action set option enable on domain msgs #
GET /JSON/hud/action/setOptionEnabledForDaemon/ Hud action set option enabled for daemon #
GET /JSON/hud/action/setOptionEnabledForDesktop/ Hud action set option enabled for desktop #
GET /JSON/hud/action/setOptionInScopeOnly/ Hud action set option in scope only #
GET /JSON/hud/action/setOptionRemoveCSP/ Hud action set option remove CSP #
GET /JSON/hud/action/setOptionShowWelcomeScreen/ Hud action set option show welcome screen #
GET /JSON/hud/action/setOptionSkipTutorialTasks/ Hud action set option skip tutorial tasks #
GET /JSON/hud/action/setOptionTutorialTaskDone/ Hud action set option tutorial task done #
GET /JSON/hud/action/setOptionTutorialTestMode/ Hud action set option tutorial test mode #
GET /JSON/hud/action/setUiOption/ Hud action set ui option #
GET /OTHER/hud/other/changesInHtml/ Hud other changes in html #
GET /JSON/hud/view/getUiOption/ Hud view get ui option #
GET /JSON/hud/view/heartbeat/ Hud view heartbeat #
GET /JSON/hud/view/hudAlertData/ Hud view hud alert data #
GET /JSON/hud/view/optionAllowUnsafeEval/ Hud view option allow unsafe eval #
GET /JSON/hud/view/optionBaseDirectory/ Hud view option base directory #
GET /JSON/hud/view/optionDevelopmentMode/ Hud view option development mode #
GET /JSON/hud/view/optionEnableOnDomainMsgs/ Hud view option enable on domain msgs #
GET /JSON/hud/view/optionEnableTelemetry/ Hud view option enable telemetry #
GET /JSON/hud/view/optionEnabledForDaemon/ Hud view option enabled for daemon #
GET /JSON/hud/view/optionEnabledForDesktop/ Hud view option enabled for desktop #
GET /JSON/hud/view/optionInScopeOnly/ Hud view option in scope only #
GET /JSON/hud/view/optionRemoveCSP/ Hud view option remove CSP #
GET /JSON/hud/view/optionShowWelcomeScreen/ Hud view option show welcome screen #
GET /JSON/hud/view/optionSkipTutorialTasks/ Hud view option skip tutorial tasks #
GET /JSON/hud/view/optionTutorialHost/ Hud view option tutorial host #
GET /JSON/hud/view/optionTutorialPort/ Hud view option tutorial port #
GET /JSON/hud/view/optionTutorialTasksDone/ Hud view option tutorial tasks done #
GET /JSON/hud/view/optionTutorialTestMode/ Hud view option tutorial test mode #
GET /JSON/hud/view/optionTutorialUpdates/ Hud view option tutorial updates #
GET /JSON/hud/view/tutorialUpdates/ Hud view tutorial updates #
GET /JSON/hud/view/upgradedDomains/ Hud view upgraded domains #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/owasp-zap-hud-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

owasp-zap-hud-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ZAP Hud API
  description: The HTTP API for controlling and accessing ZAP.
  contact:
    name: ZAP User Group
    url: https://groups.google.com/group/zaproxy-users
    email: zaproxy-users@googlegroups.com
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  version: 2.16.1
servers:
- url: http://zap
  description: The URL while proxying through ZAP.
- url: http://{address}:{port}
  description: The URL of a Local Proxy of ZAP.
  variables:
    address:
      description: The address ZAP is listening on.
      default: 127.0.0.1
    port:
      description: The port ZAP is bound to.
      default: '8080'
security:
- {}
- apiKeyHeader: []
- apiKeyQuery: []
tags:
- name: hud
paths:
  /JSON/hud/action/log/:
    parameters:
    - name: record
      in: query
      required: true
      description: ''
      schema:
        type: string
    get:
      description: Used by the HUD to log messages from the browser
      operationId: hudActionLog
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud action log
      x-summary-source: derived
  /JSON/hud/action/recordRequest/:
    parameters:
    - name: header
      in: query
      required: true
      description: ''
      schema:
        type: string
    - name: body
      in: query
      required: true
      description: ''
      schema:
        type: string
    get:
      description: Used by the HUD to cache a request the user wants to send in the browser
      operationId: hudActionRecordRequest
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud action record request
      x-summary-source: derived
  /JSON/hud/action/resetTutorialTasks/:
    get:
      description: Reset the tutorial tasks so that they must be completed again
      operationId: hudActionResetTutorialTasks
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud action reset tutorial tasks
      x-summary-source: derived
  /JSON/hud/action/setOptionBaseDirectory/:
    parameters:
    - name: String
      in: query
      required: true
      description: ''
      schema:
        type: string
    get:
      description: Set the base directory from which the HUD files are loaded
      operationId: hudActionSetOptionBaseDirectory
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud action set option base directory
      x-summary-source: derived
  /JSON/hud/action/setOptionDevelopmentMode/:
    parameters:
    - name: Boolean
      in: query
      required: true
      description: ''
      schema:
        type: boolean
    get:
      description: Sets the boolean option 'Development mode'
      operationId: hudActionSetOptionDevelopmentMode
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud action set option development mode
      x-summary-source: derived
  /JSON/hud/action/setOptionEnableOnDomainMsgs/:
    parameters:
    - name: Boolean
      in: query
      required: true
      description: ''
      schema:
        type: boolean
    get:
      description: ''
      operationId: hudActionSetOptionEnableOnDomainMsgs
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud action set option enable on domain msgs
      x-summary-source: derived
  /JSON/hud/action/setOptionEnabledForDaemon/:
    parameters:
    - name: Boolean
      in: query
      required: true
      description: ''
      schema:
        type: boolean
    get:
      description: ''
      operationId: hudActionSetOptionEnabledForDaemon
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud action set option enabled for daemon
      x-summary-source: derived
  /JSON/hud/action/setOptionEnabledForDesktop/:
    parameters:
    - name: Boolean
      in: query
      required: true
      description: ''
      schema:
        type: boolean
    get:
      description: ''
      operationId: hudActionSetOptionEnabledForDesktop
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud action set option enabled for desktop
      x-summary-source: derived
  /JSON/hud/action/setOptionInScopeOnly/:
    parameters:
    - name: Boolean
      in: query
      required: true
      description: ''
      schema:
        type: boolean
    get:
      description: Sets the boolean option 'In scope only'
      operationId: hudActionSetOptionInScopeOnly
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud action set option in scope only
      x-summary-source: derived
  /JSON/hud/action/setOptionRemoveCSP/:
    parameters:
    - name: Boolean
      in: query
      required: true
      description: ''
      schema:
        type: boolean
    get:
      description: Sets the boolean option 'Remove CSP'
      operationId: hudActionSetOptionRemoveCSP
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud action set option remove CSP
      x-summary-source: derived
  /JSON/hud/action/setOptionShowWelcomeScreen/:
    parameters:
    - name: Boolean
      in: query
      required: true
      description: ''
      schema:
        type: boolean
    get:
      description: ''
      operationId: hudActionSetOptionShowWelcomeScreen
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud action set option show welcome screen
      x-summary-source: derived
  /JSON/hud/action/setOptionSkipTutorialTasks/:
    parameters:
    - name: Boolean
      in: query
      required: true
      description: ''
      schema:
        type: boolean
    get:
      description: ''
      operationId: hudActionSetOptionSkipTutorialTasks
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud action set option skip tutorial tasks
      x-summary-source: derived
  /JSON/hud/action/setOptionTutorialTaskDone/:
    parameters:
    - name: String
      in: query
      required: true
      description: ''
      schema:
        type: string
    get:
      description: ''
      operationId: hudActionSetOptionTutorialTaskDone
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud action set option tutorial task done
      x-summary-source: derived
  /JSON/hud/action/setOptionTutorialTestMode/:
    parameters:
    - name: Boolean
      in: query
      required: true
      description: ''
      schema:
        type: boolean
    get:
      description: ''
      operationId: hudActionSetOptionTutorialTestMode
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud action set option tutorial test mode
      x-summary-source: derived
  /JSON/hud/action/setUiOption/:
    parameters:
    - name: key
      in: query
      required: true
      description: ''
      schema:
        type: string
    - name: value
      in: query
      description: ''
      schema:
        type: string
    get:
      description: Sets a UI option with the given key and value. The key must be 50 or fewer alphanumeric characters
      operationId: hudActionSetUiOption
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud action set ui option
      x-summary-source: derived
  /OTHER/hud/other/changesInHtml/:
    get:
      description: Returns the changelog in HTML format
      operationId: hudOtherChangesInHtml
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorOther'
      summary: Hud other changes in html
      x-summary-source: derived
  /JSON/hud/view/getUiOption/:
    parameters:
    - name: key
      in: query
      required: true
      description: ''
      schema:
        type: string
    get:
      description: Gets a UI option set using setUiOption. If the supplied key is not set then an empty string is returned
      operationId: hudViewGetUiOption
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud view get ui option
      x-summary-source: derived
  /JSON/hud/view/heartbeat/:
    get:
      description: Used by service workers to keep alive
      operationId: hudViewHeartbeat
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud view heartbeat
      x-summary-source: derived
  /JSON/hud/view/hudAlertData/:
    parameters:
    - name: url
      in: query
      required: true
      description: ''
      schema:
        type: string
    get:
      description: Returns the alert summary needed by the HUD for the specified URL
      operationId: hudViewHudAlertData
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud view hud alert data
      x-summary-source: derived
  /JSON/hud/view/optionAllowUnsafeEval/:
    get:
      description: Returns true if the 'Allow unsafe-eval' option is set
      operationId: hudViewOptionAllowUnsafeEval
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud view option allow unsafe eval
      x-summary-source: derived
  /JSON/hud/view/optionBaseDirectory/:
    get:
      description: Returns the base directory from which the HUD files are loaded
      operationId: hudViewOptionBaseDirectory
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud view option base directory
      x-summary-source: derived
  /JSON/hud/view/optionDevelopmentMode/:
    get:
      description: Returns true if the 'Development mode' option is set
      operationId: hudViewOptionDevelopmentMode
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud view option development mode
      x-summary-source: derived
  /JSON/hud/view/optionEnableOnDomainMsgs/:
    get:
      description: ''
      operationId: hudViewOptionEnableOnDomainMsgs
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud view option enable on domain msgs
      x-summary-source: derived
  /JSON/hud/view/optionEnableTelemetry/:
    get:
      description: ''
      operationId: hudViewOptionEnableTelemetry
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud view option enable telemetry
      x-summary-source: derived
  /JSON/hud/view/optionEnabledForDaemon/:
    get:
      description: ''
      operationId: hudViewOptionEnabledForDaemon
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud view option enabled for daemon
      x-summary-source: derived
  /JSON/hud/view/optionEnabledForDesktop/:
    get:
      description: ''
      operationId: hudViewOptionEnabledForDesktop
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud view option enabled for desktop
      x-summary-source: derived
  /JSON/hud/view/optionInScopeOnly/:
    get:
      description: Returns true if the 'In scope only' option is set
      operationId: hudViewOptionInScopeOnly
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud view option in scope only
      x-summary-source: derived
  /JSON/hud/view/optionRemoveCSP/:
    get:
      description: Returns true if the 'Remove CSP' option is set
      operationId: hudViewOptionRemoveCSP
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud view option remove CSP
      x-summary-source: derived
  /JSON/hud/view/optionShowWelcomeScreen/:
    get:
      description: ''
      operationId: hudViewOptionShowWelcomeScreen
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud view option show welcome screen
      x-summary-source: derived
  /JSON/hud/view/optionSkipTutorialTasks/:
    get:
      description: ''
      operationId: hudViewOptionSkipTutorialTasks
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud view option skip tutorial tasks
      x-summary-source: derived
  /JSON/hud/view/optionTutorialHost/:
    get:
      description: ''
      operationId: hudViewOptionTutorialHost
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud view option tutorial host
      x-summary-source: derived
  /JSON/hud/view/optionTutorialPort/:
    get:
      description: ''
      operationId: hudViewOptionTutorialPort
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud view option tutorial port
      x-summary-source: derived
  /JSON/hud/view/optionTutorialTasksDone/:
    get:
      description: ''
      operationId: hudViewOptionTutorialTasksDone
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud view option tutorial tasks done
      x-summary-source: derived
  /JSON/hud/view/optionTutorialTestMode/:
    get:
      description: ''
      operationId: hudViewOptionTutorialTestMode
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud view option tutorial test mode
      x-summary-source: derived
  /JSON/hud/view/optionTutorialUpdates/:
    get:
      description: ''
      operationId: hudViewOptionTutorialUpdates
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud view option tutorial updates
      x-summary-source: derived
  /JSON/hud/view/tutorialUpdates/:
    get:
      description: ''
      operationId: hudViewTutorialUpdates
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud view tutorial updates
      x-summary-source: derived
  /JSON/hud/view/upgradedDomains/:
    get:
      description: ''
      operationId: hudViewUpgradedDomains
      tags:
      - hud
      responses:
        default:
          $ref: '#/components/responses/ErrorJson'
      summary: Hud view upgraded domains
      x-summary-source: derived
components:
  schemas:
    ErrorJson:
      type: object
      required:
      - code
      - message
      properties:
        code:
          type: string
        message:
          type: string
        detail:
          type: string
  responses:
    ErrorJson:
      description: Error of JSON endpoints.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorJson'
    ErrorOther:
      description: Error of OTHER endpoints.
      content:
        '*/*': {}
  securitySchemes:
    apiKeyHeader:
      type: apiKey
      name: X-ZAP-API-Key
      in: header
    apiKeyQuery:
      type: apiKey
      name: apikey
      in: query