Overview

📘

GraphQL API or REST API v2?

Monte Carlo has two APIs. The GraphQL API powers the web app and covers everything in it, such as monitors, alerts, lineage and the catalog. The REST API v2 (beta) covers account setup: deployments, collection agents, credentials, warehouses and connections.

For onboarding, use the REST API v2, through the Terraform provider, the new CLI or the Python and Go SDKs. See GraphQL API or REST API v2? for more.

🤖

Onboard with Claude

The Agent Toolkit's onboarding skill lets Claude, or another MCP client, connect a warehouse for you over the REST API v2. It chooses or sets up the deployment, references your credentials without passing a secret through the chat, and validates the connection. See Connecting a warehouse with the onboarding skill, and the step-by-step examples with the AWS CLI and with Terraform.

Developers can programmatically manage Monte Carlo, the agent trust platform, using:

  1. Agent Toolkit: Teaches your agents how to monitor data, validate code changes before they break production, triage alerts and much more using our MCP tools. Works with Claude Code, Cursor and others.

  2. API: Monte Carlo exposes a rich GraphQL API. This is the same API that powers Monte Carlo's web-based application and therefore offers a broad range of capabilities. The REST API v2 (beta) covers account setup: deployments, collection agents, credentials, warehouses and connections.

  3. SDK: Developers can also use the python SDK to more conveniently access all of Monte Carlo’s APIs. Python and Go SDKs (beta) are available for the REST API v2.

  4. CLI: To simplify certain onboarding and integration operations, developers can install and use command line interface (CLI). A new CLI (beta) is built on the REST API v2.

  5. Terraform Provider (beta): To manage deployments, collection agents, credentials, warehouses and connections as code.

  6. Providers: To use/include Monte Carlo in orchestration tools.
    For instance, using Circuit breakers to stop pipelines when data does not meet a set of quality or integrity thresholds.

  7. Monitors as code (IaC + CLI): To deploy monitors as part of a CI/CD process.

Credentials are required to authenticate calls. Monte Carlo supports API keys and OAuth client credentials — see API Authentication to create and use them. Consider also checking out the API Explorer to get started.


Did this page help you?