{
  "name": "GetRun",
  "plane": "control",
  "terraformEligible": false,
  "protocol": {
    "kind": "rest",
    "method": "GET",
    "path": "/auth/workspaces/{workspace}/runs/{runId}",
    "query": [],
    "headers": [
      "authorization"
    ],
    "body": false
  },
  "requestBody": "explicitlyEmpty",
  "responseBody": "json",
  "requestSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "additionalProperties": false,
    "properties": {
      "runId": {
        "type": "string"
      },
      "workspace": {
        "type": "string"
      }
    },
    "required": [
      "runId",
      "workspace"
    ],
    "title": "GetRunRequest",
    "type": "object"
  },
  "responseSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "properties": {
      "cancelRequested": {
        "default": false,
        "type": "boolean"
      },
      "command": {
        "type": "string"
      },
      "pipeline": {
        "type": [
          "string",
          "null"
        ]
      },
      "runId": {
        "type": "string"
      },
      "status": {
        "type": "string"
      },
      "version": {
        "format": "int64",
        "type": "integer"
      }
    },
    "required": [
      "command",
      "runId",
      "status",
      "version"
    ],
    "title": "RunRecordResponse",
    "type": "object"
  }
}
