Mend Statistics - Product API
The Statistics - Product API from Mend — 5 operation(s) for statistics - product.
The Statistics - Product API from Mend — 5 operation(s) for statistics - product.
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/mend:mend-statistics-product-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. 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: Mend Statistics - Product API
description: 'Mend''s enhanced SCA API enables automation of workflows in a REST compliant format. The API features:
+ Access for any user with Mend credentials, via a user key available in the user''s profile page in the Mend App.
+ Improved security with a JWT token per organization, which expires every 10 minutes.
+ Added scalability with support for pagination, filtering and sorting search results.
+ Broader functionality available programmatically.
+ New standard API documentation for easy navigation and search.
**Note:** To help you get started with the Mend SCA API 2.0, we recommend reviewing our onboarding guide -> Getting Started with Mend SCA API 2.0.
This resource covers initial setup, authentication instructions, and helpful tips to help you successfully begin working with the Mend SCA API 2.0. If you have a dedicated instance of Mend, contact your Mend representative to access this API on your instance.'
version: 3.0.1
servers:
- url: https://api-saas.mend.io
description: Generated server url
security:
- bearer-key: []
tags:
- name: Statistics - Product
paths:
/api/v2.0/products/{contextIdentifier}/statistics/average:
post:
tags:
- Statistics - Product
summary: Get Average Statistics
description: Returns average statistics for the provided contexts
operationId: getAverageStatistics
parameters:
- name: contextIdentifier
in: path
description: entity UUID or ApiToken (organization, product or project).
required: true
schema:
type: string
- name: categories
in: query
required: false
schema:
type: array
items:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AverageStatisticsRequestDTO'
required: true
responses:
'403':
description: Forbidden
content:
'*/*':
schema:
$ref: '#/components/schemas/DWRResponseBase'
'400':
description: Bad Request
content:
'*/*':
schema:
$ref: '#/components/schemas/DWRResponseBase'
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/AverageStatisticsDTO'
/api/v2.0/products/{contextIdentifier}/statistics:
post:
tags:
- Statistics - Product
summary: Get Project Statistics
description: Returns the requested statistics for the given projects
operationId: getProjectsStatistics
parameters:
- name: contextIdentifier
in: path
description: entity UUID or ApiToken (organization, product or project).
required: true
schema:
type: string
- name: categories
in: query
required: false
schema:
type: array
items:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/StatisticsRequestDTO'
required: true
responses:
'403':
description: Forbidden
content:
'*/*':
schema:
$ref: '#/components/schemas/DWRResponseBase'
'400':
description: Bad Request
content:
'*/*':
schema:
$ref: '#/components/schemas/DWRResponseBase'
'200':
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/ProjectStatisticsDTO'
/api/v2.0/orgs/{orgIdentifier}/products/summaries/top:
post:
tags:
- Statistics - Product
summary: Get Product Statistics
description: Returns the requested statistics for the given projects
operationId: getTopProductSummaries
parameters:
- name: orgIdentifier
in: path
description: entity UUID or ApiToken (organization, product or project).
required: true
schema:
type: string
- name: categories
in: query
required: false
schema:
type: array
items:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/MultiContextRequestDTO'
required: true
responses:
'403':
description: Forbidden
content:
'*/*':
schema:
$ref: '#/components/schemas/DWRResponseBase'
'400':
description: Bad Request
content:
'*/*':
schema:
$ref: '#/components/schemas/DWRResponseBase'
'200':
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/ProductSummaryDTO'
/api/v2.0/orgs/{orgIdentifier}/products/summaries:
post:
tags:
- Statistics - Product
summary: Get Product Statistics
description: Returns the requested statistics for the given projects
operationId: getProductStatisticSummaries
parameters:
- name: orgIdentifier
in: path
description: entity UUID or ApiToken (organization, product or project).
required: true
schema:
type: string
- name: categories
in: query
required: false
schema:
type: array
items:
type: string
- name: ignoreActivityFilter
in: query
required: false
schema:
type: boolean
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/MultiContextRequestDTO'
required: true
responses:
'403':
description: Forbidden
content:
'*/*':
schema:
$ref: '#/components/schemas/DWRResponseBase'
'400':
description: Bad Request
content:
'*/*':
schema:
$ref: '#/components/schemas/DWRResponseBase'
'200':
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/ProductSummaryDTO'
/api/v2.0/products/{contextIdentifier}/statistics/last:
get:
tags:
- Statistics - Product
summary: Get Product Statistics
description: Returns the last statistics for the given product and date
operationId: getLastProductStatistics
parameters:
- name: contextIdentifier
in: path
description: 'product UUID (by running Entities - Organization > Get Organization Products) or Product Token (from the Mend SCA App: **Integrate** tab > **Product Token**).'
required: true
schema:
type: string
- name: category
in: query
required: true
schema:
type: string
enum:
- alerts
- licenseRisk
- licenseHistogram
- general
- vulnerabilityEffectiveness
- sourceLibraries
- policyViolations
- vulnerabilitySeverityLibraries
- outdatedLibraries
- policyViolatingLibraries
- libraryTypeHistogram
- approvalRequests
- sastVulnerabilitiesBySeverity
- sastVulnerabilitiesByType
- sastScan
- sastRiskFactors
- unifiedVulnerabilities
- scan
- scans
- scaSecurity
- llmSecurity
- imgSecurity
- imgScanComplete
- iacSecurity
- imgUsage
- dastSecurity
- aiSecurity
- workflowViolations
- scaWorkflowViolations
- sastWorkflowViolations
- imgWorkflowViolations
- aiWorkflowViolations
- scaViolatingWorkflows
- sastViolatingWorkflows
- imgViolatingWorkflows
- aiViolatingWorkflows
- scaViolatingFindings
- sastViolatingFindings
- imgViolatingFindings
- aiViolatingFindings
- scaFrameworks
- aiModels
- scaExploitableVulnerabilities
- scaMscFindings
- imgMscFindings
- aiRiskFactors
- containerRiskFactors
- scaCriticalSecurityEventFindings
- contextRiskFactors
- name: before
in: query
required: false
schema:
type: string
responses:
'403':
description: Forbidden
content:
'*/*':
schema:
$ref: '#/components/schemas/DWRResponseBase'
'400':
description: Bad Request
content:
'*/*':
schema:
$ref: '#/components/schemas/DWRResponseBase'
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/LastStatisticsDTO'
components:
schemas:
LastStatisticsDTO:
type: object
properties:
lastModified:
type: string
format: date-time
statistics:
type: object
additionalProperties:
type: integer
format: int64
DWRResponseBase:
type: object
properties:
supportToken:
title: Support Token
type: string
example: 1171c60d
StatisticsRequestDTO:
required:
- projectIdentifiers
type: object
properties:
projectIdentifiers:
type: array
items:
title: Project Identifiers
type: string
example: 123e4567-e89b-12d3-a456-426655440000
EntityLabelDTO:
type: object
properties:
uuid:
type: string
namespace:
type: string
value:
type: string
displayName:
type: string
contextType:
type: string
system:
type: boolean
EntityDTO:
type: object
properties:
uuid:
type: string
name:
type: string
EntityTagDTO:
type: object
properties:
key:
title: Entity Tag Key
type: string
example: key
value:
title: Entity Tag value
type: string
example: value
AverageStatisticsDTO:
type: object
properties:
statistics:
type: object
additionalProperties:
type: object
additionalProperties:
type: integer
format: int64
mode:
type: string
enum:
- EXACT
- APPROXIMATE
projectsCalculated:
type: integer
format: int32
MultiContextRequestDTO:
type: object
properties:
projectIdentifiers:
type: array
items:
title: Project Identifiers
type: string
example: 123e4567-e89b-12d3-a456-426655440000
productIdentifiers:
type: array
items:
title: Product Identifier
type: string
example: 123e4567-e89b-12d3-a456-426655440000
description: If projectIdentifiers and productIdentifiers are empty, action will apply to the whole organization
EntityConfigurationDTO:
type: object
properties:
domainConfigUuid:
type: string
namespace:
type: string
value:
type: string
displayName:
type: string
contextType:
type: string
ProjectStatisticsDTO:
type: object
properties:
project:
$ref: '#/components/schemas/EntityDTO'
statistics:
type: object
additionalProperties:
type: object
additionalProperties:
type: integer
format: int64
ProductSummaryDTO:
type: object
properties:
uuid:
title: Product Uuid
type: string
example: 123e4567-e89b-12d3-a456-426655440000
name:
title: Product Name
type: string
example: Product A
creationDate:
type: string
format: date-time
inactiveProjects:
type: integer
format: int32
tags:
type: array
items:
$ref: '#/components/schemas/EntityTagDTO'
labels:
type: array
items:
$ref: '#/components/schemas/EntityLabelDTO'
projectLabels:
type: integer
format: int64
configurations:
type: array
items:
$ref: '#/components/schemas/EntityConfigurationDTO'
statistics:
type: object
additionalProperties:
type: object
additionalProperties:
type: integer
format: int64
AverageStatisticsRequestDTO:
type: object
properties:
projectsUuids:
type: array
items:
type: string
productsUuids:
type: array
items:
type: string
securitySchemes:
bearer-key:
type: http
description: JWT token Bearer
scheme: bearer
bearerFormat: JWT