{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-healthomics/json-schema/amazon-healthomics-get-run-response-schema.json",
  "title": "GetRunResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-healthomics-run-api-openapi.yml#/components/schemas/GetRunResponse",
  "type": "object",
  "properties": {
    "arn": {
      "type": "string",
      "description": "The run's ARN."
    },
    "id": {
      "type": "string",
      "description": "The run's ID."
    },
    "cacheId": {
      "type": "string",
      "description": "The run cache associated with the run."
    },
    "cacheBehavior": {
      "type": "string",
      "description": "The run cache behavior for the run."
    },
    "engineVersion": {
      "type": "string",
      "description": "The actual Nextflow engine version that Amazon Web Services HealthOmics used for the run. The other workflow definition languages don't provide a value for this field."
    },
    "status": {
      "type": "string",
      "description": "The run's status."
    },
    "workflowId": {
      "type": "string",
      "description": "The run's workflow ID."
    },
    "workflowType": {
      "type": "string",
      "description": "The run's workflow type."
    },
    "runId": {
      "type": "string",
      "description": "The run's ID."
    },
    "roleArn": {
      "type": "string",
      "description": "The run's service role ARN."
    },
    "name": {
      "type": "string",
      "description": "The run's name."
    },
    "runGroupId": {
      "type": "string",
      "description": "The run's group ID."
    },
    "batchId": {
      "type": "string",
      "description": "The run's batch ID."
    },
    "priority": {
      "type": "integer",
      "description": "The run's priority."
    },
    "definition": {
      "type": "string",
      "description": "The run's definition."
    },
    "digest": {
      "type": "string",
      "description": "The run's digest."
    },
    "parameters": {
      "type": "object",
      "description": "The run's parameters."
    },
    "storageCapacity": {
      "type": "integer",
      "description": "The run's storage capacity in gibibytes. For dynamic storage, after the run has completed, this value is the maximum amount of storage used during the run."
    },
    "outputUri": {
      "type": "string",
      "description": "The run's output URI."
    },
    "logLevel": {
      "type": "string",
      "description": "The run's log level."
    },
    "resourceDigests": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The run's resource digests."
    },
    "startedBy": {
      "type": "string",
      "description": "Who started the run."
    },
    "creationTime": {
      "type": "string",
      "format": "date-time",
      "description": "When the run was created."
    },
    "startTime": {
      "type": "string",
      "format": "date-time",
      "description": "When the run started."
    },
    "stopTime": {
      "type": "string",
      "format": "date-time",
      "description": "The run's stop time."
    },
    "statusMessage": {
      "type": "string",
      "description": "The run's status message."
    },
    "tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The run's tags."
    },
    "accelerators": {
      "type": "string",
      "description": "The computational accelerator used to run the workflow."
    },
    "retentionMode": {
      "type": "string",
      "description": "The run's retention mode."
    },
    "failureReason": {
      "type": "string",
      "description": "The reason a run has failed."
    },
    "logLocation": {
      "$ref": "#/$defs/RunLogLocation"
    },
    "uuid": {
      "type": "string",
      "description": "The universally unique identifier for a run."
    },
    "runOutputUri": {
      "type": "string",
      "description": "The destination for workflow outputs."
    },
    "storageType": {
      "type": "string",
      "description": "The run's storage type."
    },
    "workflowOwnerId": {
      "type": "string",
      "description": "The ID of the workflow owner."
    },
    "workflowVersionName": {
      "type": "string",
      "description": "The workflow version name."
    },
    "workflowUuid": {
      "type": "string",
      "description": "The universally unique identifier (UUID) value for the workflow."
    },
    "networkingMode": {
      "type": "string",
      "description": "Configuration for run networking behavior. If absent, this will default to RESTRICTED."
    },
    "scratchStorageMode": {
      "type": "string",
      "description": "Optional configuration for enabling scratch ephemeral storage mounted at /tmp. If absent, this will default to SHARED. This configuration is applicable only for CPU tasks. For tasks using GPUs, scratch storage is always LOCAL."
    },
    "configuration": {
      "$ref": "#/$defs/ConfigurationDetails"
    },
    "vpcConfig": {
      "$ref": "#/$defs/VpcConfigResponse"
    },
    "engineSettings": {
      "type": "object",
      "description": "The engine-specific settings for the workflow run."
    },
    "sessionPolicy": {
      "type": "string",
      "description": "Inline policy json for scoping down permissions via a session policy on the IAM role."
    }
  },
  "$defs": {
    "ConfigurationDetails": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "User-friendly name for the configuration."
        },
        "arn": {
          "type": "string",
          "description": "Unique resource identifier for the configuration."
        },
        "uuid": {
          "type": "string",
          "description": "Unique identifier for the configuration."
        }
      }
    },
    "RunLogLocation": {
      "type": "object",
      "properties": {
        "engineLogStream": {
          "type": "string",
          "description": "The log stream ARN for the engine log."
        },
        "runLogStream": {
          "type": "string",
          "description": "The log stream ARN for the run log."
        }
      }
    },
    "VpcConfigResponse": {
      "type": "object",
      "properties": {
        "securityGroupIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "List of security group IDs."
        },
        "subnetIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "List of subnet IDs."
        },
        "vpcId": {
          "type": "string",
          "description": "VPC ID computed from the provided subnet IDs."
        },
        "vpcOwnerAccountId": {
          "type": "string",
          "description": "The Amazon Web Services account ID of the cross-account VPC owner for RAM-shared VPC configurations."
        }
      }
    }
  }
}