Drata Monitoring Tests API

Monitoring Tests are compliance tests used to determine whether a person, system, process, or organization is adhering to standards set by compliance controls within a framework. The [help docs](https://help.drata.com/en/articles/4790546-monitoring) have more information.

Business capability
Compliance Management BC-130

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /workspaces/{workspaceId}/monitoring-tests List monitoring tests · List Monitoring Tests #
Ask an LLM
“Which monitoring tests are currently failing in my workspace?”
“Can I list only my custom tests versus the built-in ones?”
Tell an agent
List monitoring tests in workspace {workspaceId}.
List tests in workspace {workspaceId} with result status {checkResultStatus}.
GET /workspaces/{workspaceId}/monitoring-tests/{testId} Get a monitoring test · Get Monitoring Test #
Ask an LLM
“How do I look up a single monitoring test by its test ID?”
“What's the current state of one specific monitoring test?”
Tell an agent
Get monitoring test {testId} in workspace {workspaceId}.
Show test {testId} from workspace {workspaceId} with {expand} expanded.
PUT /workspaces/{workspaceId}/monitoring-tests/{testId} Rename, describe or disable a monitoring test · Update Monitoring Test #
Ask an LLM
“Can I turn off a monitoring test we don't need?”
“Is it possible to rename a test or change its description?”
Tell an agent
Rename monitoring test {testId} in workspace {workspaceId} to {name}.
Set enabled to {enabled} for test {testId} in workspace {workspaceId}.
GET /workspaces/{workspaceId}/monitoring-tests/{testId}/exclusions List a monitoring test's exclusions · List Monitoring Test Exclusions #
Ask an LLM
“Which resources are excluded from a monitoring test?”
“Can I check whether one resource has an exclusion on a test?”
Tell an agent
List exclusions for test {testId} in workspace {workspaceId}.
Check whether resource {targetId} is excluded from test {testId} in workspace {workspaceId}.
GET /workspaces/{workspaceId}/monitoring-tests/{testId}/failures List a monitoring test's failures · List Monitoring Test Failures #
Ask an LLM
“Which resources are failing a particular monitoring test?”
“Can the failure list also include failures that were excluded?”
Tell an agent
List failures for test {testId} in workspace {workspaceId}.
List failing resources for test {testId} in workspace {workspaceId}, including exclusions: {includeExclusions}.
GET /workspaces/{workspaceId}/monitoring-tests/{testId}/passes List resources passing a monitoring test · List Monitoring Test Passes #
Ask an LLM
“Which resources currently pass a given monitoring test?”
“Why would the passing-resources list for a test come back empty?”
Tell an agent
List passing resources for test {testId} in workspace {workspaceId}.
Show what passes test {testId} in workspace {workspaceId}, with tags expanded via {expand}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/drata:drata-monitoring-tests-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

drata-monitoring-tests-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Drata Monitoring Tests API
  description: '### What''s New in V2

    - Support for Custom Fields

    - Get and acknowledge user''s assigned policies

    - Payloads are streamlined to include only the essential information.'
  version: V2
  contact: {}
servers:
- url: https://public-api.drata.com/public/v2
- url: https://public-api.eu.drata.com/public/v2
- url: https://public-api.apac.drata.com/public/v2
tags:


# --- truncated at 32 KB (57 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/drata/refs/heads/main/openapi/drata-monitoring-tests-api-openapi.yml