Scalr · Schema

Scalr Run

A Scalr run representing a single Terraform plan and/or apply execution

FinOpsGitOpsInfrastructure as CodeKubernetesOPAOpenTofuPolicyTerraform

Properties

Name Type Description
id string Unique run identifier
status string Current run status
workspace object Parent workspace reference
plan_only boolean Whether this is a plan-only run (no apply)
is_destroy boolean Whether this run destroys all managed infrastructure
message string Human-readable description of why the run was triggered
trigger_reason string What triggered this run
auto_apply boolean Whether apply was automatically triggered after plan
plan object Plan execution details
apply object Apply execution details
cost_estimate object Cost estimation results
created_at string
updated_at string
View JSON Schema on GitHub

JSON Schema

scalr-run-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/scalr/main/json-schema/scalr-run-schema.json",
  "title": "Scalr Run",
  "description": "A Scalr run representing a single Terraform plan and/or apply execution",
  "type": "object",
  "required": ["id", "status", "workspace"],
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique run identifier",
      "pattern": "^run-[a-zA-Z0-9]+$"
    },
    "status": {
      "type": "string",
      "enum": [
        "pending", "plan_queued", "planning", "planned", "cost_estimating",
        "cost_estimated", "policy_checking", "policy_override", "policy_soft_failed",
        "policy_checked", "confirmed", "apply_queued", "applying", "applied",
        "discarded", "errored", "canceled", "force_canceled"
      ],
      "description": "Current run status"
    },
    "workspace": {
      "type": "object",
      "description": "Parent workspace reference",
      "properties": {
        "id": {
          "type": "string"
        }
      }
    },
    "plan_only": {
      "type": "boolean",
      "description": "Whether this is a plan-only run (no apply)"
    },
    "is_destroy": {
      "type": "boolean",
      "description": "Whether this run destroys all managed infrastructure"
    },
    "message": {
      "type": "string",
      "description": "Human-readable description of why the run was triggered"
    },
    "trigger_reason": {
      "type": "string",
      "enum": ["manual", "vcs", "api", "schedule"],
      "description": "What triggered this run"
    },
    "auto_apply": {
      "type": "boolean",
      "description": "Whether apply was automatically triggered after plan"
    },
    "plan": {
      "type": "object",
      "description": "Plan execution details",
      "properties": {
        "id": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "resource_additions": {
          "type": "integer"
        },
        "resource_changes": {
          "type": "integer"
        },
        "resource_destructions": {
          "type": "integer"
        }
      }
    },
    "apply": {
      "type": "object",
      "description": "Apply execution details",
      "properties": {
        "id": {
          "type": "string"
        },
        "status": {
          "type": "string"
        }
      }
    },
    "cost_estimate": {
      "type": "object",
      "description": "Cost estimation results",
      "properties": {
        "proposed_monthly_cost": {
          "type": "string"
        },
        "prior_monthly_cost": {
          "type": "string"
        },
        "delta_monthly_cost": {
          "type": "string"
        }
      }
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}

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.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/scalr-run"
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 email required.

A second provider on the same verified email joins the account you already have.