Monte Carlo Graph QL API

The Graph QL API from Monte Carlo — 1 operation(s) for graph ql.

Operations 1

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

POST /graphql Run a GraphQL query or mutation against Monte Carlo · GraphQL endpoint #
Ask an LLM
“How do I pull my data incidents and monitors out of Monte Carlo programmatically?”
“Can I create or update a data monitor through the API instead of the UI?”
Tell an agent
Run this GraphQL query against Monte Carlo: {query}
Execute {query} with variables {variables} to fetch my recent data incidents.

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/monte-carlo:monte-carlo-graph-ql-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

monte-carlo-graph-ql-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Monte Carlo GraphQL API
  version: v1
  description: 'Monte Carlo exposes a single GraphQL endpoint at

    `https://api.getmontecarlo.com/graphql` that backs the same operations

    used by the Monte Carlo UI.'
  contact:
    name: Monte Carlo
    url: https://docs.getmontecarlo.com/docs/api
servers:
- url: https://api.getmontecarlo.com
  description: Monte Carlo API
security:
- mcdHeaders: []
tags:
- name: Graph QL
paths:
  /graphql:
    post:
      operationId: graphql
      summary: GraphQL endpoint
      description: 'Execute a GraphQL query or mutation against Monte Carlo. Common

        operations include `getUser`, `getTables`, `getMonitor`,

        `getIncidents`, and `createOrUpdateMonitor`. To discover the exact

        operations powering a given Monte Carlo UI view, inspect the network

        requests issued by that page.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GraphQLRequest'
            examples:
              getUser:
                summary: Authenticated user
                value:
                  query: 'query { getUser { email firstName lastName } }

                    '
              getMonitors:
                summary: List monitors
                value:
                  query: "query GetMonitors($first: Int) {\n  getMonitors(first: $first) {\n    edges { node { uuid name description } }\n  }\n}\n"
                  variables:
                    first: 25
              getIncidents:
                summary: List incidents
                value:
                  query: 'query { getIncidents(first: 10) { edges { node { id title } } } }

                    '
              createOrUpdateMonitor:
                summary: Create or update a monitor
                value:
                  query: "mutation ($input: CreateOrUpdateMonitorInput!) {\n  createOrUpdateMonitor(input: $input) { monitor { uuid } }\n}\n"
                  variables:
                    input: {}
      responses:
        '200':
          description: GraphQL response (data and/or errors)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GraphQLResponse'
        '401':
          description: Missing or invalid API key headers
      tags:
      - Graph QL
components:
  schemas:
    GraphQLRequest:
      type: object
      required:
      - query
      properties:
        query:
          type: string
        variables:
          type: object
          additionalProperties: true
        operationName:
          type: string
    GraphQLResponse:
      type: object
      properties:
        data:
          type: object
          additionalProperties: true
        errors:
          type: array
          items:
            type: object
            properties:
              message:
                type: string
              path:
                type: array
                items:
                  type: string
              extensions:
                type: object
                additionalProperties: true
  securitySchemes:
    mcdHeaders:
      type: apiKey
      in: header
      name: x-mcd-id
      description: 'Monte Carlo expects two headers on each request: `x-mcd-id` (Key ID)

        and `x-mcd-token` (Secret). OpenAPI cannot represent paired header

        auth natively, so `x-mcd-token` must also be sent on every request.

        '