MongoDB · Schema
PerformanceAdvisorSlowQueryList
Cloud DatabaseDatabaseDocument DatabaseNoSQLMongoDB
Properties
| Name | Type | Description |
|---|---|---|
| slowQueries | array | List of operations that the Performance Advisor detected that took longer to execute than a specified threshold. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/mongodb/main/json-schema/mongodb-performance-advisor-slow-query-list-schema.json",
"title": "PerformanceAdvisorSlowQueryList",
"x-generated": "2026-10-03",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/mongodb-performance-advisor-api-openapi.yml#/components/schemas/PerformanceAdvisorSlowQueryList",
"properties": {
"slowQueries": {
"description": "List of operations that the Performance Advisor detected that took longer to execute than a specified threshold.",
"items": {
"$ref": "#/$defs/PerformanceAdvisorSlowQuery"
},
"readOnly": true,
"type": "array"
}
},
"type": "object",
"$defs": {
"PerformanceAdvisorSlowQuery": {
"description": "Details of one slow query that the Performance Advisor detected.",
"properties": {
"line": {
"description": "Text of the MongoDB log related to this slow query.",
"readOnly": true,
"type": "string"
},
"metrics": {
"$ref": "#/$defs/PerformanceAdvisorSlowQueryMetrics"
},
"namespace": {
"description": "Human-readable label that identifies the namespace on the specified host. The resource expresses this parameter value as `<database>.<collection>`.",
"readOnly": true,
"type": "string"
},
"opType": {
"description": "Operation type (read/write/command) associated with this slow query log.",
"readOnly": true,
"type": "string"
},
"replicaState": {
"description": "Replica state associated with this slow query log.",
"readOnly": true,
"type": "string"
}
},
"readOnly": true,
"type": "object"
},
"PerformanceAdvisorSlowQueryMetrics": {
"description": "Metrics from a slow query log.",
"properties": {
"docsExamined": {
"description": "The number of documents in the collection that MongoDB scanned in order to carry out the operation.",
"format": "int64",
"readOnly": true,
"type": "integer"
},
"docsExaminedReturnedRatio": {
"description": "Ratio of documents examined to documents returned.",
"format": "double",
"readOnly": true,
"type": "number"
},
"docsReturned": {
"description": "The number of documents returned by the operation.",
"format": "int64",
"readOnly": true,
"type": "integer"
},
"fromUserConnection": {
"description": "This boolean will be true when the server can identify the query source as non-server. This field is only available for MDB 8.0+.",
"readOnly": true,
"type": "boolean"
},
"hasIndexCoverage": {
"description": "Indicates if the query has index coverage.",
"readOnly": true,
"type": "boolean"
},
"hasSort": {
"description": "This boolean will be true when a query cannot use the ordering in the index to return the requested sorted results; i.e. MongoDB must sort the documents after it receives the documents from a cursor.",
"readOnly": true,
"type": "boolean"
},
"keysExamined": {
"description": "The number of index keys that MongoDB scanned in order to carry out the operation.",
"format": "int64",
"readOnly": true,
"type": "integer"
},
"keysExaminedReturnedRatio": {
"description": "Ratio of keys examined to documents returned.",
"format": "double",
"readOnly": true,
"type": "number"
},
"numYields": {
"description": "The number of times the operation yielded to allow other operations to complete.",
"format": "int64",
"readOnly": true,
"type": "integer"
},
"operationExecutionTime": {
"description": "Total execution time of a query in milliseconds.",
"format": "int64",
"readOnly": true,
"type": "integer"
},
"responseLength": {
"description": "The length in bytes of the operation's result document.",
"format": "int64",
"readOnly": true,
"type": "integer"
}
},
"readOnly": true,
"type": "object"
}
}
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/mongodb-performance-advisor-slow-query-list"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.