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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/mlab-sh:mlab-sh-cases-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
openapi: 3.2.0
info:
title: mlab.sh Cases 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: Cases
description: The organization's shared investigation cases.
paths:
/api/v1/cases:
get:
tags:
- Cases
summary: List cases
operationId: listCases
description: 'Cases are part of the Team and Enterprise plans. Every case of the organization, open ones first.
**API key permission:** `cases.read`.'
responses:
'200':
description: The cases.
content:
application/json:
example:
cases:
- uuid: …
title: Phishing wave
summary: ''
status: open
indicators: 4
comments: 2
created_at: '2026-10-01 17:53:03'
updated_at: '2026-10-01 17:55:10'
'400':
description: The plan has no cases.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
$ref: '#/components/responses/Forbidden'
'401':
$ref: '#/components/responses/Unauthorized'
x-api-key-permission: cases.read
/api/v1/cases/detail:
post:
tags:
- Cases
summary: Read a case
operationId: getCase
description: 'Cases are part of the Team and Enterprise plans. One case with its indicators and comments. A comment written with an API key is signed `API key · `.
**API key permission:** `cases.read`.'
responses:
'200':
description: The case.
content:
application/json:
example:
uuid: …
title: Phishing wave
summary: ''
status: open
indicators:
- uuid: …
kind: domain
value: evil.example
link: https://mlab.sh/domain/evil.example
added_at: …
comments:
- uuid: …
author: API key · SOAR prod
body: Seen in 12 mailboxes
indicator_uuid: ''
'404':
description: No such case in this organization.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
$ref: '#/components/responses/Forbidden'
'401':
$ref: '#/components/responses/Unauthorized'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- uuid
properties:
uuid:
type: string
format: uuid
description: The case.
x-api-key-permission: cases.read
/api/v1/cases/create:
post:
tags:
- Cases
summary: Create a case
operationId: createCase
description: 'Cases are part of the Team and Enterprise plans. Creates a case. A case created with an API key is authored by the key.
**API key permission:** `cases.write`.'
responses:
'200':
description: Created.
content:
application/json:
example:
status: success
uuid: …
'400':
description: Missing title, or the organization holds the maximum number of cases.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
$ref: '#/components/responses/Forbidden'
'401':
$ref: '#/components/responses/Unauthorized'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- title
properties:
title:
type: string
summary:
type: string
x-api-key-permission: cases.write
/api/v1/cases/update:
post:
tags:
- Cases
summary: Update a case
operationId: updateCase
description: 'Cases are part of the Team and Enterprise plans. Changes a case''s title, summary or status.
**API key permission:** `cases.write`.'
responses:
'200':
description: Updated.
content:
application/json:
example:
status: success
'404':
description: No such case in this organization.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
$ref: '#/components/responses/Forbidden'
'401':
$ref: '#/components/responses/Unauthorized'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- uuid
properties:
uuid:
type: string
format: uuid
description: The case.
title:
type: string
summary:
type: string
status:
type: string
enum:
- open
- closed
x-api-key-permission: cases.write
/api/v1/cases/delete:
post:
tags:
- Cases
summary: Delete a case
operationId: deleteCase
description: 'Cases are part of the Team and Enterprise plans. Deletes a case. An API key may delete only what it created itself; a member needs to be its author, an owner or an admin.
**API key permission:** `cases.write`.'
responses:
'200':
description: Deleted.
content:
application/json:
example:
status: success
'403':
$ref: '#/components/responses/Forbidden'
'404':
description: No such case in this organization.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
$ref: '#/components/responses/Unauthorized'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- uuid
properties:
uuid:
type: string
format: uuid
description: The case.
x-api-key-permission: cases.write
/api/v1/cases/indicator/add:
post:
tags:
- Cases
summary: Add indicators to a case
operationId: addCaseIndicators
description: 'Cases are part of the Team and Enterprise plans. Adds the indicators found in free text. Each one not added is returned in `skipped` with the reason.
**API key permission:** `cases.write`.'
responses:
'200':
description: What was added and skipped.
content:
application/json:
example:
status: success
added: 2
skipped:
- value: not-an-ioc
reason: not an indicator
'404':
description: No such case in this organization.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
$ref: '#/components/responses/Forbidden'
'401':
$ref: '#/components/responses/Unauthorized'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- uuid
- indicators
properties:
uuid:
type: string
format: uuid
description: The case.
indicators:
type: string
description: Free text, one or more indicators.
x-api-key-permission: cases.write
/api/v1/cases/indicator/delete:
post:
tags:
- Cases
summary: Remove an indicator from a case
operationId: deleteCaseIndicator
description: 'Cases are part of the Team and Enterprise plans. Same rule as deleting a case: an API key removes only what it added.
**API key permission:** `cases.write`.'
responses:
'200':
description: Removed.
content:
application/json:
example:
status: success
'404':
description: No such case or indicator.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
$ref: '#/components/responses/Forbidden'
'401':
$ref: '#/components/responses/Unauthorized'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- uuid
- indicator_uuid
properties:
uuid:
type: string
format: uuid
description: The case.
indicator_uuid:
type: string
format: uuid
x-api-key-permission: cases.write
/api/v1/cases/comment/add:
post:
tags:
- Cases
summary: Comment on a case
operationId: addCaseComment
description: 'Cases are part of the Team and Enterprise plans. Adds a comment, optionally on one indicator.
**API key permission:** `cases.write`.'
responses:
'200':
description: Added.
content:
application/json:
example:
status: success
'404':
description: No such case in this organization.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
$ref: '#/components/responses/Forbidden'
'401':
$ref: '#/components/responses/Unauthorized'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- uuid
- body
properties:
uuid:
type: string
format: uuid
description: The case.
body:
type: string
indicator_uuid:
type: string
format: uuid
description: 'Optional: comment on this indicator.'
x-api-key-permission: cases.write
/api/v1/cases/comment/delete:
post:
tags:
- Cases
summary: Delete a comment
operationId: deleteCaseComment
description: 'Cases are part of the Team and Enterprise plans. Same rule as deleting a case: an API key deletes only its own comments.
**API key permission:** `cases.write`.'
responses:
'200':
description: Deleted.
content:
application/json:
example:
status: success
'404':
description: No such case or comment.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
$ref: '#/components/responses/Forbidden'
'401':
$ref: '#/components/responses/Unauthorized'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- uuid
- comment_uuid
properties:
uuid:
type: string
format: uuid
description: The case.
comment_uuid:
type: string
format: uuid
x-api-key-permission: cases.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.
'