mlab Vulnerability Monitoring API

Read the open vulnerabilities of the monitored assets, the infrastructure inventory and the exceptions register. Team and Enterprise.

GitHub OpenAPI

Operations 3

GET /api/v1/scan/monitoring/findings List open vulnerabilities #
GET /api/v1/scan/monitoring/assets List the infrastructure inventory #
GET /api/v1/scan/monitoring/exceptions List the exceptions register #

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/mlab-sh:mlab-sh-vulnerability-monitoring-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

mlab-sh-vulnerability-monitoring-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: mlab.sh Vulnerability Monitoring API
  version: 1.0.0
  description: 'The **mlab.sh** REST API lets you launch domain security scans, look up IP, crypto, hash, URL, email, phone and MAC intelligence, extract IOCs from raw text, analyze files and scripts, triage indicator lists, run RedKit audits, schedule scans, work on cases and inspect SSL certificates programmatically.


    All endpoints are authenticated with an API key sent in the `Authorization` header. Generate a key from **Organization → Settings → API keys** on mlab.sh. A key belongs to the organization and carries permissions chosen when it is created (`scan.lookup`, `scan.domain`, `scan.file`, `scan.batch`, `redkit`, `watchdog.read`, `watchdog.write`, `cases.read`, `cases.write`, `tags.read`, `tags.write`, `webhooks.manage`, or full access). A call outside the key''s permissions returns **403** naming the missing permission; organization and account settings are never reachable with a key. `webhooks.manage` is the one exception and is **never part of full access**: it must be ticked by name (a full-access key can hold it too). It lets a key register signed webhook endpoints and list or delete only the ones it registered itself.


    **Working through an AI agent?** Prefer the Model Context Protocol server at `https://mlab.sh/mcp` (Streamable HTTP, OAuth 2.0 or an `mcp_` token). It exposes 48 tools covering most of what is below plus CVE search, threat-actor attribution, SBOM scanning, cases and workspace memory, cluster and Proxmox inspection and offline indicator lookups that consume no scan quota, so it is a wider surface than this REST API rather than a wrapper over it. See https://doc.mlab.sh/docs/mlab.sh/integrations/mcp and https://mlab.sh/llms.txt.


    **Permissions.** Each operation lists the API key permission it needs (`x-api-key-permission`). Keys created before 2026-10-01 were migrated to full access.


    **Expiry.** A key is created with a lifetime (90 days by default; 30, 180, 365 days or never). An expired key is answered **401**, like an unknown one. The expiry date shows in Organization → Settings → API keys.


    **Quota headers.** Every call that spends scan quota answers with `X-RateLimit-Limit` (the plan''s limit for that scan type), `X-RateLimit-Remaining` (what is left after this call), `X-RateLimit-Resource` (the scan type) and `X-RateLimit-Window` (86400: quotas count a rolling 24 hours, so there is no fixed reset time). Unlimited plans send none.'
  contact:
    name: mlab.sh support
    email: contact@cyberdream.io
    url: https://mlab.sh
  license:
    name: Proprietary
  x-source-of-truth: html/openapi.json in the mlab.sh app repository, served at https://mlab.sh/openapi.json. The docs repository generates openapi.yaml from it with scripts/sync-openapi.mjs.
servers:
- url: https://mlab.sh
  description: Production
security:
- ApiKeyAuth: []
tags:
- name: Vulnerability Monitoring
  description: Read the open vulnerabilities of the monitored assets, the infrastructure inventory and the exceptions register. Team and Enterprise.
