mlab Finding Tags API
Tags on RedKit findings (false positive, accepted risk, fixed).
Tags on RedKit findings (false positive, accepted risk, fixed).
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/mlab-sh:mlab-sh-finding-tags-api"
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.
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: 3.2.0
info:
title: mlab.sh Finding Tags 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: Finding Tags
description: Tags on RedKit findings (false positive, accepted risk, fixed).
paths:
/api/v1/scan/finding-tags:
get:
tags:
- Finding Tags
summary: List finding tags
operationId: listFindingTags
description: 'The tags set on an audit''s findings.
**API key permission:** `tags.read`.'
responses:
'200':
description: The tags.
content:
application/json:
example:
tags:
- finding_id: 9f3b2c1a7d4e5f60
tag: false-positive
user_uuid: …
'400':
description: Missing or foreign scan.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
$ref: '#/components/responses/Forbidden'
'401':
$ref: '#/components/responses/Unauthorized'
parameters:
- name: scan_uuid
in: query
required: true
description: The RedKit audit.
schema:
type: string
example: 2f1c0000-0000-4000-8000-000000000000
x-api-key-permission: tags.read
/api/v1/scan/finding-tags/add:
get:
tags:
- Finding Tags
summary: Tag a finding
operationId: addFindingTag
description: 'Sets a tag on a finding. A tag set with an API key is credited to the key.
**API key permission:** `tags.write`.'
responses:
'200':
description: Tagged.
content:
application/json:
example:
status: success
'400':
description: Invalid tag or finding, or foreign scan.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
$ref: '#/components/responses/Forbidden'
'401':
$ref: '#/components/responses/Unauthorized'
parameters:
- name: scan_uuid
in: query
required: true
description: The RedKit audit.
schema:
type: string
example: 2f1c0000-0000-4000-8000-000000000000
- name: finding_id
in: query
required: true
description: The finding, as shown on the result page.
schema:
type: string
example: 9f3b2c1a7d4e5f60
- name: tag
in: query
required: true
schema:
type: string
enum:
- false-positive
- accepted-risk
- fixed
- review-later
x-api-key-permission: tags.write
/api/v1/scan/finding-tags/remove:
get:
tags:
- Finding Tags
summary: Untag a finding
operationId: removeFindingTag
description: 'Removes a tag from a finding.
**API key permission:** `tags.write`.'
responses:
'200':
description: Untagged.
content:
application/json:
example:
status: success
'400':
description: Invalid tag or finding, or foreign scan.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
$ref: '#/components/responses/Forbidden'
'401':
$ref: '#/components/responses/Unauthorized'
parameters:
- name: scan_uuid
in: query
required: true
description: The RedKit audit.
schema:
type: string
example: 2f1c0000-0000-4000-8000-000000000000
- name: finding_id
in: query
required: true
description: The finding, as shown on the result page.
schema:
type: string
example: 9f3b2c1a7d4e5f60
- name: tag
in: query
required: true
schema:
type: string
enum:
- false-positive
- accepted-risk
- fixed
- review-later
x-api-key-permission: tags.write
/api/v1/scan/monitoring/finding-status:
post:
tags:
- Finding Tags
summary: Triage a monitoring finding
operationId: setMonitoringFindingStatus
description: 'Sets one of the organization''s security monitoring findings to false positive or accepted risk, or back to open. The linked issue tracker follows on its next sync, started by this call. Team and Enterprise plans.
**API key permission:** `tags.write`.
Setting aside takes a reason, and an accepted risk an expiry. Accepting the risk of a KEV vulnerability takes an owner or admin: an API key is refused.'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- id
- status
properties:
id:
type: string
description: The finding id.
status:
type: string
enum:
- false_positive
- accepted_risk
- open
reason:
type: string
minLength: 10
maxLength: 1000
description: 'Required to set aside (false_positive or accepted_risk): why. Kept in the exceptions register and the audit log.'
expires_days:
type: integer
enum:
- 30
- 90
- 180
- 365
default: 90
description: 'accepted_risk only: the finding is reopened by itself after this many days.'
responses:
'200':
description: Updated.
content:
application/json:
example:
status: success
finding_status: false_positive
'400':
description: Unknown finding or status, plan without monitoring, or monitoring unavailable.
content:
application/json:
example:
status: error
message: Unknown finding.
'403':
$ref: '#/components/responses/Forbidden'
'401':
$ref: '#/components/responses/Unauthorized'
x-api-key-permission: tags.write
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.
'