Use the query metrics API to read the time series behind the Plerion dashboards. Name a namespace and one or more of its metric names, a period with an interval and an aggregation, and optionally the integrations, integration groups, asset groups, or environments to restrict the query to. The response is one entry per interval, carrying the value of every requested metric at that timestamp; a metric with no data point in an interval is reported as 0.
A key whose role covers specific integrations can query only those integrations; naming another integration is refused with 403.
The namespaces and the metric names the Plerion dashboards read from them:
Namespace
Metric names
finding
failed_count, failed_count_by_asset_group
asset
total_count, number_of_scanned_workloads, assets_with_critical_vulnerability_count, assets_with_kev_count, public_assets_count, overly_permissive_assets_count, admin_privileged_assets_count, privilege_escalation_assets_count, and the same names with the _by_asset_group suffix
vulnerabilities
open_critical_vulnerabilities, open_high_vulnerabilities, open_medium_vulnerabilities, open_low_vulnerabilities, open_unknown_vulnerabilities, and the same names with the _by_asset_group suffix
risk
open_count, open_count_by_asset_group
alert
total_open_count, open_count_by_asset_group
attack_path
total_count, total_count_by_asset_group
compliance
compliance_posture_score, well_architected_score, or a compliance framework ID as returned by the list compliance frameworks API, for that framework’s score
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Plerion, Simplify Cloud Security - documentation","description":"Plerion, Simplify Cloud Security - documentation","colors":{"primary":"#FFA500","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/pleriondocs/GIwfwlVd5Zt2w0-r/logo/plerion.svg?fit=max\u0026auto=format\u0026n=GIwfwlVd5Zt2w0-r\u0026q=85\u0026s=86e89d26c3b52a61495baaf98faff52c","dark":"https://mintcdn.com/pleriondocs/GIwfwlVd5Zt2w0-r/logo/plerion.svg?fit=max\u0026auto=format\u0026n=GIwfwlVd5Zt2w0-r\u0026q=85\u0026s=86e89d26c3b52a61495baaf98faff52c"},"favicon":"https://mintcdn.com/pleriondocs/tawzAAKnRc9yNNhT/favicon.svg?fit=max\u0026auto=format\u0026n=tawzAAKnRc9yNNhT\u0026q=85\u0026s=43160b812d8a7d732e3a72cf166dbbec","navbar":{"primary":{"type":"button","label":"Dashboard","href":"https://app.plerion.com/sign-in"}},"footer":{"socials":{"x":"https://x.com/plerionhq","linkedin":"https://www.linkedin.com/company/plerion"},"links":[{"header":"Company","items":[{"label":"Plerion","href":"https://www.plerion.com"},{"label":"Contact","href":"https://www.plerion.com/company/contact-us"},{"label":"Partnerships","href":"https://www.plerion.com/company/partnerships"}]},{"header":"Resources","items":[{"label":"Blog","href":"https://www.plerion.com/blog"},{"label":"Trust center","href":"https://trust.plerion.com/"},{"label":"Privacy policy","href":"https://www.plerion.com/company/privacy-policy"}]}]},"search":{"prompt":"Search the docs"},"icons":{"library":"fontawesome"},"styling":{"eyebrows":"breadcrumbs","codeblocks":"system","latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"pleriondocs","hasAudioNarration":false,"actualSubdomain":"pleriondocs","customDomains":["docs.plerion.com"],"gitSource":{"type":"github","owner":"plerionhq","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae40dfdc764d7391f5d8cf9","collectionId":"ab0f8aed-35d6-47c8-b3ee-a2986a5a26ec","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae40dfdc764d7391f5d8cf9"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ae43b308aa3918b049c935b","clientVersion":"0.0.4021","searchFilterCounts":[{"language":"default","tag":"Guides","count":119},{"language":"default","tag":"API reference","count":102},{"language":"default","tag":"Integrations","count":71},{"language":"default","tag":"API documentation","count":60},{"language":"default","tag":"Cloud","count":47},{"language":"default","tag":"Platform","count":37},{"language":"default","tag":"CLI reference","count":24},{"language":"default","tag":"Organization API","count":21},{"language":"default","tag":"Commands","count":20},{"language":"default","tag":"AWS","count":20}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/metrics/query","slug":"/api-reference/metrics/query","pageMetadata":{"title":"Query metrics","description":"Use the query metrics API to read the time series behind the Plerion dashboards. Name a namespace and one or more of its metric names, a period with an interval and an aggregation, and optionally the integrations, integration groups, asset groups, or environments to restrict the query to. The response is one entry per interval, carrying the value of every requested metric at that timestamp; a metric with no data point in an interval is reported as 0.\n\nA key whose role covers specific integrations can query only those integrations; naming another integration is refused with 403.\n\nThe namespaces and the metric names the Plerion dashboards read from them:\n\n| Namespace | Metric names |\n|---|---|\n| `finding` | `failed_count`, `failed_count_by_asset_group` |\n| `asset` | `total_count`, `number_of_scanned_workloads`, `assets_with_critical_vulnerability_count`, `assets_with_kev_count`, `public_assets_count`, `overly_permissive_assets_count`, `admin_privileged_assets_count`, `privilege_escalation_assets_count`, and the same names with the `_by_asset_group` suffix |\n| `vulnerabilities` | `open_critical_vulnerabilities`, `open_high_vulnerabilities`, `open_medium_vulnerabilities`, `open_low_vulnerabilities`, `open_unknown_vulnerabilities`, and the same names with the `_by_asset_group` suffix |\n| `risk` | `open_count`, `open_count_by_asset_group` |\n| `alert` | `total_open_count`, `open_count_by_asset_group` |\n| `attack_path` | `total_count`, `total_count_by_asset_group` |\n| `compliance` | `compliance_posture_score`, `well_architected_score`, or a compliance framework ID as returned by the list compliance frameworks API, for that framework's score |\n| `risk_score` | `tenant_risk_score`, `integration_risk_score`, `asset_group_risk_score` |\n| `tenant_unit_consumption` | `tenant_unit_consumption` |\n\nNames with the `_by_asset_group` suffix are the same measure recorded per asset group. `vulnerability` is accepted as an alias of `vulnerabilities`.\n\nThe request body accepts only the fields listed below; an unknown field is rejected with 400.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/tenant/metrics","href":"/api-reference/metrics/query","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n table: \"table\",\n tbody: \"tbody\",\n td: \"td\",\n th: \"th\",\n thead: \"thead\",\n tr: \"tr\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Use the query metrics API to read the time series behind the Plerion dashboards. Name a namespace and one or more of its metric names, a period with an interval and an aggregation, and optionally the integrations, integration groups, asset groups, or environments to restrict the query to. The response is one entry per interval, carrying the value of every requested metric at that timestamp; a metric with no data point in an interval is reported as 0.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"A key whose role covers specific integrations can query only those integrations; naming another integration is refused with 403.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"The namespaces and the metric names the Plerion dashboards read from them:\"\n }), \"\\n\", _jsxs(_components.table, {\n children: [_jsx(_components.thead, {\n children: _jsxs(_components.tr, {\n children: [_jsx(_components.th, {\n children: \"Namespace\"\n }), _jsx(_components.th, {\n children: \"Metric names\"\n })]\n })\n }), _jsxs(_components.tbody, {\n children: [_jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"finding\"\n })\n }), _jsxs(_components.td, {\n children: [_jsx(_components.code, {\n children: \"failed_count\"\n }), \", \", _jsx(_components.code, {\n children: \"failed_count_by_asset_group\"\n })]\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"asset\"\n })\n }), _jsxs(_components.td, {\n children: [_jsx(_components.code, {\n children: \"total_count\"\n }), \", \", _jsx(_components.code, {\n children: \"number_of_scanned_workloads\"\n }), \", \", _jsx(_components.code, {\n children: \"assets_with_critical_vulnerability_count\"\n }), \", \", _jsx(_components.code, {\n children: \"assets_with_kev_count\"\n }), \", \", _jsx(_components.code, {\n children: \"public_assets_count\"\n }), \", \", _jsx(_components.code, {\n children: \"overly_permissive_assets_count\"\n }), \", \", _jsx(_components.code, {\n children: \"admin_privileged_assets_count\"\n }), \", \", _jsx(_components.code, {\n children: \"privilege_escalation_assets_count\"\n }), \", and the same names with the \", _jsx(_components.code, {\n children: \"_by_asset_group\"\n }), \" suffix\"]\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"vulnerabilities\"\n })\n }), _jsxs(_components.td, {\n children: [_jsx(_components.code, {\n children: \"open_critical_vulnerabilities\"\n }), \", \", _jsx(_components.code, {\n children: \"open_high_vulnerabilities\"\n }), \", \", _jsx(_components.code, {\n children: \"open_medium_vulnerabilities\"\n }), \", \", _jsx(_components.code, {\n children: \"open_low_vulnerabilities\"\n }), \", \", _jsx(_components.code, {\n children: \"open_unknown_vulnerabilities\"\n }), \", and the same names with the \", _jsx(_components.code, {\n children: \"_by_asset_group\"\n }), \" suffix\"]\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"risk\"\n })\n }), _jsxs(_components.td, {\n children: [_jsx(_components.code, {\n children: \"open_count\"\n }), \", \", _jsx(_components.code, {\n children: \"open_count_by_asset_group\"\n })]\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"alert\"\n })\n }), _jsxs(_components.td, {\n children: [_jsx(_components.code, {\n children: \"total_open_count\"\n }), \", \", _jsx(_components.code, {\n children: \"open_count_by_asset_group\"\n })]\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"attack_path\"\n })\n }), _jsxs(_components.td, {\n children: [_jsx(_components.code, {\n children: \"total_count\"\n }), \", \", _jsx(_components.code, {\n children: \"total_count_by_asset_group\"\n })]\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"compliance\"\n })\n }), _jsxs(_components.td, {\n children: [_jsx(_components.code, {\n children: \"compliance_posture_score\"\n }), \", \", _jsx(_components.code, {\n children: \"well_architected_score\"\n }), \", or a compliance framework ID as returned by the list compliance frameworks API, for that framework’s score\"]\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"risk_score\"\n })\n }), _jsxs(_components.td, {\n children: [_jsx(_components.code, {\n children: \"tenant_risk_score\"\n }), \", \", _jsx(_components.code, {\n children: \"integration_risk_score\"\n }), \", \", _jsx(_components.code, {\n children: \"asset_group_risk_score\"\n })]\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"tenant_unit_consumption\"\n })\n }), _jsx(_components.td, {\n children: _jsx(_components.code, {\n children: \"tenant_unit_consumption\"\n })\n })]\n })]\n })]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Names with the \", _jsx(_components.code, {\n children: \"_by_asset_group\"\n }), \" suffix are the same measure recorded per asset group. \", _jsx(_components.code, {\n children: \"vulnerability\"\n }), \" is accepted as an alias of \", _jsx(_components.code, {\n children: \"vulnerabilities\"\n }), \".\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"The request body accepts only the fields listed below; an unknown field is rejected with 400.\"\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Query metrics","description":"Use the query metrics API to read the time series behind the Plerion dashboards. Name a namespace and one or more of its metric names, a period with an interval and an aggregation, and optionally the integrations, integration groups, asset groups, or environments to restrict the query to. The response is one entry per interval, carrying the value of every requested metric at that timestamp; a metric with no data point in an interval is reported as 0.\n\nA key whose role covers specific integrations can query only those integrations; naming another integration is refused with 403.\n\nThe namespaces and the metric names the Plerion dashboards read from them:\n\n| Namespace | Metric names |\n|---|---|\n| `finding` | `failed_count`, `failed_count_by_asset_group` |\n| `asset` | `total_count`, `number_of_scanned_workloads`, `assets_with_critical_vulnerability_count`, `assets_with_kev_count`, `public_assets_count`, `overly_permissive_assets_count`, `admin_privileged_assets_count`, `privilege_escalation_assets_count`, and the same names with the `_by_asset_group` suffix |\n| `vulnerabilities` | `open_critical_vulnerabilities`, `open_high_vulnerabilities`, `open_medium_vulnerabilities`, `open_low_vulnerabilities`, `open_unknown_vulnerabilities`, and the same names with the `_by_asset_group` suffix |\n| `risk` | `open_count`, `open_count_by_asset_group` |\n| `alert` | `total_open_count`, `open_count_by_asset_group` |\n| `attack_path` | `total_count`, `total_count_by_asset_group` |\n| `compliance` | `compliance_posture_score`, `well_architected_score`, or a compliance framework ID as returned by the list compliance frameworks API, for that framework's score |\n| `risk_score` | `tenant_risk_score`, `integration_risk_score`, `asset_group_risk_score` |\n| `tenant_unit_consumption` | `tenant_unit_consumption` |\n\nNames with the `_by_asset_group` suffix are the same measure recorded per asset group. `vulnerability` is accepted as an alias of `vulnerabilities`.\n\nThe request body accepts only the fields listed below; an unknown field is rejected with 400.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/tenant/metrics","href":"/api-reference/metrics/query","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"queryTenantMetrics","tags":["Metrics"],"summary":"Query","x-mint":{"metadata":{"title":"Query metrics"}},"description":"Use the query metrics API to read the time series behind the Plerion dashboards. Name a namespace and one or more of its metric names, a period with an interval and an aggregation, and optionally the integrations, integration groups, asset groups, or environments to restrict the query to. The response is one entry per interval, carrying the value of every requested metric at that timestamp; a metric with no data point in an interval is reported as 0.\n\nA key whose role covers specific integrations can query only those integrations; naming another integration is refused with 403.\n\nThe namespaces and the metric names the Plerion dashboards read from them:\n\n| Namespace | Metric names |\n|---|---|\n| `finding` | `failed_count`, `failed_count_by_asset_group` |\n| `asset` | `total_count`, `number_of_scanned_workloads`, `assets_with_critical_vulnerability_count`, `assets_with_kev_count`, `public_assets_count`, `overly_permissive_assets_count`, `admin_privileged_assets_count`, `privilege_escalation_assets_count`, and the same names with the `_by_asset_group` suffix |\n| `vulnerabilities` | `open_critical_vulnerabilities`, `open_high_vulnerabilities`, `open_medium_vulnerabilities`, `open_low_vulnerabilities`, `open_unknown_vulnerabilities`, and the same names with the `_by_asset_group` suffix |\n| `risk` | `open_count`, `open_count_by_asset_group` |\n| `alert` | `total_open_count`, `open_count_by_asset_group` |\n| `attack_path` | `total_count`, `total_count_by_asset_group` |\n| `compliance` | `compliance_posture_score`, `well_architected_score`, or a compliance framework ID as returned by the list compliance frameworks API, for that framework's score |\n| `risk_score` | `tenant_risk_score`, `integration_risk_score`, `asset_group_risk_score` |\n| `tenant_unit_consumption` | `tenant_unit_consumption` |\n\nNames with the `_by_asset_group` suffix are the same measure recorded per asset group. `vulnerability` is accepted as an alias of `vulnerabilities`.\n\nThe request body accepts only the fields listed below; an unknown field is rejected with 400.","security":["4cdc4441-582c-45a8-8c8e-52a5c8f84d90"],"parameters":["4afb2f57-1c62-4297-bcce-4b80d9b32a3a","55000d53-c49a-48e8-af02-03123351e6f8"],"requestBody":"4f24d4da-9764-45bb-9610-a2593ee47f73","responses":{"200":"1ea63db7-a926-431f-80b0-ce5fddc6156b","400":"0f39ea24-07ed-4be7-b853-96c7539e0299","403":"52ad7db3-23a1-450b-9551-0b8adc3fef4e","500":"bb9e9f9c-f85f-425a-a33a-9d54ac137ab6"},"method":"post","type":"path","servers":["775cd936-5703-465a-b9f0-6d21440886d9"],"path":"/v1/tenant/metrics","baseUrlOptions":["https://{region}.api.plerion.com"],"title":"Query","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"4afb2f57-1c62-4297-bcce-4b80d9b32a3a":{"name":"Authorization","in":"header","description":"Bearer API Key. For example, \"Bearer {Tenant API Key}\"","required":true,"schema":{"type":"string","isRequired":true,"description":"Bearer API Key. For example, \"Bearer {Tenant API Key}\"","uniqueKey":"","typeLabel":"string"}},"55000d53-c49a-48e8-af02-03123351e6f8":{"in":"header","name":"Content-Type","description":"application/json","schema":{"type":"string","description":"application/json","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["metric","period"],"properties":{"metric":{"type":"object","required":["namespace","metricNames"],"properties":{"namespace":{"type":"string","description":"The metric namespace.","example":"finding","isRequired":true,"uniqueKey":"metric.namespace","typeLabel":"string"},"metricNames":{"type":"array","minItems":1,"description":"One or more metric names in the namespace.","items":{"type":"string","uniqueKey":"metric.metricNames.items.[INDEX]","typeLabel":"string"},"example":["failed_count"],"isRequired":true,"uniqueKey":"metric.metricNames","typeLabel":"string[]"}},"isRequired":true,"uniqueKey":"metric","typeLabel":"object"},"period":{"type":"object","required":["interval","start","end","stat"],"properties":{"interval":{"type":"integer","minimum":900,"maximum":2592000,"description":"Length of each interval in seconds, from 15 minutes (900) to 30 days (2592000).","example":86400,"isRequired":true,"uniqueKey":"period.interval","typeLabel":"integer"},"start":{"type":"string","format":"date-time","description":"Start of the period, as an ISO 8601 date-time.","example":"2026-08-01T00:00:00Z","isRequired":true,"uniqueKey":"period.start","typeLabel":"string\u003cdate-time>"},"end":{"type":"string","format":"date-time","description":"End of the period, as an ISO 8601 date-time.","example":"2026-09-01T00:00:00Z","isRequired":true,"uniqueKey":"period.end","typeLabel":"string\u003cdate-time>"},"stat":{"type":"string","enum":["sum","avg","max","min","latest"],"description":"How the data points inside an interval are combined into its value.","example":"latest","isRequired":true,"uniqueKey":"period.stat","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"period","typeLabel":"object"},"integrationIds":{"type":"array","description":"Restrict the query to these integrations.","items":{"type":"string","format":"uuid","uniqueKey":"integrationIds.items.[INDEX]","typeLabel":"string\u003cuuid>"},"uniqueKey":"integrationIds","typeLabel":"string\u003cuuid>[]"},"integrationGroupIds":{"type":"array","maxItems":100,"description":"Restrict the query to the integrations in these integration groups.","items":{"type":"string","format":"uuid","uniqueKey":"integrationGroupIds.items.[INDEX]","typeLabel":"string\u003cuuid>"},"uniqueKey":"integrationGroupIds","typeLabel":"string\u003cuuid>[]"},"assetGroupIds":{"type":"array","description":"Restrict the query to these asset groups.","items":{"type":"string","format":"uuid","uniqueKey":"assetGroupIds.items.[INDEX]","typeLabel":"string\u003cuuid>"},"uniqueKey":"assetGroupIds","typeLabel":"string\u003cuuid>[]"},"environmentIds":{"type":"array","description":"Restrict the query to the integrations in these environments.","items":{"type":"string","format":"uuid","uniqueKey":"environmentIds.items.[INDEX]","typeLabel":"string\u003cuuid>"},"uniqueKey":"environmentIds","typeLabel":"string\u003cuuid>[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"metric":{"namespace":"finding","metricNames":["failed_count"]},"period":{"interval":86400,"start":"2026-08-01T00:00:00Z","end":"2026-09-01T00:00:00Z","stat":"latest"},"integrationIds":["3c90c3cc-0d44-4b50-8888-8dd25736052a"],"integrationGroupIds":["3c90c3cc-0d44-4b50-8888-8dd25736052a"],"assetGroupIds":["3c90c3cc-0d44-4b50-8888-8dd25736052a"],"environmentIds":["3c90c3cc-0d44-4b50-8888-8dd25736052a"]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"1ea63db7-a926-431f-80b0-ce5fddc6156b":{"description":"Metric values per interval","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","description":"One entry per interval, in time order.","items":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","example":"2026-08-01T00:00:00.000Z","uniqueKey":"data.items.[INDEX].timestamp","typeLabel":"string\u003cdate-time>"},"metrics":{"type":"object","description":"Metric name to its value at this timestamp.","additionalProperties":{"type":"number","uniqueKey":"data.items.[INDEX].metrics.additionalProperties","typeLabel":"number"},"example":{"failed_count":128},"uniqueKey":"data.items.[INDEX].metrics","typeLabel":"object"}},"uniqueKey":"data.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data","typeLabel":"object[]"},"meta":{"type":"object","properties":{"period":{"type":"object","properties":{"start":{"type":"string","format":"date-time","uniqueKey":"meta.period.start","typeLabel":"string\u003cdate-time>"},"end":{"type":"string","format":"date-time","uniqueKey":"meta.period.end","typeLabel":"string\u003cdate-time>"},"interval":{"type":"integer","uniqueKey":"meta.period.interval","typeLabel":"integer"},"stat":{"type":"string","uniqueKey":"meta.period.stat","typeLabel":"string"}},"uniqueKey":"meta.period","typeLabel":"object"},"namespace":{"type":"string","example":"finding","uniqueKey":"meta.namespace","typeLabel":"string"},"metricNames":{"type":"array","items":{"type":"string","uniqueKey":"meta.metricNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"meta.metricNames","typeLabel":"string[]"}},"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":[{"timestamp":"2026-08-01T00:00:00.000Z","metrics":{"failed_count":128}}],"meta":{"period":{"start":"2023-11-07T05:31:56Z","end":"2023-11-07T05:31:56Z","interval":123,"stat":"\u003cstring>"},"namespace":"finding","metricNames":["\u003cstring>"]}}}},"exampleType":"generated"}},"exampleType":"generated"},"0f39ea24-07ed-4be7-b853-96c7539e0299":{"description":"Bad Request","content":{"application/json":{"schema":{"properties":{"errors":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","uniqueKey":"errors.items.[INDEX].field","typeLabel":"string"},"code":{"type":"string","uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"errors":[{"field":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"52ad7db3-23a1-450b-9551-0b8adc3fef4e":{"description":"Forbidden. The key's role does not allow the operation, or it names an integration the role does not cover.","content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","example":"IntegrationAccessDenied","uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","example":"integration access denied","uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"errors":[{"code":"IntegrationAccessDenied","message":"integration access denied"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"bb9e9f9c-f85f-425a-a33a-9d54ac137ab6":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Internal server error","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Internal server error"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"4cdc4441-582c-45a8-8c8e-52a5c8f84d90":{"APIKey":{"type":"http","scheme":"bearer","bearerFormat":"apiKey","description":"Bearer API Key. For example, \"Bearer {Tenant API Key}\"","scopes":[]}}},"servers":{"775cd936-5703-465a-b9f0-6d21440886d9":{"url":"https://{region}.api.plerion.com","description":"Production API server - Select your preferred region","variables":{"region":{"default":"au","enum":["au","sg1","in1","us1"]}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"apiKey","description":"Bearer API Key. For example, \"Bearer {Tenant API Key}\"","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer API Key. For example, \"Bearer {Tenant API Key}\"","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"APIKey","name":"Authorization"}],"title":"APIKey"}]},"originalFileLocation":"api-reference/openapi.yaml"},"subdomain":"pleriondocs","siteName":"Plerion, Simplify Cloud Security - documentation","title":"Query metrics - Plerion, Simplify Cloud Security - documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-05T04:43:06.733Z","originalFileLocation":"api-reference/metrics/query.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Use the query metrics API to read the time series behind the Plerion dashboards. Name a namespace and one or more of its metric names, a period with an interval and an aggregation, and optionally the integrations, integration groups, asset groups, or environments to restrict the query to. The response is one entry per interval, carrying the value of every requested metric at that timestamp; a metric with no data point in an interval is reported as 0. A key whose role covers specific integrations can query only those integrations; naming another integration is refused with 403. The namespaces and the metric names the Plerion dashboards read from them: | Namespace | Metric names | |---|---| | finding | failed_count, failed_count_by_asset_group | | asset | total_count, number_of_scanned_workloads, assets_with_critical_vulnerability_count, assets_with_kev_count, public_assets_count, overly_permissive_assets_count, admin_privileged_assets_count, privilege_escalation_assets_count, and the same names with the _by_asset_group suffix | | vulnerabilities | open_critical_vulnerabilities, open_high_vulnerabilities, open_medium_vulnerabilities, open_low_vulnerabilities, open_unknown_vulnerabilities, and the same names with the _by_asset_group suffix | | risk | open_count, open_count_by_asset_group | | alert | total_open_count, open_count_by_asset_group | | attack_path | total_count, total_count_by_asset_group | | compliance | compliance_posture_score, well_architected_score, or a compliance framework ID as returned by the list compliance frameworks API, for that framework\u0026#x27;s score | | risk_score | tenant_risk_score, integration_risk_score, asset_group_risk_score | | tenant_unit_consumption | tenant_unit_consumption | Names with the _by_asset_group suffix are the same measure recorded per asset group. vulnerability is accepted as an alias of vulnerabilities. The request body accepts only the fields listed below; an unknown field is rejected with 400.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Plerion, Simplify Cloud Security - documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/pleriondocs/xDuw_jwQ1ux0MEWx/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/pleriondocs/xDuw_jwQ1ux0MEWx/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/pleriondocs/xDuw_jwQ1ux0MEWx/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/pleriondocs/xDuw_jwQ1ux0MEWx/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/pleriondocs/xDuw_jwQ1ux0MEWx/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/pleriondocs/xDuw_jwQ1ux0MEWx/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/pleriondocs/xDuw_jwQ1ux0MEWx/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/pleriondocs/xDuw_jwQ1ux0MEWx/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/pleriondocs/xDuw_jwQ1ux0MEWx/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Query metrics - Plerion, Simplify Cloud Security - documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Use the query metrics API to read the time series behind the Plerion dashboards. Name a namespace and one or more of its metric names, a period with an interval and an aggregation, and optionally the integrations, integration groups, asset groups, or environments to restrict the query to. The response is one entry per interval, carrying the value of every requested metric at that timestamp; a metric with no data point in an interval is reported as 0. A key whose role covers specific integrations can query only those integrations; naming another integration is refused with 403. The namespaces and the metric names the Plerion dashboards read from them: | Namespace | Metric names | |---|---| | finding | failed_count, failed_count_by_asset_group | | asset | total_count, number_of_scanned_workloads, assets_with_critical_vulnerability_count, assets_with_kev_count, public_assets_count, overly_permissive_assets_count, admin_privileged_assets_count, privilege_escalation_assets_count, and the same names with the _by_asset_group suffix | | vulnerabilities | open_critical_vulnerabilities, open_high_vulnerabilities, open_medium_vulnerabilities, open_low_vulnerabilities, open_unknown_vulnerabilities, and the same names with the _by_asset_group suffix | | risk | open_count, open_count_by_asset_group | | alert | total_open_count, open_count_by_asset_group | | attack_path | total_count, total_count_by_asset_group | | compliance | compliance_posture_score, well_architected_score, or a compliance framework ID as returned by the list compliance frameworks API, for that framework\u0026#x27;s score | | risk_score | tenant_risk_score, integration_risk_score, asset_group_risk_score | | tenant_unit_consumption | tenant_unit_consumption | Names with the _by_asset_group suffix are the same measure recorded per asset group. vulnerability is accepted as an alias of vulnerabilities. The request body accepts only the fields listed below; an unknown field is rejected with 400.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Plerion, Simplify Cloud Security - documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.plerion.com/api-reference/metrics/query\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://pleriondocs.mintlify.app/_mintlify/api/og/v2?division=Metrics\u0026amp;title=Query+metrics\u0026amp;description=Use+the+query+metrics+API+to+read+the+time+series+behind+the+Plerion+dashboards.+Name+a+namespace+and+one+or+more+of+its+metric+names%2C+a+period+with+an+interval\u0026amp;theme=20f0c40f02b58da5abe20cea\u0026amp;signature=e86f5b857a20e7bed2141615781a7b137844a56b1882a233796307e5ec4da792\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Query metrics - Plerion, Simplify Cloud Security - documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Use the query metrics API to read the time series behind the Plerion dashboards. Name a namespace and one or more of its metric names, a period with an interval and an aggregation, and optionally the integrations, integration groups, asset groups, or environments to restrict the query to. The response is one entry per interval, carrying the value of every requested metric at that timestamp; a metric with no data point in an interval is reported as 0. A key whose role covers specific integrations can query only those integrations; naming another integration is refused with 403. The namespaces and the metric names the Plerion dashboards read from them: | Namespace | Metric names | |---|---| | finding | failed_count, failed_count_by_asset_group | | asset | total_count, number_of_scanned_workloads, assets_with_critical_vulnerability_count, assets_with_kev_count, public_assets_count, overly_permissive_assets_count, admin_privileged_assets_count, privilege_escalation_assets_count, and the same names with the _by_asset_group suffix | | vulnerabilities | open_critical_vulnerabilities, open_high_vulnerabilities, open_medium_vulnerabilities, open_low_vulnerabilities, open_unknown_vulnerabilities, and the same names with the _by_asset_group suffix | | risk | open_count, open_count_by_asset_group | | alert | total_open_count, open_count_by_asset_group | | attack_path | total_count, total_count_by_asset_group | | compliance | compliance_posture_score, well_architected_score, or a compliance framework ID as returned by the list compliance frameworks API, for that framework\u0026#x27;s score | | risk_score | tenant_risk_score, integration_risk_score, asset_group_risk_score | | tenant_unit_consumption | tenant_unit_consumption | Names with the _by_asset_group suffix are the same measure recorded per asset group. vulnerability is accepted as an alias of vulnerabilities. The request body accepts only the fields listed below; an unknown field is rejected with 400.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://pleriondocs.mintlify.app/_mintlify/api/og/v2?division=Metrics\u0026amp;title=Query+metrics\u0026amp;description=Use+the+query+metrics+API+to+read+the+time+series+behind+the+Plerion+dashboards.+Name+a+namespace+and+one+or+more+of+its+metric+names%2C+a+period+with+an+interval\u0026amp;theme=20f0c40f02b58da5abe20cea\u0026amp;signature=e86f5b857a20e7bed2141615781a7b137844a56b1882a233796307e5ec4da792\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/pleriondocs/xDuw_jwQ1ux0MEWx/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Plerion, Simplify Cloud Security - documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FFA500\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.plerion.com/api-reference/metrics/query\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/metrics/query.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.plerion.com/#organization\",\"name\":\"Plerion, Simplify Cloud Security - documentation\",\"url\":\"https://docs.plerion.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/pleriondocs/GIwfwlVd5Zt2w0-r/logo/plerion.svg?fit=max\u0026auto=format\u0026n=GIwfwlVd5Zt2w0-r\u0026q=85\u0026s=86e89d26c3b52a61495baaf98faff52c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.plerion.com#website\",\"name\":\"Plerion, Simplify Cloud Security - documentation\",\"url\":\"https://docs.plerion.com\",\"publisher\":{\"@id\":\"https://docs.plerion.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.plerion.com/api-reference/metrics/query#webpage\",\"url\":\"https://docs.plerion.com/api-reference/metrics/query\",\"name\":\"Query metrics\",\"description\":\"Use the query metrics API to read the time series behind the Plerion dashboards. Name a namespace and one or more of its metric names, a period with an interval and an aggregation, and optionally the integrations, integration groups, asset groups, or environments to restrict the query to. The response is one entry per interval, carrying the value of every requested metric at that timestamp; a metric with no data point in an interval is reported as 0. A key whose role covers specific integrations can query only those integrations; naming another integration is refused with 403. The namespaces and the metric names the Plerion dashboards read from them: | Namespace | Metric names | |---|---| | finding | failed_count, failed_count_by_asset_group | | asset | total_count, number_of_scanned_workloads, assets_with_critical_vulnerability_count, assets_with_kev_count, public_assets_count, overly_permissive_assets_count, admin_privileged_assets_count, privilege_escalation_assets_count, and the same names with the _by_asset_group suffix | | vulnerabilities | open_critical_vulnerabilities, open_high_vulnerabilities, open_medium_vulnerabilities, open_low_vulnerabilities, open_unknown_vulnerabilities, and the same names with the _by_asset_group suffix | | risk | open_count, open_count_by_asset_group | | alert | total_open_count, open_count_by_asset_group | | attack_path | total_count, total_count_by_asset_group | | compliance | compliance_posture_score, well_architected_score, or a compliance framework ID as returned by the list compliance frameworks API, for that framework's score | | risk_score | tenant_risk_score, integration_risk_score, asset_group_risk_score | | tenant_unit_consumption | tenant_unit_consumption | Names with the _by_asset_group suffix are the same measure recorded per asset group. vulnerability is accepted as an alias of vulnerabilities. The request body accepts only the fields listed below; an unknown field is rejected with 400.\",\"dateModified\":\"2026-10-05T04:43:06.733Z\",\"isPartOf\":{\"@id\":\"https://docs.plerion.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.plerion.com/api-reference/metrics/query#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.plerion.com/api-reference/metrics/query#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API documentation\",\"item\":\"https://docs.plerion.com/api-reference/findings/list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Query metrics\",\"item\":\"https://docs.plerion.com/api-reference/metrics/query\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.plerion.com/api-reference/metrics/query#apireference\",\"headline\":\"Query metrics\",\"name\":\"Query metrics\",\"description\":\"Use the query metrics API to read the time series behind the Plerion dashboards. Name a namespace and one or more of its metric names, a period with an interval and an aggregation, and optionally the integrations, integration groups, asset groups, or environments to restrict the query to. The response is one entry per interval, carrying the value of every requested metric at that timestamp; a metric with no data point in an interval is reported as 0. A key whose role covers specific integrations can query only those integrations; naming another integration is refused with 403. The namespaces and the metric names the Plerion dashboards read from them: | Namespace | Metric names | |---|---| | finding | failed_count, failed_count_by_asset_group | | asset | total_count, number_of_scanned_workloads, assets_with_critical_vulnerability_count, assets_with_kev_count, public_assets_count, overly_permissive_assets_count, admin_privileged_assets_count, privilege_escalation_assets_count, and the same names with the _by_asset_group suffix | | vulnerabilities | open_critical_vulnerabilities, open_high_vulnerabilities, open_medium_vulnerabilities, open_low_vulnerabilities, open_unknown_vulnerabilities, and the same names with the _by_asset_group suffix | | risk | open_count, open_count_by_asset_group | | alert | total_open_count, open_count_by_asset_group | | attack_path | total_count, total_count_by_asset_group | | compliance | compliance_posture_score, well_architected_score, or a compliance framework ID as returned by the list compliance frameworks API, for that framework's score | | risk_score | tenant_risk_score, integration_risk_score, asset_group_risk_score | | tenant_unit_consumption | tenant_unit_consumption | Names with the _by_asset_group suffix are the same measure recorded per asset group. vulnerability is accepted as an alias of vulnerabilities. The request body accepts only the fields listed below; an unknown field is rejected with 400.\",\"url\":\"https://docs.plerion.com/api-reference/metrics/query\",\"mainEntityOfPage\":{\"@id\":\"https://docs.plerion.com/api-reference/metrics/query#webpage\"},\"dateModified\":\"2026-10-05T04:43:06.733Z\",\"publisher\":{\"@id\":\"https://docs.plerion.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.plerion.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Plerion, Simplify Cloud Security - documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Plerion, Simplify Cloud Security - documentation","nav":{"global":null,"tabs":[{"tab":"Welcome","pages":[{"title":"Welcome","href":""}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/getting-started"}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"title":"Quick start with Plerion API","href":"/api-reference"},{"title":"API categories","href":"/api-reference/api-categories"}]},{"group":"API documentation","pages":[{"group":"Findings","pages":[{"title":"List findings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/findings","href":"/api-reference/findings/list"}]},{"group":"Alerts","pages":[{"title":"List alerts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/alerts","href":"/api-reference/alerts/list"}]},{"group":"AWS integration","pages":[{"title":"Get the tenant's external ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/external-id","href":"/api-reference/aws-integration/get-external-id"},{"title":"Create an onboarding token for a new integration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/tenant/integrations/token","href":"/api-reference/aws-integration/generate-temporary-token"},{"title":"Get the onboarding CloudFormation template","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/cloudformation-templates","href":"/api-reference/aws-integration/get-cloudformation-template"}]},{"group":"Tenant","pages":[{"title":"Get this tenant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant","href":"/api-reference/tenant/get"},{"title":"Get what this key can call","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/openapi","href":"/api-reference/tenant/discover"},{"title":"Get this tenant's usage","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/usage","href":"/api-reference/tenant/usage"}]},{"group":"Integrations","pages":[{"title":"List inbound integrations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/integrations","href":"/api-reference/integrations/list-inbound-integrations"},{"title":"Replace an integration's user-defined tags","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /v1/tenant/integrations/{integrationId}/user-defined-tags","href":"/api-reference/integrations/replace-user-defined-tags"}]},{"group":"Code security","pages":[{"title":"Upload infrastructure code for scanning","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/tenant/shiftleft/iac/scan","href":"/api-reference/code-security/upload-iac"},{"title":"List code scans","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/shiftleft/iac/scans","href":"/api-reference/code-security/list-scans"},{"title":"List a code scan's findings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/shiftleft/iac/scans/{scanId}/findings","href":"/api-reference/code-security/list-findings"},{"title":"List a code scan's vulnerabilities","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/shiftleft/iac/scans/{scanId}/vulnerabilities","href":"/api-reference/code-security/list-vulnerabilities"}]},{"group":"Compliance frameworks","pages":[{"title":"List compliance frameworks","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/compliance-frameworks","href":"/api-reference/compliance-frameworks/list"},{"title":"Download a compliance report","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/integrations/{integrationId}/compliance-frameworks/{complianceId}/download","href":"/api-reference/compliance-frameworks/download-report"},{"title":"Request a compliance report","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/tenant/integrations/{integrationId}/frameworks/{complianceFrameworkId}/reports","href":"/api-reference/compliance-frameworks/request-a-framework-report"}]},{"group":"Assets","pages":[{"title":"List assets","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/assets","href":"/api-reference/assets/list"},{"title":"Get an asset","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/assets/{assetId}","href":"/api-reference/assets/get"},{"title":"Get an asset's SBOM","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/assets/{assetId}/sbom","href":"/api-reference/assets/get-sbom"},{"title":"Get an SBOM by asset ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/assets/sbom","href":"/api-reference/assets/get-sbom-by-asset-id"}]},{"group":"Asset groups","pages":[{"title":"List asset groups","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/asset-groups","href":"/api-reference/asset-groups/list"},{"title":"Create an asset group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/tenant/asset-groups","href":"/api-reference/asset-groups/create"},{"title":"Get an asset group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/asset-groups/{assetGroupId}","href":"/api-reference/asset-groups/get"},{"title":"Delete an asset group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/tenant/asset-groups/{assetGroupId}","href":"/api-reference/asset-groups/delete"},{"title":"Update an asset group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /v1/tenant/asset-groups/{assetGroupId}","href":"/api-reference/asset-groups/update"}]},{"group":"Well-Architected frameworks","pages":[{"title":"List Well-Architected frameworks","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/well-architected-frameworks","href":"/api-reference/well-architected-frameworks/list"},{"title":"Download a Well-Architected report","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/integrations/{integrationId}/well-architected-frameworks/{wellArchitectedFrameworkId}/download","href":"/api-reference/well-architected-frameworks/download-report"},{"title":"Request a Well-Architected report","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/tenant/integrations/{integrationId}/frameworks/{wellArchitectedFrameworkId}/reports","href":"/api-reference/well-architected-frameworks/request-framework-report"}]},{"group":"Vulnerabilities","pages":[{"title":"List vulnerabilities","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/vulnerabilities","href":"/api-reference/vulnerabilities/list"},{"title":"List vulnerability exemptions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/profiles/{profileId}/vulnerability/exemptions","href":"/api-reference/vulnerabilities/list-vulnerability-exemptions-in-a-profile"},{"title":"Create a vulnerability exemption","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/tenant/profiles/{profileId}/vulnerability/exemptions","href":"/api-reference/vulnerabilities/create-a-vulnerability-exemption-in-a-profile"},{"title":"Get a vulnerability exemption","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/profiles/{profileId}/vulnerability/exemptions/{id}","href":"/api-reference/vulnerabilities/get-a-vulnerability-exemption-by-id"},{"title":"Delete a vulnerability exemption","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/tenant/profiles/{profileId}/vulnerability/exemptions/{id}","href":"/api-reference/vulnerabilities/delete-a-vulnerability-exemption-by-id"},{"title":"Update a vulnerability exemption","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /v1/tenant/profiles/{profileId}/vulnerability/exemptions/{id}","href":"/api-reference/vulnerabilities/update-a-vulnerability-exemption-by-id"}]},{"group":"Profiles","pages":[{"title":"List profiles","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/profiles","href":"/api-reference/profiles/list"}]},{"group":"Detection exemptions","pages":[{"title":"Get a detection's exemptions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/profiles/{profileId}/detection-settings/{detectionId}/exemptions","href":"/api-reference/detection-exemptions/get"},{"title":"Replace a detection's exemptions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /v1/tenant/profiles/{profileId}/detection-settings/{detectionId}/exemptions","href":"/api-reference/detection-exemptions/replace"}]},{"group":"Risks","pages":[{"title":"List risks","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/risks","href":"/api-reference/risks/list"},{"title":"Get a risk","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/risks/{riskId}","href":"/api-reference/risks/get"}]},{"group":"Audit logs","pages":[{"title":"List audit logs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/audit-logs","href":"/api-reference/audit-logs/list"}]},{"group":"Custom checks","pages":[{"title":"List custom checks","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/custom-checks","href":"/api-reference/custom-checks/list"},{"title":"Create a custom check","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/tenant/custom-checks","href":"/api-reference/custom-checks/create"},{"title":"Get a custom check","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/custom-checks/{customCheckId}","href":"/api-reference/custom-checks/get"},{"title":"Replace a custom check","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /v1/tenant/custom-checks/{customCheckId}","href":"/api-reference/custom-checks/update"},{"title":"Delete a custom check","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/tenant/custom-checks/{customCheckId}","href":"/api-reference/custom-checks/delete"},{"title":"Start a custom check dry run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/tenant/custom-check-dry-runs","href":"/api-reference/custom-checks/start-dry-run"},{"title":"Get a dry run's status","description":"Poll a dry-run and, once complete, retrieve its preview findings. Findings are returned inline and are never persisted.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/custom-check-dry-runs/{dryRunId}","href":"/api-reference/custom-checks/get-dry-run-status"}]},{"group":"Metrics","pages":[{"title":"Query metrics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/tenant/metrics","href":"/api-reference/metrics/query"}]},{"group":"Workload scans","pages":[{"title":"Request a workload scan","description":"Use the request workload scan API to scan one workload now instead of waiting for the next scheduled scan. Name the integration and either the Plerion asset ID of the workload or the provider's resource type, region, and ID. Supported resource types are EC2 instances (`ec2:instance`) and AMIs (`ec2:image`).\n\nThe response carries the scan ID to poll with the get workload scan API. If a scan of the same workload is already pending, its ID is returned instead of starting another.\n\nA key whose role covers specific integrations can request scans only in those integrations.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/tenant/workload/scans","href":"/api-reference/workload-scans/request"},{"title":"Get a workload scan","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/workload/scans/{scanId}","href":"/api-reference/workload-scans/get"}]},{"group":"AWS access grants","pages":[{"title":"List AWS access grants","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/aws/access-grants","href":"/api-reference/aws-access-grants/list"},{"title":"Get access grant counts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/aws/access-grants/stats","href":"/api-reference/aws-access-grants/stats"},{"title":"List external principals with access","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/aws/access-grants/external-principals","href":"/api-reference/aws-access-grants/external-principals"},{"title":"Get an AWS access grant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/aws/access-grants/{id}","href":"/api-reference/aws-access-grants/get"},{"title":"Review an AWS access grant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /v1/tenant/aws/access-grants/{id}","href":"/api-reference/aws-access-grants/update"}]},{"group":"Custom dashboards","pages":[{"title":"List the tenant's custom dashboards","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/custom-reports","href":"/api-reference/custom-dashboards/list"}]},{"group":"Preferences","pages":[{"title":"Get the tenant default home dashboard","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenant/preferences/home-dashboard","href":"/api-reference/preferences/get-tenant-default"},{"title":"Set the tenant default home dashboard","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /v1/tenant/preferences/home-dashboard","href":"/api-reference/preferences/set-tenant-default"},{"title":"Clear the tenant default home dashboard","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/tenant/preferences/home-dashboard","href":"/api-reference/preferences/clear-tenant-default"}]}]},{"group":"Organization API","pages":[{"group":"Roles","pages":[{"title":"List roles","deprecated":null,"version":null,"openapi":"/api-reference/organization-openapi.yaml get /v1/organization/roles","href":"/api-reference/roles/list-roles"},{"title":"Create a custom role","deprecated":null,"version":null,"openapi":"/api-reference/organization-openapi.yaml post /v1/organization/roles","href":"/api-reference/roles/create-a-custom-role"},{"title":"Get a role","deprecated":null,"version":null,"openapi":"/api-reference/organization-openapi.yaml get /v1/organization/roles/{roleId}","href":"/api-reference/roles/get-a-role"},{"title":"Update a custom role","deprecated":null,"version":null,"openapi":"/api-reference/organization-openapi.yaml put /v1/organization/roles/{roleId}","href":"/api-reference/roles/update-a-custom-role"},{"title":"Delete a custom role","deprecated":null,"version":null,"openapi":"/api-reference/organization-openapi.yaml delete /v1/organization/roles/{roleId}","href":"/api-reference/roles/delete-a-custom-role"}]},{"group":"Role assignments","pages":[{"title":"List role assignments","deprecated":null,"version":null,"openapi":"/api-reference/organization-openapi.yaml get /v1/organization/role-assignments","href":"/api-reference/role-assignments/list-role-assignments"},{"title":"Assign a role","deprecated":null,"version":null,"openapi":"/api-reference/organization-openapi.yaml post /v1/organization/role-assignments","href":"/api-reference/role-assignments/assign-a-role"},{"title":"Revoke a role","deprecated":null,"version":null,"openapi":"/api-reference/organization-openapi.yaml delete /v1/organization/role-assignments/{roleId}/{principalType}/{principalId}","href":"/api-reference/role-assignments/revoke-a-role"}]},{"group":"Permission catalog","pages":[{"title":"Get the permission catalog","deprecated":null,"version":null,"openapi":"/api-reference/organization-openapi.yaml get /v1/organization/permission-catalog","href":"/api-reference/permission-catalog/get-the-permission-catalog"}]},{"group":"Preferences","pages":[{"title":"Get a user's home dashboard","deprecated":null,"version":null,"openapi":"/api-reference/organization-openapi.yaml get /v1/organization/users/{userId}/preferences/home-dashboard","href":"/api-reference/preferences/get-a-users-home-dashboard"},{"title":"Set a user's home dashboard","deprecated":null,"version":null,"openapi":"/api-reference/organization-openapi.yaml put /v1/organization/users/{userId}/preferences/home-dashboard","href":"/api-reference/preferences/set-a-users-home-dashboard"},{"title":"Clear a user's home dashboard","deprecated":null,"version":null,"openapi":"/api-reference/organization-openapi.yaml delete /v1/organization/users/{userId}/preferences/home-dashboard","href":"/api-reference/preferences/clear-a-users-home-dashboard"},{"title":"Get a user's navigation","deprecated":null,"version":null,"openapi":"/api-reference/organization-openapi.yaml get /v1/organization/users/{userId}/preferences/navigation","href":"/api-reference/preferences/get-a-users-navigation"},{"title":"Set a user's navigation","deprecated":null,"version":null,"openapi":"/api-reference/organization-openapi.yaml put /v1/organization/users/{userId}/preferences/navigation","href":"/api-reference/preferences/set-a-users-navigation"},{"title":"Clear a user's navigation","deprecated":null,"version":null,"openapi":"/api-reference/organization-openapi.yaml delete /v1/organization/users/{userId}/preferences/navigation","href":"/api-reference/preferences/clear-a-users-navigation"},{"title":"Get a user group's home dashboard","deprecated":null,"version":null,"openapi":"/api-reference/organization-openapi.yaml get /v1/organization/user-groups/{groupId}/preferences/home-dashboard","href":"/api-reference/preferences/get-a-user-groups-home-dashboard"},{"title":"Set a user group's home dashboard","deprecated":null,"version":null,"openapi":"/api-reference/organization-openapi.yaml put /v1/organization/user-groups/{groupId}/preferences/home-dashboard","href":"/api-reference/preferences/set-a-user-groups-home-dashboard"},{"title":"Clear a user group's home dashboard","deprecated":null,"version":null,"openapi":"/api-reference/organization-openapi.yaml delete /v1/organization/user-groups/{groupId}/preferences/home-dashboard","href":"/api-reference/preferences/clear-a-user-groups-home-dashboard"},{"title":"Get a user group's navigation","deprecated":null,"version":null,"openapi":"/api-reference/organization-openapi.yaml get /v1/organization/user-groups/{groupId}/preferences/navigation","href":"/api-reference/preferences/get-a-user-groups-navigation"},{"title":"Set a user group's navigation","deprecated":null,"version":null,"openapi":"/api-reference/organization-openapi.yaml put /v1/organization/user-groups/{groupId}/preferences/navigation","href":"/api-reference/preferences/set-a-user-groups-navigation"},{"title":"Clear a user group's navigation","deprecated":null,"version":null,"openapi":"/api-reference/organization-openapi.yaml delete /v1/organization/user-groups/{groupId}/preferences/navigation","href":"/api-reference/preferences/clear-a-user-groups-navigation"}]}]},{"group":"SCIM API","pages":[{"group":"Discovery","pages":[{"title":"Supported SCIM protocol features","deprecated":null,"version":null,"openapi":"/api-reference/scim-openapi.yaml get /v1/organization/scim/v2/ServiceProviderConfig","href":"/api-reference/discovery/supported-scim-protocol-features"},{"title":"List supported resource types","deprecated":null,"version":null,"openapi":"/api-reference/scim-openapi.yaml get /v1/organization/scim/v2/ResourceTypes","href":"/api-reference/discovery/list-supported-resource-types"},{"title":"Get one resource type","deprecated":null,"version":null,"openapi":"/api-reference/scim-openapi.yaml get /v1/organization/scim/v2/ResourceTypes/{resourceTypeId}","href":"/api-reference/discovery/get-one-resource-type"},{"title":"List attribute schemas","deprecated":null,"version":null,"openapi":"/api-reference/scim-openapi.yaml get /v1/organization/scim/v2/Schemas","href":"/api-reference/discovery/list-attribute-schemas"},{"title":"Get one attribute schema","deprecated":null,"version":null,"openapi":"/api-reference/scim-openapi.yaml get /v1/organization/scim/v2/Schemas/{schemaUri}","href":"/api-reference/discovery/get-one-attribute-schema"}]},{"group":"Users","pages":[{"title":"List or filter users","deprecated":null,"version":null,"openapi":"/api-reference/scim-openapi.yaml get /v1/organization/scim/v2/Users","href":"/api-reference/users/list-or-filter-users"},{"title":"Create or adopt a user","deprecated":null,"version":null,"openapi":"/api-reference/scim-openapi.yaml post /v1/organization/scim/v2/Users","href":"/api-reference/users/create-or-adopt-a-user"},{"title":"Get one user","deprecated":null,"version":null,"openapi":"/api-reference/scim-openapi.yaml get /v1/organization/scim/v2/Users/{userId}","href":"/api-reference/users/get-one-user"},{"title":"Replace a user","deprecated":null,"version":null,"openapi":"/api-reference/scim-openapi.yaml put /v1/organization/scim/v2/Users/{userId}","href":"/api-reference/users/replace-a-user"},{"title":"Deprovision a user","deprecated":null,"version":null,"openapi":"/api-reference/scim-openapi.yaml delete /v1/organization/scim/v2/Users/{userId}","href":"/api-reference/users/deprovision-a-user"},{"title":"Partially update a user","deprecated":null,"version":null,"openapi":"/api-reference/scim-openapi.yaml patch /v1/organization/scim/v2/Users/{userId}","href":"/api-reference/users/partially-update-a-user"},{"title":"Search users with a request body","deprecated":null,"version":null,"openapi":"/api-reference/scim-openapi.yaml post /v1/organization/scim/v2/Users/.search","href":"/api-reference/users/search-users-with-a-request-body"}]},{"group":"Groups","pages":[{"title":"List or filter groups","deprecated":null,"version":null,"openapi":"/api-reference/scim-openapi.yaml get /v1/organization/scim/v2/Groups","href":"/api-reference/groups/list-or-filter-groups"},{"title":"Create a group","deprecated":null,"version":null,"openapi":"/api-reference/scim-openapi.yaml post /v1/organization/scim/v2/Groups","href":"/api-reference/groups/create-a-group"},{"title":"Get one group","deprecated":null,"version":null,"openapi":"/api-reference/scim-openapi.yaml get /v1/organization/scim/v2/Groups/{groupId}","href":"/api-reference/groups/get-one-group"},{"title":"Replace a group","deprecated":null,"version":null,"openapi":"/api-reference/scim-openapi.yaml put /v1/organization/scim/v2/Groups/{groupId}","href":"/api-reference/groups/replace-a-group"},{"title":"Delete a group","deprecated":null,"version":null,"openapi":"/api-reference/scim-openapi.yaml delete /v1/organization/scim/v2/Groups/{groupId}","href":"/api-reference/groups/delete-a-group"},{"title":"Partially update a group","deprecated":null,"version":null,"openapi":"/api-reference/scim-openapi.yaml patch /v1/organization/scim/v2/Groups/{groupId}","href":"/api-reference/groups/partially-update-a-group"},{"title":"Search groups with a request body","deprecated":null,"version":null,"openapi":"/api-reference/scim-openapi.yaml post /v1/organization/scim/v2/Groups/.search","href":"/api-reference/groups/search-groups-with-a-request-body"}]}]}]},{"tab":"CLI reference","pages":[{"title":"CLI reference","href":"/cli-reference/introduction"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]},{"tab":"FAQs","hidden":true,"pages":[{"title":"FAQs","href":"/faqs"}]}]},"title":"Query metrics - Plerion, Simplify Cloud Security - documentation","buildId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","deploymentId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-26-lDe7V.js","utils-CWQmgYtH.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-4-Aw3rSD.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-C2zjXYA5.js","snippetPresets-DFmpFA7C.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-FJpQavWq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D_GvPF7k.js","shallow-Bs2ZB0NO.js","getApiPlaygroundDisplay-DCcqJJk-.js","CodeSnippet-DzDxawVe.js","CodeSnippets-aUr7fU-7.js","Page-CT9uE8Ip.js","getPastedJson-Y1fKsj_I.js","icon-DI4zTsDr.js","MethodPill-C0nDlmSQ.js","DuplicateIcon-NUXbx2nQ.js","createIcon-BdTHrPAi.js","DynamicMarkdown-CtpgKJwj.js","SectionHeading-B3x35tOt.js","axios-vUo_bRtp.js","Markdown-3OmurJMP.js","clsx-DMKzROTp.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-1ms6tsT-.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Ke9xIMFx.js"]}