paths:
  /api/v1/scan/monitoring/findings:
    get:
      tags:
      - Vulnerability Monitoring
      summary: List open vulnerabilities
      operationId: listMonitoringFindings
      description: 'The open vulnerabilities of the monitored domains and networks, one row per vulnerability and product with how many hosts and assets it is on, worst first (or highest EPSS first). The same filters as the Vulnerabilities page.


        **API key permission:** `monitoring.read`.'
      parameters:
      - name: asset
        in: query
        required: false
        description: A verified domain or network, or a host and what is under it
        schema:
          type: string
      - name: severity
        in: query
        required: false
        description: critical, high, medium or low
        schema:
          type: string
          enum:
          - critical
          - high
          - medium
          - low
      - name: kev
        in: query
        required: false
        description: Exploited in the wild (KEV) for the version found
        schema:
          type: boolean
      - name: kev_unverified
        in: query
        required: false
        description: KEV software whose version could not be confirmed
        schema:
          type: boolean
      - name: epss
        in: query
        required: false
        description: EPSS of 10 % or more
        schema:
          type: boolean
      - name: sort
        in: query
        required: false
        description: risk (default) or epss
        schema:
          type: string
          enum:
          - risk
          - epss
      - name: q
        in: query
        required: false
        description: Text in the CVE, product, host or title
        schema:
          type: string
      - name: limit
        in: query
        required: false
        description: Rows, 200 at most
        schema:
          type: integer
          minimum: 1
          maximum: 200
          default: 50
      - name: offset
        in: query
        required: false
        description: Rows to skip
        schema:
          type: integer
          minimum: 0
          maximum: 1000000
          default: 0
      responses:
        '200':
          description: OK
          content:
            application/json:
              example:
                status: success
                organization_open:
                  total: 52035
                  critical: 12738
                  high: 21812
                  medium: 8743
                  low: 8742
                  kev: 21812
                  kev_unverified: 0
                matching_findings: 52035
                set_aside: 4
                rows:
                - ref: CVE-2023-44487
                  product: Nginx
                  kind: vulnerability
                  title: HTTP/2 rapid reset
                  severity: high
                  kev: true
                  kev_unverified: false
                  kev_due_date: '2023-10-31'
                  epss: 0.9441
                  epss_percentile: 0.9995
                  cvss: 7.5
                  version: 1.18.0
                  fixed_versions:
                  - 1.25.3
                  hosts: 21811
                  assets: 3998
                  sample_hosts:
                  - api.client1000.fr
                  first_seen: '2026-11-08T10:46:05+00:00'
                rows_total: 5
                limit: 50
                offset: 0
                next_offset: null
        '403':
          $ref: '#/components/responses/Forbidden'
        '401':
          $ref: '#/components/responses/Unauthorized'
      x-api-key-permission: monitoring.read
  /api/v1/scan/monitoring/assets:
    get:
      tags:
      - Vulnerability Monitoring
      summary: List the infrastructure inventory
      operationId: listMonitoringAssets
      description: 'Every domain, IP network and bucket of the organization, with its business criticality, owner, environment and tags.


        **API key permission:** `monitoring.read`.'
      parameters:
      - name: type
        in: query
        required: false
        description: domain, ip_network or s3_bucket
        schema:
          type: string
          enum:
          - domain
          - ip_network
          - s3_bucket
      - name: verified
        in: query
        required: false
        description: Verified (true) or waiting (false)
        schema:
          type: boolean
      - name: criticality
        in: query
        required: false
        description: critical, high, medium, low, or none
        schema:
          type: string
          enum:
          - critical
          - high
          - medium
          - low
          - none
      - name: owner
        in: query
        required: false
        description: An owner's email, or none
        schema:
          type: string
      - name: tag
        in: query
        required: false
        description: A tag
        schema:
          type: string
      - name: q
        in: query
        required: false
        description: Text in the asset
        schema:
          type: string
      - name: limit
        in: query
        required: false
        description: Rows, 500 at most
        schema:
          type: integer
          minimum: 1
          maximum: 500
          default: 100
      - name: offset
        in: query
        required: false
        description: Rows to skip
        schema:
          type: integer
          minimum: 0
          maximum: 1000000
          default: 0
      responses:
        '200':
          description: OK
          content:
            application/json:
              example:
                status: success
                assets:
                - id: 95d44378-dea3-448f-b821-8c5454911586
                  value: acme.fr
                  type: domain
                  verified: true
                  added: '2026-11-08T11:12:00Z'
                  criticality: critical
                  owner: ana@acme.fr
                  environment: production
                  tags:
                  - payments
                  - eu
                total: 1
                limit: 100
                offset: 0
                next_offset: null
        '403':
          $ref: '#/components/responses/Forbidden'
        '401':
          $ref: '#/components/responses/Unauthorized'
      x-api-key-permission: monitoring.read
  /api/v1/scan/monitoring/exceptions:
    get:
      tags:
      - Vulnerability Monitoring
      summary: List the exceptions register
      operationId: listMonitoringExceptions
      description: 'Every decision to set a vulnerability aside (accepted risk or false positive), with its reason, author and expiry, the ones in force first.


        **API key permission:** `monitoring.read`.'
      parameters:
      - name: state
        in: query
        required: false
        description: in_force for the decisions still in force only
        schema:
          type: string
          enum:
          - in_force
      responses:
        '200':
          description: OK
          content:
            application/json:
              example:
                status: success
                exceptions:
                - id: 1
                  ref: CVE-2023-44487
                  product: Nginx
                  root: null
                  host: null
                  finding_id: null
                  decision: accepted_risk
                  reason: Rate limiting on the load balancer mitigates it; upgrade planned for January.
                  decided_by: ana@acme.fr
                  decided_at: '2026-11-12 10:10:35'
                  expires_at: '2027-02-10 10:10:35'
                  findings: 21811
                  kev: true
                  state: in_force
                  closed_at: null
        '403':
          $ref: '#/components/responses/Forbidden'
        '401':
          $ref: '#/components/responses/Unauthorized'
      x-api-key-permission: monitoring.read
components:
  responses:
    Unauthorized:
      description: Invalid or missing API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            status: error
            message: Invalid or missing API key.
    Forbidden:
      description: The API key lacks the permission this endpoint needs, or the endpoint is not open to API keys (organization and account settings never are).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: This API key does not have the 'cases.write' permission (Write cases). An owner or admin can add it in the organization settings.
  schemas:
    Error:
      type: object
      properties:
        status:
          type: string
          example: error
        message:
          type: string
          example: Description of what went wrong.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: 'Your API key, prefixed with `token `. Example: `Authorization: token mlab_your_api_key_here`. Each key only reaches the endpoints its permissions allow.

        '